bently 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. data/README.md +7 -4
  2. data/lib/bently/core_ext/method.rb +95 -0
  3. data/lib/bently/recipe/action-mailer.rb +4 -42
  4. data/lib/bently/recipe/active_admin.rb +15 -0
  5. data/lib/bently/recipe/acts-as-taggable-on.rb +18 -0
  6. data/lib/bently/recipe/better-errors.rb +16 -0
  7. data/lib/bently/recipe/cancan.rb +21 -0
  8. data/lib/bently/recipe/carrierwave.rb +34 -0
  9. data/lib/bently/recipe/cucumber-rails.rb +1 -1
  10. data/lib/bently/recipe/delayed-job-active-record.rb +18 -0
  11. data/lib/bently/recipe/delayed-job-mongoid.rb +16 -0
  12. data/lib/bently/recipe/devise.rb +1 -1
  13. data/lib/bently/recipe/factory-girl-rails.rb +2 -22
  14. data/lib/bently/recipe/foreman-thin.rb +1 -1
  15. data/lib/bently/recipe/foreman.rb +1 -1
  16. data/lib/bently/recipe/formtastic.rb +16 -0
  17. data/lib/bently/recipe/gitignore-emacs.rb +1 -18
  18. data/lib/bently/recipe/gitignore-linux.rb +1 -9
  19. data/lib/bently/recipe/gitignore-osx.rb +1 -18
  20. data/lib/bently/recipe/gitignore-rails.rb +1 -24
  21. data/lib/bently/recipe/gitignore-ruby.rb +1 -24
  22. data/lib/bently/recipe/gitignore-rubymine.rb +1 -7
  23. data/lib/bently/recipe/gitignore-sass.rb +1 -9
  24. data/lib/bently/recipe/gitignore-sublime-text.rb +1 -8
  25. data/lib/bently/recipe/gitignore-textmate.rb +1 -9
  26. data/lib/bently/recipe/gitignore-vim.rb +1 -11
  27. data/lib/bently/recipe/gitignore-windows.rb +1 -15
  28. data/lib/bently/recipe/guard-coffeescript.rb +18 -0
  29. data/lib/bently/recipe/guard-cucumber.rb +18 -0
  30. data/lib/bently/recipe/guard-minitest.rb +18 -0
  31. data/lib/bently/recipe/guard-rails.rb +18 -0
  32. data/lib/bently/recipe/guard-rspec.rb +18 -0
  33. data/lib/bently/recipe/guard-spork.rb +18 -0
  34. data/lib/bently/recipe/haml-rails.rb +1 -1
  35. data/lib/bently/recipe/heroku-sendgrid.rb +1 -17
  36. data/lib/bently/recipe/jasmine-rails.rb +20 -0
  37. data/lib/bently/recipe/kaminari.rb +21 -0
  38. data/lib/bently/recipe/minitest-rails.rb +16 -0
  39. data/lib/bently/recipe/omniauth-facebook.rb +1 -2
  40. data/lib/bently/recipe/omniauth.rb +2 -28
  41. data/lib/bently/recipe/paperclip.rb +39 -0
  42. data/lib/bently/recipe/rspec-rails.rb +1 -1
  43. data/lib/bently/recipe/simple_form.rb +21 -0
  44. data/lib/bently/recipe/twitter-bootstrap-rails.rb +1 -1
  45. data/lib/bently/recipe/twitter.rb +21 -0
  46. data/lib/bently/recipe.rb +15 -1
  47. data/lib/bently/recipe_class/rails.rb +5 -1
  48. data/lib/bently/template/action-mailer/welcome_email.html.erb +18 -0
  49. data/lib/bently/template/action-mailer/welcome_email.text.erb +10 -0
  50. data/lib/bently/template/acts-as-taggable-on/usage.rb +18 -0
  51. data/lib/bently/template/factory-girl-rails/factories.rb +15 -0
  52. data/lib/bently/template/gitignore-emacs/.gitignore +12 -0
  53. data/lib/bently/template/gitignore-linux/.gitignore +3 -0
  54. data/lib/bently/template/gitignore-osx/.gitignore +12 -0
  55. data/lib/bently/template/gitignore-rails/.gitignore +18 -0
  56. data/lib/bently/template/gitignore-ruby/.gitignore +18 -0
  57. data/lib/bently/template/gitignore-rubymine/.gitignore +1 -0
  58. data/lib/bently/template/gitignore-sass/.gitignore +2 -0
  59. data/lib/bently/template/gitignore-sublime-text/.gitignore +2 -0
  60. data/lib/bently/template/gitignore-textmate/.gitignore +3 -0
  61. data/lib/bently/template/gitignore-vim/.gitignore +5 -0
  62. data/lib/bently/template/gitignore-windows/.gitignore +9 -0
  63. data/lib/bently/template/heroku-sendgrid/mail.rb +9 -0
  64. data/lib/bently/template/jasmine-rails/jasmine.yml +17 -0
  65. data/lib/bently/template/omniauth/omniauth.rb +5 -0
  66. data/lib/bently/template/omniauth/sessions_controller.rb +13 -0
  67. data/lib/bently/version.rb +1 -1
  68. data/lib/bently.rb +1 -0
  69. data/spec/bently/base_spec.rb +55 -0
  70. metadata +42 -3
  71. data/Gemfile.lock +0 -28
@@ -1,5 +1,5 @@
1
1
  module Bently
2
2
 
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
 
5
5
  end
data/lib/bently.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require 'thor'
2
2
 
3
3
  require 'bently/core_ext/string'
4
+ require 'bently/core_ext/method'
4
5
  require 'bently/globals'
5
6
  require 'bently/recipe'
6
7
  require 'bently/recipebook'
@@ -148,4 +148,59 @@ describe Bently::Base do
148
148
 
149
149
  end
150
150
 
151
+ describe "Recipes" do
152
+ it "raises no errors" do
153
+ @bently.read 'action-mailer'
154
+ @bently.read 'active_admin'
155
+ @bently.read 'acts-as-taggable-on'
156
+ @bently.read 'better-errors'
157
+ @bently.read 'cancan'
158
+ @bently.read 'carrierwave'
159
+ @bently.read 'cucumber-rails'
160
+ @bently.read 'delayed-job-active-record'
161
+ @bently.read 'delayed-job-mongoid'
162
+ @bently.read 'devise'
163
+ @bently.read 'factory-girl-rails'
164
+ @bently.read 'foreman'
165
+ @bently.read 'foreman-thin'
166
+ @bently.read 'formtastic'
167
+ @bently.read 'gitignore-emacs'
168
+ @bently.read 'gitignore-linux'
169
+ @bently.read 'gitignore-osx'
170
+ @bently.read 'gitignore-rails'
171
+ @bently.read 'gitignore-ruby'
172
+ @bently.read 'gitignore-rubymine'
173
+ @bently.read 'gitignore-sass'
174
+ @bently.read 'gitignore-sublime-text'
175
+ @bently.read 'gitignore-textmate'
176
+ @bently.read 'gitignore-vim'
177
+ @bently.read 'gitignore-windows'
178
+ @bently.read 'guard'
179
+ @bently.read 'guard-coffeescript'
180
+ @bently.read 'guard-cucumber'
181
+ @bently.read 'guard-livereload'
182
+ @bently.read 'guard-minitest'
183
+ @bently.read 'guard-rails'
184
+ @bently.read 'guard-rspec'
185
+ @bently.read 'guard-spork'
186
+ @bently.read 'haml-rails'
187
+ @bently.read 'heroku-cleardb'
188
+ @bently.read 'heroku-rails'
189
+ @bently.read 'heroku-sendgrid'
190
+ @bently.read 'jasmine-rails'
191
+ @bently.read 'kaminari'
192
+ @bently.read 'minitest-rails'
193
+ @bently.read 'omniauth'
194
+ @bently.read 'omniauth-facebook'
195
+ @bently.read 'paperclip'
196
+ @bently.read 'resque-rails'
197
+ @bently.read 'rspec-rails'
198
+ @bently.read 'rvmrc'
199
+ @bently.read 'simple_form'
200
+ @bently.read 'twitter'
201
+ @bently.read 'twitter-bootstrap-rails'
202
+ end
203
+ end
204
+
205
+
151
206
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bently
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-03 00:00:00.000000000 Z
12
+ date: 2013-03-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -54,22 +54,30 @@ files:
54
54
  - .gitignore
55
55
  - .travis.yml
56
56
  - Gemfile
57
- - Gemfile.lock
58
57
  - LICENSE
59
58
  - README.md
60
59
  - bently.gemspec
61
60
  - bin/bently
62
61
  - lib/bently.rb
63
62
  - lib/bently/base.rb
63
+ - lib/bently/core_ext/method.rb
64
64
  - lib/bently/core_ext/string.rb
65
65
  - lib/bently/globals.rb
66
66
  - lib/bently/recipe.rb
67
67
  - lib/bently/recipe/action-mailer.rb
68
+ - lib/bently/recipe/active_admin.rb
69
+ - lib/bently/recipe/acts-as-taggable-on.rb
70
+ - lib/bently/recipe/better-errors.rb
71
+ - lib/bently/recipe/cancan.rb
72
+ - lib/bently/recipe/carrierwave.rb
68
73
  - lib/bently/recipe/cucumber-rails.rb
74
+ - lib/bently/recipe/delayed-job-active-record.rb
75
+ - lib/bently/recipe/delayed-job-mongoid.rb
69
76
  - lib/bently/recipe/devise.rb
70
77
  - lib/bently/recipe/factory-girl-rails.rb
71
78
  - lib/bently/recipe/foreman-thin.rb
72
79
  - lib/bently/recipe/foreman.rb
80
+ - lib/bently/recipe/formtastic.rb
73
81
  - lib/bently/recipe/gitignore-emacs.rb
74
82
  - lib/bently/recipe/gitignore-linux.rb
75
83
  - lib/bently/recipe/gitignore-osx.rb
@@ -81,21 +89,52 @@ files:
81
89
  - lib/bently/recipe/gitignore-textmate.rb
82
90
  - lib/bently/recipe/gitignore-vim.rb
83
91
  - lib/bently/recipe/gitignore-windows.rb
92
+ - lib/bently/recipe/guard-coffeescript.rb
93
+ - lib/bently/recipe/guard-cucumber.rb
84
94
  - lib/bently/recipe/guard-livereload.rb
95
+ - lib/bently/recipe/guard-minitest.rb
96
+ - lib/bently/recipe/guard-rails.rb
97
+ - lib/bently/recipe/guard-rspec.rb
98
+ - lib/bently/recipe/guard-spork.rb
85
99
  - lib/bently/recipe/guard.rb
86
100
  - lib/bently/recipe/haml-rails.rb
87
101
  - lib/bently/recipe/heroku-cleardb.rb
88
102
  - lib/bently/recipe/heroku-rails.rb
89
103
  - lib/bently/recipe/heroku-sendgrid.rb
104
+ - lib/bently/recipe/jasmine-rails.rb
105
+ - lib/bently/recipe/kaminari.rb
106
+ - lib/bently/recipe/minitest-rails.rb
90
107
  - lib/bently/recipe/omniauth-facebook.rb
91
108
  - lib/bently/recipe/omniauth.rb
109
+ - lib/bently/recipe/paperclip.rb
92
110
  - lib/bently/recipe/resque-rails.rb
93
111
  - lib/bently/recipe/rspec-rails.rb
94
112
  - lib/bently/recipe/rvmrc.rb
113
+ - lib/bently/recipe/simple_form.rb
95
114
  - lib/bently/recipe/twitter-bootstrap-rails.rb
115
+ - lib/bently/recipe/twitter.rb
96
116
  - lib/bently/recipe_class/rails.rb
97
117
  - lib/bently/recipe_class/ruby.rb
98
118
  - lib/bently/recipebook.rb
119
+ - lib/bently/template/action-mailer/welcome_email.html.erb
120
+ - lib/bently/template/action-mailer/welcome_email.text.erb
121
+ - lib/bently/template/acts-as-taggable-on/usage.rb
122
+ - lib/bently/template/factory-girl-rails/factories.rb
123
+ - lib/bently/template/gitignore-emacs/.gitignore
124
+ - lib/bently/template/gitignore-linux/.gitignore
125
+ - lib/bently/template/gitignore-osx/.gitignore
126
+ - lib/bently/template/gitignore-rails/.gitignore
127
+ - lib/bently/template/gitignore-ruby/.gitignore
128
+ - lib/bently/template/gitignore-rubymine/.gitignore
129
+ - lib/bently/template/gitignore-sass/.gitignore
130
+ - lib/bently/template/gitignore-sublime-text/.gitignore
131
+ - lib/bently/template/gitignore-textmate/.gitignore
132
+ - lib/bently/template/gitignore-vim/.gitignore
133
+ - lib/bently/template/gitignore-windows/.gitignore
134
+ - lib/bently/template/heroku-sendgrid/mail.rb
135
+ - lib/bently/template/jasmine-rails/jasmine.yml
136
+ - lib/bently/template/omniauth/omniauth.rb
137
+ - lib/bently/template/omniauth/sessions_controller.rb
99
138
  - lib/bently/version.rb
100
139
  - spec/bently/base_spec.rb
101
140
  - spec/spec_helper.rb
data/Gemfile.lock DELETED
@@ -1,28 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- bently (0.1.0)
5
- thor (>= 0.14.6)
6
-
7
- GEM
8
- remote: http://rubygems.org/
9
- specs:
10
- diff-lcs (1.1.3)
11
- rake (0.9.2.2)
12
- rspec (2.11.0)
13
- rspec-core (~> 2.11.0)
14
- rspec-expectations (~> 2.11.0)
15
- rspec-mocks (~> 2.11.0)
16
- rspec-core (2.11.1)
17
- rspec-expectations (2.11.3)
18
- diff-lcs (~> 1.1.3)
19
- rspec-mocks (2.11.2)
20
- thor (0.16.0)
21
-
22
- PLATFORMS
23
- ruby
24
-
25
- DEPENDENCIES
26
- bently!
27
- rake
28
- rspec (~> 2.6)