rails_admin_mongoid_localize_filed 0.1.1 → 0.1.2b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e0e527ba86d4145addeff94301f1c9ab8514a1f
|
|
4
|
+
data.tar.gz: b5a127367307a4c61c7c5eb90102e2fabc846f12
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 56585e01ab56d1e0062e01326bec05df404dea31d77fc2ff5ed850f48a6bfece4c12ee455d0b109ebe2a3887008ac4e251865d9edf3231fac74e14bd076db7a6
|
|
7
|
+
data.tar.gz: 4fe55860aed3860744ee9fb071fed490bfeb3d06df5130568e07e24ee5cdc896e2a524432451c11e04020abc87f5458be8193847b845b121081c87062a56924f
|
|
@@ -14,11 +14,11 @@ module RegisterInstances
|
|
|
14
14
|
included do
|
|
15
15
|
|
|
16
16
|
register_instance_option :translations_field do
|
|
17
|
-
name.to_s + '_translations'
|
|
17
|
+
(name.to_s + '_translations').to_sym
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
register_instance_option :localized? do
|
|
21
|
-
|
|
21
|
+
@abstract_model.model_name.constantize.public_instance_methods.include?(translations_field)
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
register_instance_option :tabbed do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_admin_mongoid_localize_filed
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2b
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Oleg Popadiuk
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-01-
|
|
12
|
+
date: 2014-01-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -93,7 +93,10 @@ homepage: https://github.com/sudosu/rails_admin_mongoid_localize_filed
|
|
|
93
93
|
licenses:
|
|
94
94
|
- MIT
|
|
95
95
|
metadata: {}
|
|
96
|
-
post_install_message:
|
|
96
|
+
post_install_message: |2
|
|
97
|
+
! The 'rails_admin_mongoid_localize_filed' gem has been renamed and has been replaced by 'rails_admin_mongoid_localize_filed'.
|
|
98
|
+
! This because of typo in last word of the gem's name. Sorry for that.
|
|
99
|
+
! See: https://rubygems.org/gems/rails_admin_mongoid_localize_field
|
|
97
100
|
rdoc_options: []
|
|
98
101
|
require_paths:
|
|
99
102
|
- lib
|
|
@@ -104,9 +107,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
104
107
|
version: '0'
|
|
105
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
109
|
requirements:
|
|
107
|
-
- - '
|
|
110
|
+
- - '>'
|
|
108
111
|
- !ruby/object:Gem::Version
|
|
109
|
-
version:
|
|
112
|
+
version: 1.3.1
|
|
110
113
|
requirements: []
|
|
111
114
|
rubyforge_project:
|
|
112
115
|
rubygems_version: 2.1.11
|