human_power 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +23 -0
  3. data/.travis.yml +6 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +91 -0
  7. data/Rakefile +11 -0
  8. data/config/initializers/human_power.rb +1 -0
  9. data/config/routes.rb +3 -0
  10. data/human_power.gemspec +24 -0
  11. data/lib/generators/human_power/install_generator.rb +12 -0
  12. data/lib/generators/human_power/templates/robots.rb +39 -0
  13. data/lib/human_power/generator.rb +96 -0
  14. data/lib/human_power/rails/controller.rb +14 -0
  15. data/lib/human_power/rails/engine.rb +6 -0
  16. data/lib/human_power/rails.rb +1 -0
  17. data/lib/human_power/rule.rb +20 -0
  18. data/lib/human_power/user_agents.rb +7 -0
  19. data/lib/human_power/version.rb +3 -0
  20. data/lib/human_power.rb +27 -0
  21. data/test/dummy/README.rdoc +28 -0
  22. data/test/dummy/Rakefile +6 -0
  23. data/test/dummy/app/assets/images/.keep +0 -0
  24. data/test/dummy/app/assets/javascripts/application.js +13 -0
  25. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  26. data/test/dummy/app/controllers/application_controller.rb +5 -0
  27. data/test/dummy/app/controllers/concerns/.keep +0 -0
  28. data/test/dummy/app/helpers/application_helper.rb +2 -0
  29. data/test/dummy/app/mailers/.keep +0 -0
  30. data/test/dummy/app/models/.keep +0 -0
  31. data/test/dummy/app/models/concerns/.keep +0 -0
  32. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  33. data/test/dummy/bin/bundle +3 -0
  34. data/test/dummy/bin/rails +4 -0
  35. data/test/dummy/bin/rake +4 -0
  36. data/test/dummy/config/application.rb +23 -0
  37. data/test/dummy/config/boot.rb +5 -0
  38. data/test/dummy/config/database.yml +25 -0
  39. data/test/dummy/config/environment.rb +5 -0
  40. data/test/dummy/config/environments/development.rb +29 -0
  41. data/test/dummy/config/environments/production.rb +80 -0
  42. data/test/dummy/config/environments/test.rb +36 -0
  43. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  44. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  45. data/test/dummy/config/initializers/inflections.rb +16 -0
  46. data/test/dummy/config/initializers/mime_types.rb +5 -0
  47. data/test/dummy/config/initializers/secret_token.rb +12 -0
  48. data/test/dummy/config/initializers/session_store.rb +3 -0
  49. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  50. data/test/dummy/config/locales/en.yml +23 -0
  51. data/test/dummy/config/robots.rb +11 -0
  52. data/test/dummy/config/routes.rb +6 -0
  53. data/test/dummy/config.ru +4 -0
  54. data/test/dummy/lib/assets/.keep +0 -0
  55. data/test/dummy/log/.keep +0 -0
  56. data/test/dummy/public/404.html +58 -0
  57. data/test/dummy/public/422.html +58 -0
  58. data/test/dummy/public/500.html +57 -0
  59. data/test/dummy/public/favicon.ico +0 -0
  60. data/test/generator_test.rb +130 -0
  61. data/test/rails/integration_test.rb +20 -0
  62. data/test/test_helper.rb +7 -0
  63. metadata +203 -0
metadata ADDED
@@ -0,0 +1,203 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: human_power
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Lasse Bunk
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-12-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 4.0.1
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 4.0.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: sqlite3
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: Easy generation of robots.txt.
70
+ email:
71
+ - lassebunk@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - .gitignore
77
+ - .travis.yml
78
+ - Gemfile
79
+ - LICENSE.txt
80
+ - README.md
81
+ - Rakefile
82
+ - config/initializers/human_power.rb
83
+ - config/routes.rb
84
+ - human_power.gemspec
85
+ - lib/generators/human_power/install_generator.rb
86
+ - lib/generators/human_power/templates/robots.rb
87
+ - lib/human_power.rb
88
+ - lib/human_power/generator.rb
89
+ - lib/human_power/rails.rb
90
+ - lib/human_power/rails/controller.rb
91
+ - lib/human_power/rails/engine.rb
92
+ - lib/human_power/rule.rb
93
+ - lib/human_power/user_agents.rb
94
+ - lib/human_power/version.rb
95
+ - test/dummy/README.rdoc
96
+ - test/dummy/Rakefile
97
+ - test/dummy/app/assets/images/.keep
98
+ - test/dummy/app/assets/javascripts/application.js
99
+ - test/dummy/app/assets/stylesheets/application.css
100
+ - test/dummy/app/controllers/application_controller.rb
101
+ - test/dummy/app/controllers/concerns/.keep
102
+ - test/dummy/app/helpers/application_helper.rb
103
+ - test/dummy/app/mailers/.keep
104
+ - test/dummy/app/models/.keep
105
+ - test/dummy/app/models/concerns/.keep
106
+ - test/dummy/app/views/layouts/application.html.erb
107
+ - test/dummy/bin/bundle
108
+ - test/dummy/bin/rails
109
+ - test/dummy/bin/rake
110
+ - test/dummy/config.ru
111
+ - test/dummy/config/application.rb
112
+ - test/dummy/config/boot.rb
113
+ - test/dummy/config/database.yml
114
+ - test/dummy/config/environment.rb
115
+ - test/dummy/config/environments/development.rb
116
+ - test/dummy/config/environments/production.rb
117
+ - test/dummy/config/environments/test.rb
118
+ - test/dummy/config/initializers/backtrace_silencers.rb
119
+ - test/dummy/config/initializers/filter_parameter_logging.rb
120
+ - test/dummy/config/initializers/inflections.rb
121
+ - test/dummy/config/initializers/mime_types.rb
122
+ - test/dummy/config/initializers/secret_token.rb
123
+ - test/dummy/config/initializers/session_store.rb
124
+ - test/dummy/config/initializers/wrap_parameters.rb
125
+ - test/dummy/config/locales/en.yml
126
+ - test/dummy/config/robots.rb
127
+ - test/dummy/config/routes.rb
128
+ - test/dummy/lib/assets/.keep
129
+ - test/dummy/log/.keep
130
+ - test/dummy/public/404.html
131
+ - test/dummy/public/422.html
132
+ - test/dummy/public/500.html
133
+ - test/dummy/public/favicon.ico
134
+ - test/generator_test.rb
135
+ - test/rails/integration_test.rb
136
+ - test/test_helper.rb
137
+ homepage: https://github.com/lassebunk/human_power
138
+ licenses:
139
+ - MIT
140
+ metadata: {}
141
+ post_install_message:
142
+ rdoc_options: []
143
+ require_paths:
144
+ - lib
145
+ required_ruby_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ required_rubygems_version: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - '>='
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
155
+ requirements: []
156
+ rubyforge_project:
157
+ rubygems_version: 2.1.10
158
+ signing_key:
159
+ specification_version: 4
160
+ summary: Easy generation of robots.txt. Force the robots into submission!
161
+ test_files:
162
+ - test/dummy/README.rdoc
163
+ - test/dummy/Rakefile
164
+ - test/dummy/app/assets/images/.keep
165
+ - test/dummy/app/assets/javascripts/application.js
166
+ - test/dummy/app/assets/stylesheets/application.css
167
+ - test/dummy/app/controllers/application_controller.rb
168
+ - test/dummy/app/controllers/concerns/.keep
169
+ - test/dummy/app/helpers/application_helper.rb
170
+ - test/dummy/app/mailers/.keep
171
+ - test/dummy/app/models/.keep
172
+ - test/dummy/app/models/concerns/.keep
173
+ - test/dummy/app/views/layouts/application.html.erb
174
+ - test/dummy/bin/bundle
175
+ - test/dummy/bin/rails
176
+ - test/dummy/bin/rake
177
+ - test/dummy/config.ru
178
+ - test/dummy/config/application.rb
179
+ - test/dummy/config/boot.rb
180
+ - test/dummy/config/database.yml
181
+ - test/dummy/config/environment.rb
182
+ - test/dummy/config/environments/development.rb
183
+ - test/dummy/config/environments/production.rb
184
+ - test/dummy/config/environments/test.rb
185
+ - test/dummy/config/initializers/backtrace_silencers.rb
186
+ - test/dummy/config/initializers/filter_parameter_logging.rb
187
+ - test/dummy/config/initializers/inflections.rb
188
+ - test/dummy/config/initializers/mime_types.rb
189
+ - test/dummy/config/initializers/secret_token.rb
190
+ - test/dummy/config/initializers/session_store.rb
191
+ - test/dummy/config/initializers/wrap_parameters.rb
192
+ - test/dummy/config/locales/en.yml
193
+ - test/dummy/config/robots.rb
194
+ - test/dummy/config/routes.rb
195
+ - test/dummy/lib/assets/.keep
196
+ - test/dummy/log/.keep
197
+ - test/dummy/public/404.html
198
+ - test/dummy/public/422.html
199
+ - test/dummy/public/500.html
200
+ - test/dummy/public/favicon.ico
201
+ - test/generator_test.rb
202
+ - test/rails/integration_test.rb
203
+ - test/test_helper.rb