code: def make_ring_dicts(**kwargs):
      
      library_yamlfile = kwargs.get('library', 'models/library.yaml')
      gmm = kwargs.get('GalpropMapManager', GalpropMapManager(**kwargs))
      if library_yamlfile is None or library_yamlfile == 'None':
          return gmm
      diffuse_comps = DiffuseModelManager.read_diffuse_component_yaml(library_yamlfile)
      for diffuse_value in diffuse_comps.values():
          if diffuse_value is None:
              continue
          if diffuse_value['model_type'] != 'galprop_rings':
              continue
          versions = diffuse_value['versions']
          for version in versions:
              gmm.make_ring_dict(version)
      return gmm
docs: Build and return the information about the Galprop rings