modalh 1.1.7 → 1.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/h/active_record_extensions.rb +1 -1
- data/modalh.gemspec +8 -9
- metadata +104 -100
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.8
|
@@ -19,7 +19,7 @@ module H
|
|
19
19
|
|
20
20
|
class_eval do
|
21
21
|
|
22
|
-
if columns.detect{|c| c.name == actual_attr.to_s}
|
22
|
+
if table_exists? && columns.detect{|c| c.name == actual_attr.to_s}
|
23
23
|
validates_each actual_attr do |record, attr_name, value|
|
24
24
|
if attr_name.to_s==actual_attr.to_s && record.send(:"#{attr}_h_invalid?")
|
25
25
|
record.errors.add :"#{attr}_h"
|
data/modalh.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "1.1.
|
7
|
+
s.name = "modalh"
|
8
|
+
s.version = "1.1.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Javier Goizueta"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2012-10-24"
|
13
|
+
s.description = "Rails plugin for localization & delocalization of data values"
|
14
|
+
s.email = "jgoizueta@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
17
|
"README.rdoc"
|
@@ -34,14 +34,13 @@ Gem::Specification.new do |s|
|
|
34
34
|
"test/helper.rb",
|
35
35
|
"test/test_modalh.rb"
|
36
36
|
]
|
37
|
-
s.homepage =
|
37
|
+
s.homepage = "http://github.com/jgoizueta/modalh"
|
38
38
|
s.licenses = ["MIT"]
|
39
39
|
s.require_paths = ["lib"]
|
40
|
-
s.rubygems_version =
|
41
|
-
s.summary =
|
40
|
+
s.rubygems_version = "1.8.23"
|
41
|
+
s.summary = "Rails plugin for localization & delocalization"
|
42
42
|
|
43
43
|
if s.respond_to? :specification_version then
|
44
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
45
44
|
s.specification_version = 3
|
46
45
|
|
47
46
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
metadata
CHANGED
@@ -1,126 +1,136 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: modalh
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 1
|
8
|
-
- 7
|
9
|
-
version: 1.1.7
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.8
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Javier Goizueta
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-10-24 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: units-system
|
22
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
23
17
|
none: false
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
- 0
|
29
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
30
22
|
type: :runtime
|
31
23
|
prerelease: false
|
32
|
-
version_requirements:
|
33
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
34
31
|
name: shoulda
|
35
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
36
33
|
none: false
|
37
|
-
requirements:
|
38
|
-
- -
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
|
41
|
-
- 0
|
42
|
-
version: "0"
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
43
38
|
type: :development
|
44
39
|
prerelease: false
|
45
|
-
version_requirements:
|
46
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
47
|
name: rdoc
|
48
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
49
|
none: false
|
50
|
-
requirements:
|
50
|
+
requirements:
|
51
51
|
- - ~>
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
|
54
|
-
- 3
|
55
|
-
- 12
|
56
|
-
version: "3.12"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '3.12'
|
57
54
|
type: :development
|
58
55
|
prerelease: false
|
59
|
-
version_requirements:
|
60
|
-
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.12'
|
62
|
+
- !ruby/object:Gem::Dependency
|
61
63
|
name: bundler
|
62
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
63
65
|
none: false
|
64
|
-
requirements:
|
66
|
+
requirements:
|
65
67
|
- - ~>
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
|
68
|
-
- 1
|
69
|
-
version: "1"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '1'
|
70
70
|
type: :development
|
71
71
|
prerelease: false
|
72
|
-
version_requirements:
|
73
|
-
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '1'
|
78
|
+
- !ruby/object:Gem::Dependency
|
74
79
|
name: jeweler
|
75
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
76
81
|
none: false
|
77
|
-
requirements:
|
82
|
+
requirements:
|
78
83
|
- - ~>
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
segments:
|
81
|
-
- 1
|
82
|
-
- 8
|
83
|
-
- 3
|
84
|
+
- !ruby/object:Gem::Version
|
84
85
|
version: 1.8.3
|
85
86
|
type: :development
|
86
87
|
prerelease: false
|
87
|
-
version_requirements:
|
88
|
-
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 1.8.3
|
94
|
+
- !ruby/object:Gem::Dependency
|
89
95
|
name: activesupport
|
90
|
-
requirement:
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
91
97
|
none: false
|
92
|
-
requirements:
|
93
|
-
- -
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
|
96
|
-
- 0
|
97
|
-
version: "0"
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
98
102
|
type: :development
|
99
103
|
prerelease: false
|
100
|
-
version_requirements:
|
101
|
-
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
102
111
|
name: i18n
|
103
|
-
requirement:
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
104
113
|
none: false
|
105
|
-
requirements:
|
106
|
-
- -
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
|
109
|
-
- 0
|
110
|
-
version: "0"
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
111
118
|
type: :development
|
112
119
|
prerelease: false
|
113
|
-
version_requirements:
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
114
126
|
description: Rails plugin for localization & delocalization of data values
|
115
127
|
email: jgoizueta@gmail.com
|
116
128
|
executables: []
|
117
|
-
|
118
129
|
extensions: []
|
119
|
-
|
120
|
-
extra_rdoc_files:
|
130
|
+
extra_rdoc_files:
|
121
131
|
- LICENSE.txt
|
122
132
|
- README.rdoc
|
123
|
-
files:
|
133
|
+
files:
|
124
134
|
- .document
|
125
135
|
- Gemfile
|
126
136
|
- Gemfile.lock
|
@@ -137,38 +147,32 @@ files:
|
|
137
147
|
- modalh.gemspec
|
138
148
|
- test/helper.rb
|
139
149
|
- test/test_modalh.rb
|
140
|
-
has_rdoc: true
|
141
150
|
homepage: http://github.com/jgoizueta/modalh
|
142
|
-
licenses:
|
151
|
+
licenses:
|
143
152
|
- MIT
|
144
153
|
post_install_message:
|
145
154
|
rdoc_options: []
|
146
|
-
|
147
|
-
require_paths:
|
155
|
+
require_paths:
|
148
156
|
- lib
|
149
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
157
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
150
158
|
none: false
|
151
|
-
requirements:
|
152
|
-
- -
|
153
|
-
- !ruby/object:Gem::Version
|
154
|
-
|
155
|
-
segments:
|
159
|
+
requirements:
|
160
|
+
- - ! '>='
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '0'
|
163
|
+
segments:
|
156
164
|
- 0
|
157
|
-
|
158
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
|
+
hash: -893936164284635566
|
166
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
167
|
none: false
|
160
|
-
requirements:
|
161
|
-
- -
|
162
|
-
- !ruby/object:Gem::Version
|
163
|
-
|
164
|
-
- 0
|
165
|
-
version: "0"
|
168
|
+
requirements:
|
169
|
+
- - ! '>='
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0'
|
166
172
|
requirements: []
|
167
|
-
|
168
173
|
rubyforge_project:
|
169
|
-
rubygems_version: 1.
|
174
|
+
rubygems_version: 1.8.23
|
170
175
|
signing_key:
|
171
176
|
specification_version: 3
|
172
177
|
summary: Rails plugin for localization & delocalization
|
173
178
|
test_files: []
|
174
|
-
|