Sha256: 90c14f48dcec5aaa731f98450407b89be00bffb6626e51c853b0e8e5436e282c

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

module Eeml
  module Constants
#    LOCAL_EEML5_SCHEMA_LOCATION = "schemas/eeml/005.xsd" # :nodoc:
#    EEML5_HREF = "http://www.eeml.org/xsd/005"
#    EEML5_VERSION = "5"
#    EEML5_SCHEMA_LOCATION = "http://www.eeml.org/xsd/005 http://www.eeml.org/xsd/005/005.xsd"

#    EEML5_NAMESPACE = ":#{EEML5_HREF}"
    XSI_NAMESPACE = "http://www.w3.org/2001/XMLSchema-instance"

    # EEML6_VERSION = "0.6-alpha1"

    # Not calling this EEML as json is not part of the eeml spec
    # JSON_1_0_0_VERSION = "1.0.0"
    
    # EEML6_RC1_VERSION = "0.6-rc1"
    JSON_API = {}
    EEML = {}

    # This is what we called version 5
    EEML["0.5.0"] =
      {
        :href => 'http://www.eeml.org/xsd/005',
        :versions => ['5', '0.5.0'],
        :schema_location => 'http://www.eeml.org/xsd/005 http://www.eeml.org/xsd/005/005.xsd'
      }

    # This is NEWER than version 5
    EEML["0.5.1"] = 
      {
        :href => 'http://www.eeml.org/xsd/0.5.1',
        :versions => '0.5.1',
        :schema_location => 'http://www.eeml.org/xsd/0.5.1 http://www.eeml.org/xsd/0.5.1/0.5.1.xsd'
      }

    # This is NEWER than version 5
    EEML["0.5.2"] = 
      {
        :href => 'http://www.eeml.org/xsd/0.5.2',
        :versions => '0.5.2',
        :schema_location => 'http://www.eeml.org/xsd/0.5.2 http://www.eeml.org/xsd/0.5.2/0.5.2.xsd'
      }

    JSON_API["0.6-alpha"] =
      {
        :versions => ['0.6', '0.6-alpha']
      }

    JSON_API["1.0.0"] =
      {
        :versions => ['1.0.0']
      }


  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eeml-0.0.35 lib/eeml/constants.rb