rails_admin_globalize_field 0.3.0 → 0.3.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: 0d82bc91b1dd15c273b5ad94992e73fe84727ac7
4
- data.tar.gz: d6a33c0602ec69e2e834968680ae506b228019f2
3
+ metadata.gz: caa756da5d955d39baeae1b822446fd0a5c757c3
4
+ data.tar.gz: 3d8a4780432d211ddf8099be9fc7aebdf3b01188
5
5
  SHA512:
6
- metadata.gz: 96c391c828ef19e44b1c865e3fc0899d406e14f388631f5a4f60a8c11b344b1b0284b92d3881983f13835e93d68b2670e0ba64149d62f45dc340f6dc0289d18c
7
- data.tar.gz: 0f7c9aa056831121efff474a6988226089be4e89ebc811f3f720f4511f7c961ea7c90da9b8888aa38c4ba35569e3b0771cf28fa950433f9896126a4da0c7a6dd
6
+ metadata.gz: c18521dad54e3361e86fa6932a1be75e8e15db599c4a4d29fe88eb2b680db118e418f90fc0d03c170cf12340e000b71c8caedb0883db26959eda3a87cc7a1f9d
7
+ data.tar.gz: 6346891d5eda3f547f49907033493d9cfeb4cb815e43d4499250aa2cc3e4a0447cf7a57de3775111a585d04dea3c95f5bfc555973e1de3bb2b78de2da7236b6d
@@ -10,7 +10,7 @@ module RailsAdmin
10
10
 
11
11
  # A workaround for https://github.com/sferik/rails_admin/pull/1726
12
12
  def initialize(parent, name, properties)
13
- properties = parent.abstract_model.associations.detect { |p| name == p[:name] }
13
+ properties = parent.abstract_model.associations.detect { |p| name == p.name }
14
14
  super
15
15
  end
16
16
 
@@ -1,3 +1,3 @@
1
1
  module RailsAdminGlobalizeField
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -18,9 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- # TODO: test on earlier versions
22
21
  spec.add_runtime_dependency "rails", ">= 4.0"
23
- spec.add_runtime_dependency 'rails_admin', '>= 0.5'
22
+ spec.add_runtime_dependency 'rails_admin', '>= 0.6.2'
24
23
 
25
24
  # TODO: uncomment later, when globalize3 rails4 branch would be commited to rubygems
26
25
  spec.add_runtime_dependency 'globalize', '>= 4.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_globalize_field
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Volozhanin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-03 00:00:00.000000000 Z
11
+ date: 2014-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0.5'
33
+ version: 0.6.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0.5'
40
+ version: 0.6.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: globalize
43
43
  requirement: !ruby/object:Gem::Requirement