annotated_models 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +43 -0
- data/History.txt +51 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +145 -0
- data/Rakefile +55 -0
- data/VERSION.yml +5 -0
- data/annotated_models.gemspec +120 -0
- data/bin/annotate +74 -0
- data/lib/annotated_models.rb +357 -0
- data/lib/tasks/annotate_models.rake +24 -0
- data/lib/tasks/migrate.rake +50 -0
- data/spec/annotate_models_spec.rb +236 -0
- data/spec/spec_helper.rb +12 -0
- data/todo.txt +4 -0
- metadata +346 -0
metadata
ADDED
@@ -0,0 +1,346 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: annotated_models
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 3
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
version: 3.0.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Dave Thomas
|
13
|
+
- Alex Chaffee
|
14
|
+
- Cuong Tran
|
15
|
+
- Alex Chaffee
|
16
|
+
- Dmitry Lihachev
|
17
|
+
autorequire:
|
18
|
+
bindir: bin
|
19
|
+
cert_chain: []
|
20
|
+
|
21
|
+
date: 2011-02-22 00:00:00 +06:00
|
22
|
+
default_executable: annotate
|
23
|
+
dependencies:
|
24
|
+
- !ruby/object:Gem::Dependency
|
25
|
+
name: annotated_models
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
version: "0"
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: rspec
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
version: "0"
|
47
|
+
type: :development
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: bundler
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
segments:
|
58
|
+
- 0
|
59
|
+
version: "0"
|
60
|
+
type: :development
|
61
|
+
prerelease: false
|
62
|
+
version_requirements: *id003
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: jeweler
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
segments:
|
71
|
+
- 0
|
72
|
+
version: "0"
|
73
|
+
type: :development
|
74
|
+
prerelease: false
|
75
|
+
version_requirements: *id004
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: rcov
|
78
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
segments:
|
84
|
+
- 0
|
85
|
+
version: "0"
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: *id005
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: fakefs
|
91
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
segments:
|
97
|
+
- 0
|
98
|
+
version: "0"
|
99
|
+
type: :development
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *id006
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: activesupport
|
104
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
segments:
|
110
|
+
- 0
|
111
|
+
version: "0"
|
112
|
+
type: :development
|
113
|
+
prerelease: false
|
114
|
+
version_requirements: *id007
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: i18n
|
117
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
118
|
+
none: false
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
segments:
|
123
|
+
- 0
|
124
|
+
version: "0"
|
125
|
+
type: :development
|
126
|
+
prerelease: false
|
127
|
+
version_requirements: *id008
|
128
|
+
- !ruby/object:Gem::Dependency
|
129
|
+
name: bundler
|
130
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
131
|
+
none: false
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
segments:
|
136
|
+
- 0
|
137
|
+
version: "0"
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: *id009
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: jeweler
|
143
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
144
|
+
none: false
|
145
|
+
requirements:
|
146
|
+
- - ">="
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
segments:
|
149
|
+
- 0
|
150
|
+
version: "0"
|
151
|
+
type: :development
|
152
|
+
prerelease: false
|
153
|
+
version_requirements: *id010
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: rcov
|
156
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
157
|
+
none: false
|
158
|
+
requirements:
|
159
|
+
- - ">="
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
segments:
|
162
|
+
- 0
|
163
|
+
version: "0"
|
164
|
+
type: :development
|
165
|
+
prerelease: false
|
166
|
+
version_requirements: *id011
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: fakefs
|
169
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
170
|
+
none: false
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
segments:
|
175
|
+
- 0
|
176
|
+
version: "0"
|
177
|
+
type: :development
|
178
|
+
prerelease: false
|
179
|
+
version_requirements: *id012
|
180
|
+
- !ruby/object:Gem::Dependency
|
181
|
+
name: rspec
|
182
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
183
|
+
none: false
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
segments:
|
188
|
+
- 0
|
189
|
+
version: "0"
|
190
|
+
type: :development
|
191
|
+
prerelease: false
|
192
|
+
version_requirements: *id013
|
193
|
+
- !ruby/object:Gem::Dependency
|
194
|
+
name: bundler
|
195
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
196
|
+
none: false
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
segments:
|
201
|
+
- 0
|
202
|
+
version: "0"
|
203
|
+
type: :development
|
204
|
+
prerelease: false
|
205
|
+
version_requirements: *id014
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: jeweler
|
208
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ">="
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
segments:
|
214
|
+
- 0
|
215
|
+
version: "0"
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: *id015
|
219
|
+
- !ruby/object:Gem::Dependency
|
220
|
+
name: rcov
|
221
|
+
requirement: &id016 !ruby/object:Gem::Requirement
|
222
|
+
none: false
|
223
|
+
requirements:
|
224
|
+
- - ">="
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
segments:
|
227
|
+
- 0
|
228
|
+
version: "0"
|
229
|
+
type: :development
|
230
|
+
prerelease: false
|
231
|
+
version_requirements: *id016
|
232
|
+
- !ruby/object:Gem::Dependency
|
233
|
+
name: fakefs
|
234
|
+
requirement: &id017 !ruby/object:Gem::Requirement
|
235
|
+
none: false
|
236
|
+
requirements:
|
237
|
+
- - ">="
|
238
|
+
- !ruby/object:Gem::Version
|
239
|
+
segments:
|
240
|
+
- 0
|
241
|
+
version: "0"
|
242
|
+
type: :development
|
243
|
+
prerelease: false
|
244
|
+
version_requirements: *id017
|
245
|
+
- !ruby/object:Gem::Dependency
|
246
|
+
name: rspec
|
247
|
+
requirement: &id018 !ruby/object:Gem::Requirement
|
248
|
+
none: false
|
249
|
+
requirements:
|
250
|
+
- - ">="
|
251
|
+
- !ruby/object:Gem::Version
|
252
|
+
segments:
|
253
|
+
- 0
|
254
|
+
version: "0"
|
255
|
+
type: :development
|
256
|
+
prerelease: false
|
257
|
+
version_requirements: *id018
|
258
|
+
- !ruby/object:Gem::Dependency
|
259
|
+
name: activesupport
|
260
|
+
requirement: &id019 !ruby/object:Gem::Requirement
|
261
|
+
none: false
|
262
|
+
requirements:
|
263
|
+
- - ">="
|
264
|
+
- !ruby/object:Gem::Version
|
265
|
+
segments:
|
266
|
+
- 0
|
267
|
+
version: "0"
|
268
|
+
type: :runtime
|
269
|
+
prerelease: false
|
270
|
+
version_requirements: *id019
|
271
|
+
- !ruby/object:Gem::Dependency
|
272
|
+
name: i18n
|
273
|
+
requirement: &id020 !ruby/object:Gem::Requirement
|
274
|
+
none: false
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
segments:
|
279
|
+
- 0
|
280
|
+
version: "0"
|
281
|
+
type: :runtime
|
282
|
+
prerelease: false
|
283
|
+
version_requirements: *id020
|
284
|
+
description: Add a comment summarizing the current schema to the top or bottom of each of your models
|
285
|
+
email: lda@openteam.ru
|
286
|
+
executables:
|
287
|
+
- annotate
|
288
|
+
extensions: []
|
289
|
+
|
290
|
+
extra_rdoc_files:
|
291
|
+
- LICENSE.txt
|
292
|
+
- README.rdoc
|
293
|
+
files:
|
294
|
+
- .document
|
295
|
+
- .rspec
|
296
|
+
- Gemfile
|
297
|
+
- Gemfile.lock
|
298
|
+
- History.txt
|
299
|
+
- LICENSE.txt
|
300
|
+
- README.rdoc
|
301
|
+
- Rakefile
|
302
|
+
- VERSION.yml
|
303
|
+
- annotated_models.gemspec
|
304
|
+
- bin/annotate
|
305
|
+
- lib/annotated_models.rb
|
306
|
+
- lib/tasks/annotate_models.rake
|
307
|
+
- lib/tasks/migrate.rake
|
308
|
+
- spec/annotate_models_spec.rb
|
309
|
+
- spec/spec_helper.rb
|
310
|
+
- todo.txt
|
311
|
+
has_rdoc: true
|
312
|
+
homepage: http://github.com/lda/annotated_models
|
313
|
+
licenses:
|
314
|
+
- MIT
|
315
|
+
post_install_message:
|
316
|
+
rdoc_options: []
|
317
|
+
|
318
|
+
require_paths:
|
319
|
+
- lib
|
320
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
321
|
+
none: false
|
322
|
+
requirements:
|
323
|
+
- - ">="
|
324
|
+
- !ruby/object:Gem::Version
|
325
|
+
hash: 4264369419501112863
|
326
|
+
segments:
|
327
|
+
- 0
|
328
|
+
version: "0"
|
329
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
330
|
+
none: false
|
331
|
+
requirements:
|
332
|
+
- - ">="
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
segments:
|
335
|
+
- 0
|
336
|
+
version: "0"
|
337
|
+
requirements: []
|
338
|
+
|
339
|
+
rubyforge_project:
|
340
|
+
rubygems_version: 1.3.7
|
341
|
+
signing_key:
|
342
|
+
specification_version: 3
|
343
|
+
summary: Annotate ActiveRecord models as a gem
|
344
|
+
test_files:
|
345
|
+
- spec/annotate_models_spec.rb
|
346
|
+
- spec/spec_helper.rb
|