modalfields 1.5.6 → 1.5.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/modalfields/modalfields.rb +3 -1
- data/modalfields.gemspec +8 -8
- metadata +153 -158
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.
|
1
|
+
1.5.7
|
@@ -493,7 +493,9 @@ module ModalFields
|
|
493
493
|
models = []
|
494
494
|
files = {}
|
495
495
|
model_dirs.each do |base|
|
496
|
-
|
496
|
+
# TODO: look also in subdirectories ('**/*.rb') but then
|
497
|
+
# the relative path must be used to qualify the constant name (/x/y.rb => X::Y)
|
498
|
+
Dir.glob(File.join(base,"*.rb")).each do |fn|
|
497
499
|
model = File.basename(fn).chomp(".rb").camelize.constantize
|
498
500
|
models << model
|
499
501
|
files[model.to_s] = fn
|
data/modalfields.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.5.
|
7
|
+
s.name = "modalfields"
|
8
|
+
s.version = "1.5.7"
|
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 = "2013-09-10"
|
13
|
+
s.description = "ModelFields is a Rails plugin that adds fields declarations to your models."
|
14
|
+
s.email = "jgoizueta@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
17
|
"README.rdoc",
|
@@ -57,11 +57,11 @@ Gem::Specification.new do |s|
|
|
57
57
|
"test/test_diff.rb",
|
58
58
|
"test/test_update.rb"
|
59
59
|
]
|
60
|
-
s.homepage =
|
60
|
+
s.homepage = "http://github.com/jgoizueta/modalfields"
|
61
61
|
s.licenses = ["MIT"]
|
62
62
|
s.require_paths = ["lib"]
|
63
|
-
s.rubygems_version =
|
64
|
-
s.summary =
|
63
|
+
s.rubygems_version = "1.8.23"
|
64
|
+
s.summary = "Model annotator with Ruby (Hobo-like) syntax and hooks."
|
65
65
|
|
66
66
|
if s.respond_to? :specification_version then
|
67
67
|
s.specification_version = 3
|
metadata
CHANGED
@@ -1,183 +1,185 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: modalfields
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.5.7
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 5
|
9
|
-
- 6
|
10
|
-
version: 1.5.6
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Javier Goizueta
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
|
-
none: false
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
hash: 3
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
version: "0"
|
31
|
-
type: :runtime
|
32
|
-
requirement: *id001
|
12
|
+
date: 2013-09-10 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
33
15
|
name: modalsettings
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
34
23
|
prerelease: false
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
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
|
31
|
+
name: activesupport
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
46
37
|
version: 2.3.5
|
47
38
|
type: :runtime
|
48
|
-
requirement: *id002
|
49
|
-
name: activesupport
|
50
39
|
prerelease: false
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
hash: 9
|
58
|
-
segments:
|
59
|
-
- 2
|
60
|
-
- 3
|
61
|
-
- 5
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
62
45
|
version: 2.3.5
|
63
|
-
|
64
|
-
requirement: *id003
|
46
|
+
- !ruby/object:Gem::Dependency
|
65
47
|
name: activerecord
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 2.3.5
|
54
|
+
type: :runtime
|
66
55
|
prerelease: false
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
segments:
|
75
|
-
- 0
|
76
|
-
version: "0"
|
77
|
-
type: :development
|
78
|
-
requirement: *id004
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.3.5
|
62
|
+
- !ruby/object:Gem::Dependency
|
79
63
|
name: shoulda
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
80
71
|
prerelease: false
|
81
|
-
|
82
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
83
73
|
none: false
|
84
|
-
requirements:
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: rdoc
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
85
83
|
- - ~>
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
|
88
|
-
segments:
|
89
|
-
- 3
|
90
|
-
- 12
|
91
|
-
version: "3.12"
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '3.12'
|
92
86
|
type: :development
|
93
|
-
requirement: *id005
|
94
|
-
name: rdoc
|
95
87
|
prerelease: false
|
96
|
-
|
97
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
98
89
|
none: false
|
99
|
-
requirements:
|
90
|
+
requirements:
|
100
91
|
- - ~>
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
|
103
|
-
|
104
|
-
- 1
|
105
|
-
version: "1"
|
106
|
-
type: :development
|
107
|
-
requirement: *id006
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '3.12'
|
94
|
+
- !ruby/object:Gem::Dependency
|
108
95
|
name: bundler
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '1'
|
102
|
+
type: :development
|
109
103
|
prerelease: false
|
110
|
-
|
111
|
-
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: jeweler
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
112
113
|
none: false
|
113
|
-
requirements:
|
114
|
+
requirements:
|
114
115
|
- - ~>
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
hash: 49
|
117
|
-
segments:
|
118
|
-
- 1
|
119
|
-
- 8
|
120
|
-
- 3
|
116
|
+
- !ruby/object:Gem::Version
|
121
117
|
version: 1.8.3
|
122
118
|
type: :development
|
123
|
-
requirement: *id007
|
124
|
-
name: jeweler
|
125
119
|
prerelease: false
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
segments:
|
134
|
-
- 0
|
135
|
-
version: "0"
|
136
|
-
type: :development
|
137
|
-
requirement: *id008
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 1.8.3
|
126
|
+
- !ruby/object:Gem::Dependency
|
138
127
|
name: sqlite3
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
hash: 3
|
147
|
-
segments:
|
148
|
-
- 0
|
149
|
-
version: "0"
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
150
134
|
type: :development
|
151
|
-
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
152
143
|
name: pg
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
type: :development
|
153
151
|
prerelease: false
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: rails
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
165
|
version: 2.3.0
|
166
166
|
type: :runtime
|
167
|
-
requirement: *id010
|
168
|
-
name: rails
|
169
167
|
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 2.3.0
|
170
174
|
description: ModelFields is a Rails plugin that adds fields declarations to your models.
|
171
175
|
email: jgoizueta@gmail.com
|
172
176
|
executables: []
|
173
|
-
|
174
177
|
extensions: []
|
175
|
-
|
176
|
-
extra_rdoc_files:
|
178
|
+
extra_rdoc_files:
|
177
179
|
- LICENSE.txt
|
178
180
|
- README.rdoc
|
179
181
|
- TODO
|
180
|
-
files:
|
182
|
+
files:
|
181
183
|
- .document
|
182
184
|
- Gemfile
|
183
185
|
- Gemfile.lock
|
@@ -216,39 +218,32 @@ files:
|
|
216
218
|
- test/schema.rb
|
217
219
|
- test/test_diff.rb
|
218
220
|
- test/test_update.rb
|
219
|
-
has_rdoc: true
|
220
221
|
homepage: http://github.com/jgoizueta/modalfields
|
221
|
-
licenses:
|
222
|
+
licenses:
|
222
223
|
- MIT
|
223
224
|
post_install_message:
|
224
225
|
rdoc_options: []
|
225
|
-
|
226
|
-
require_paths:
|
226
|
+
require_paths:
|
227
227
|
- lib
|
228
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
228
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
229
229
|
none: false
|
230
|
-
requirements:
|
231
|
-
- -
|
232
|
-
- !ruby/object:Gem::Version
|
233
|
-
|
234
|
-
segments:
|
230
|
+
requirements:
|
231
|
+
- - ! '>='
|
232
|
+
- !ruby/object:Gem::Version
|
233
|
+
version: '0'
|
234
|
+
segments:
|
235
235
|
- 0
|
236
|
-
|
237
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
236
|
+
hash: 3211460596259879660
|
237
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
238
|
none: false
|
239
|
-
requirements:
|
240
|
-
- -
|
241
|
-
- !ruby/object:Gem::Version
|
242
|
-
|
243
|
-
segments:
|
244
|
-
- 0
|
245
|
-
version: "0"
|
239
|
+
requirements:
|
240
|
+
- - ! '>='
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: '0'
|
246
243
|
requirements: []
|
247
|
-
|
248
244
|
rubyforge_project:
|
249
|
-
rubygems_version: 1.
|
245
|
+
rubygems_version: 1.8.23
|
250
246
|
signing_key:
|
251
247
|
specification_version: 3
|
252
248
|
summary: Model annotator with Ruby (Hobo-like) syntax and hooks.
|
253
249
|
test_files: []
|
254
|
-
|