api_schema 0.2.2 → 0.2.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 759b1621326cb4e389d1d206caa8b46bdaca8ab5
4
- data.tar.gz: 77d40d48136c9cc920b7144f8c0c14f5aa477456
3
+ metadata.gz: 3358bdecaec39f6472c13ae3e3fd1ea154ec2a0d
4
+ data.tar.gz: a79b3e5828f4ab3fc5149b755967668339ee4329
5
5
  SHA512:
6
- metadata.gz: da31dd7f8468d0837dbf581d8076ae54f48ba3e834b74507a48d224d1994f9d6c4b1b7b03cb42072bb629b9444334326a8a3d493c929c64b002e73e2f63cc18b
7
- data.tar.gz: 02e0d8027769603ed3ec147d14c03750bd8abe001bbd69dd617ed110f62a549c76437377cac98c04273e0955d5f9a601e3e928df132905b2a5e8dee0ea959e0b
6
+ metadata.gz: ae92521c717add88eba74d5287f00d6ba493e53b1237e06ddfd0a678e10024a0e86ad4b9f5c86d685f0d3766dc3b743df115c546c41bba5313d34d2d73d27c07
7
+ data.tar.gz: 7bf634c99b23adfcb1ebf2c7809b26dcb8b8e760c5f050f669e932d196a4aa4fa8877d0c01fe82d423b05b40247125a90455b89b23c5a814046ca0c56b82e494
@@ -56,7 +56,7 @@ module ApiSchema
56
56
  end
57
57
 
58
58
  def imported_version(import)
59
- "#{import.name.capitalize}::#{import.version.capitalize}::BaseDocs".constantize.api_version
59
+ "#{import.name.capitalize}::#{import.api_version.capitalize}::BaseDocs".constantize.api_version
60
60
  end
61
61
 
62
62
  def add_errors(key, object)
@@ -16,9 +16,9 @@ module ApiSchema
16
16
  @version_serializers = {}
17
17
  end
18
18
 
19
- def import_serializers_from(name, version)
19
+ def import_serializers_from(name, api_version)
20
20
  @api_version.imported_versions << OpenStruct.new(name: name,
21
- version: version)
21
+ api_version: api_version)
22
22
  end
23
23
 
24
24
  def api_version
@@ -1,3 +1,3 @@
1
1
  module ApiSchema
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Chopey