h2ocube_rails_development 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +5 -1
- data/h2ocube_rails_development.gemspec +2 -1
- data/lib/h2ocube_rails_development.rb +12 -5
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf34a2775ea9a1444e44f4efbc68b8ec5e25560d
|
4
|
+
data.tar.gz: 3605ce56dc38c89a96fdc97baefc89128de658a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45064095b55a4673bdef264e77d2818f65f9edab031723fe7aac7d3af3d999fab8abd6ea30079723208286a493a1f0747b96d317a95159adba7b8bdab46c7fb6
|
7
|
+
data.tar.gz: dbe56102d05750d1f1c3f790f4c5ff715d67607d1946df173eb889d0a23f07de1b707099c3abcc3cc36ade620be81cdfe99969e299a5d38d06567674d0252b96
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -20,7 +20,10 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
|
23
|
+
$ rake annotate # => annotate all your models, tests, fixtures, factories and routes
|
24
|
+
$ rake annotate:remove # => remove all annotated comments
|
25
|
+
|
26
|
+
more details see below
|
24
27
|
|
25
28
|
## Include
|
26
29
|
|
@@ -36,6 +39,7 @@ see include gems below :p
|
|
36
39
|
* capistrano-rails https://github.com/capistrano/rails
|
37
40
|
* vendorer https://github.com/grosser/vendorer
|
38
41
|
* spring https://github.com/rails/spring
|
42
|
+
* annotate https://github.com/ctran/annotate_models
|
39
43
|
|
40
44
|
## Contributing
|
41
45
|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'h2ocube_rails_development'
|
7
|
-
spec.version = '0.1.
|
7
|
+
spec.version = '0.1.2'
|
8
8
|
spec.authors = ['Ben']
|
9
9
|
spec.email = ['ben@zfben.com']
|
10
10
|
spec.description = %q{Just a collection for development gems}
|
@@ -29,4 +29,5 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_dependency 'capistrano-bundler'
|
30
30
|
spec.add_dependency 'capistrano-rails'
|
31
31
|
spec.add_dependency 'spring'
|
32
|
+
spec.add_dependency 'annotate'
|
32
33
|
end
|
@@ -1,11 +1,18 @@
|
|
1
|
-
%w(pry-rails pry-remote better_errors binding_of_caller meta_request).each{ |gem| require gem }
|
2
|
-
|
1
|
+
%w(pry-rails pry-remote better_errors binding_of_caller meta_request annotate).each{ |gem| require gem }
|
3
2
|
|
4
3
|
module H2ocubeRailsDevelopment
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
class Railtie < Rails::Railtie
|
5
|
+
railtie_name :h2ocube_rails_development
|
6
|
+
|
7
|
+
rake_tasks do
|
8
|
+
desc 'annotate all your models, tests, fixtures, factories and routes'
|
9
|
+
task :annotate do
|
10
|
+
system 'bundle exec annotate -i;bundle exec annotate -r'
|
11
|
+
end
|
8
12
|
|
13
|
+
desc 'remove all annotated comments'
|
14
|
+
task 'annotate:remove' do
|
15
|
+
system 'bundle exec annotate -d;bundle exec annotate -r -d'
|
9
16
|
end
|
10
17
|
end
|
11
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: h2ocube_rails_development
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry-rails
|
@@ -178,6 +178,20 @@ dependencies:
|
|
178
178
|
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: annotate
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
181
195
|
description: Just a collection for development gems
|
182
196
|
email:
|
183
197
|
- ben@zfben.com
|
@@ -217,3 +231,4 @@ signing_key:
|
|
217
231
|
specification_version: 4
|
218
232
|
summary: Just a collection for development gems
|
219
233
|
test_files: []
|
234
|
+
has_rdoc:
|