partial_path_customizer 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.travis.yml +8 -0
  4. data/Appraisals +5 -0
  5. data/Gemfile +14 -0
  6. data/Gemfile.lock +90 -0
  7. data/LICENSE +20 -0
  8. data/README.md +76 -0
  9. data/Rakefile +18 -0
  10. data/gemfiles/rails_3.2.gemfile +7 -0
  11. data/gemfiles/rails_4.0.gemfile +7 -0
  12. data/gemfiles/rails_4.1.gemfile +7 -0
  13. data/lib/partial_path_customizer.rb +5 -0
  14. data/lib/partial_path_customizer/partial_path_helper.rb +19 -0
  15. data/lib/partial_path_customizer/presenter.rb +34 -0
  16. data/lib/partial_path_customizer/railtie.rb +9 -0
  17. data/lib/partial_path_customizer/version.rb +3 -0
  18. data/lib/tasks/partial_path_customizer_tasks.rake +4 -0
  19. data/partial_path_customizer.gemspec +29 -0
  20. data/spec/dummy/.rspec +2 -0
  21. data/spec/dummy/README.rdoc +28 -0
  22. data/spec/dummy/Rakefile +6 -0
  23. data/spec/dummy/app/assets/images/.keep +0 -0
  24. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  25. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  26. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  27. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  28. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  29. data/spec/dummy/app/mailers/.keep +0 -0
  30. data/spec/dummy/app/models/.keep +0 -0
  31. data/spec/dummy/app/models/concerns/.keep +0 -0
  32. data/spec/dummy/app/models/dealer.rb +2 -0
  33. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  34. data/spec/dummy/bin/bundle +3 -0
  35. data/spec/dummy/bin/rails +4 -0
  36. data/spec/dummy/bin/rake +4 -0
  37. data/spec/dummy/config.ru +4 -0
  38. data/spec/dummy/config/application.rb +31 -0
  39. data/spec/dummy/config/boot.rb +5 -0
  40. data/spec/dummy/config/database.yml +25 -0
  41. data/spec/dummy/config/environment.rb +5 -0
  42. data/spec/dummy/config/environments/development.rb +37 -0
  43. data/spec/dummy/config/environments/production.rb +78 -0
  44. data/spec/dummy/config/environments/test.rb +39 -0
  45. data/spec/dummy/config/initializers/assets.rb +8 -0
  46. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  47. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  48. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  49. data/spec/dummy/config/initializers/inflections.rb +16 -0
  50. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  51. data/spec/dummy/config/initializers/session_store.rb +3 -0
  52. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  53. data/spec/dummy/config/locales/en.yml +23 -0
  54. data/spec/dummy/config/routes.rb +56 -0
  55. data/spec/dummy/config/secrets.yml +22 -0
  56. data/spec/dummy/db/migrate/20141009025609_create_dealers.rb +9 -0
  57. data/spec/dummy/lib/assets/.keep +0 -0
  58. data/spec/dummy/log/.keep +0 -0
  59. data/spec/dummy/public/404.html +67 -0
  60. data/spec/dummy/public/422.html +67 -0
  61. data/spec/dummy/public/500.html +66 -0
  62. data/spec/dummy/public/favicon.ico +0 -0
  63. data/spec/helpers/partial_path_helper_spec.rb +37 -0
  64. data/spec/partial_path_customizer/presenter_spec.rb +82 -0
  65. data/spec/rails_helper.rb +55 -0
  66. data/spec/spec_helper.rb +85 -0
  67. metadata +240 -0
metadata ADDED
@@ -0,0 +1,240 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: partial_path_customizer
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Aaron Renner
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-10-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: dumb_delegator
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.6'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: appraisal
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: sqlite3
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec-activemodel-mocks
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: 'Easily override #to_partial_path on Rails models'
98
+ email:
99
+ - aaron@animascodelabs.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".travis.yml"
106
+ - Appraisals
107
+ - Gemfile
108
+ - Gemfile.lock
109
+ - LICENSE
110
+ - README.md
111
+ - Rakefile
112
+ - gemfiles/rails_3.2.gemfile
113
+ - gemfiles/rails_4.0.gemfile
114
+ - gemfiles/rails_4.1.gemfile
115
+ - lib/partial_path_customizer.rb
116
+ - lib/partial_path_customizer/partial_path_helper.rb
117
+ - lib/partial_path_customizer/presenter.rb
118
+ - lib/partial_path_customizer/railtie.rb
119
+ - lib/partial_path_customizer/version.rb
120
+ - lib/tasks/partial_path_customizer_tasks.rake
121
+ - partial_path_customizer.gemspec
122
+ - spec/dummy/.rspec
123
+ - spec/dummy/README.rdoc
124
+ - spec/dummy/Rakefile
125
+ - spec/dummy/app/assets/images/.keep
126
+ - spec/dummy/app/assets/javascripts/application.js
127
+ - spec/dummy/app/assets/stylesheets/application.css
128
+ - spec/dummy/app/controllers/application_controller.rb
129
+ - spec/dummy/app/controllers/concerns/.keep
130
+ - spec/dummy/app/helpers/application_helper.rb
131
+ - spec/dummy/app/mailers/.keep
132
+ - spec/dummy/app/models/.keep
133
+ - spec/dummy/app/models/concerns/.keep
134
+ - spec/dummy/app/models/dealer.rb
135
+ - spec/dummy/app/views/layouts/application.html.erb
136
+ - spec/dummy/bin/bundle
137
+ - spec/dummy/bin/rails
138
+ - spec/dummy/bin/rake
139
+ - spec/dummy/config.ru
140
+ - spec/dummy/config/application.rb
141
+ - spec/dummy/config/boot.rb
142
+ - spec/dummy/config/database.yml
143
+ - spec/dummy/config/environment.rb
144
+ - spec/dummy/config/environments/development.rb
145
+ - spec/dummy/config/environments/production.rb
146
+ - spec/dummy/config/environments/test.rb
147
+ - spec/dummy/config/initializers/assets.rb
148
+ - spec/dummy/config/initializers/backtrace_silencers.rb
149
+ - spec/dummy/config/initializers/cookies_serializer.rb
150
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
151
+ - spec/dummy/config/initializers/inflections.rb
152
+ - spec/dummy/config/initializers/mime_types.rb
153
+ - spec/dummy/config/initializers/session_store.rb
154
+ - spec/dummy/config/initializers/wrap_parameters.rb
155
+ - spec/dummy/config/locales/en.yml
156
+ - spec/dummy/config/routes.rb
157
+ - spec/dummy/config/secrets.yml
158
+ - spec/dummy/db/migrate/20141009025609_create_dealers.rb
159
+ - spec/dummy/lib/assets/.keep
160
+ - spec/dummy/log/.keep
161
+ - spec/dummy/public/404.html
162
+ - spec/dummy/public/422.html
163
+ - spec/dummy/public/500.html
164
+ - spec/dummy/public/favicon.ico
165
+ - spec/helpers/partial_path_helper_spec.rb
166
+ - spec/partial_path_customizer/presenter_spec.rb
167
+ - spec/rails_helper.rb
168
+ - spec/spec_helper.rb
169
+ homepage: https://github.com/AnimasCodeLabs/partial_path_customizer
170
+ licenses:
171
+ - MIT
172
+ metadata: {}
173
+ post_install_message:
174
+ rdoc_options: []
175
+ require_paths:
176
+ - lib
177
+ required_ruby_version: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ required_rubygems_version: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ requirements: []
188
+ rubyforge_project:
189
+ rubygems_version: 2.2.2
190
+ signing_key:
191
+ specification_version: 4
192
+ summary: 'Easily override #to_partial_path on Rails models'
193
+ test_files:
194
+ - spec/dummy/.rspec
195
+ - spec/dummy/README.rdoc
196
+ - spec/dummy/Rakefile
197
+ - spec/dummy/app/assets/images/.keep
198
+ - spec/dummy/app/assets/javascripts/application.js
199
+ - spec/dummy/app/assets/stylesheets/application.css
200
+ - spec/dummy/app/controllers/application_controller.rb
201
+ - spec/dummy/app/controllers/concerns/.keep
202
+ - spec/dummy/app/helpers/application_helper.rb
203
+ - spec/dummy/app/mailers/.keep
204
+ - spec/dummy/app/models/.keep
205
+ - spec/dummy/app/models/concerns/.keep
206
+ - spec/dummy/app/models/dealer.rb
207
+ - spec/dummy/app/views/layouts/application.html.erb
208
+ - spec/dummy/bin/bundle
209
+ - spec/dummy/bin/rails
210
+ - spec/dummy/bin/rake
211
+ - spec/dummy/config.ru
212
+ - spec/dummy/config/application.rb
213
+ - spec/dummy/config/boot.rb
214
+ - spec/dummy/config/database.yml
215
+ - spec/dummy/config/environment.rb
216
+ - spec/dummy/config/environments/development.rb
217
+ - spec/dummy/config/environments/production.rb
218
+ - spec/dummy/config/environments/test.rb
219
+ - spec/dummy/config/initializers/assets.rb
220
+ - spec/dummy/config/initializers/backtrace_silencers.rb
221
+ - spec/dummy/config/initializers/cookies_serializer.rb
222
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
223
+ - spec/dummy/config/initializers/inflections.rb
224
+ - spec/dummy/config/initializers/mime_types.rb
225
+ - spec/dummy/config/initializers/session_store.rb
226
+ - spec/dummy/config/initializers/wrap_parameters.rb
227
+ - spec/dummy/config/locales/en.yml
228
+ - spec/dummy/config/routes.rb
229
+ - spec/dummy/config/secrets.yml
230
+ - spec/dummy/db/migrate/20141009025609_create_dealers.rb
231
+ - spec/dummy/lib/assets/.keep
232
+ - spec/dummy/log/.keep
233
+ - spec/dummy/public/404.html
234
+ - spec/dummy/public/422.html
235
+ - spec/dummy/public/500.html
236
+ - spec/dummy/public/favicon.ico
237
+ - spec/helpers/partial_path_helper_spec.rb
238
+ - spec/partial_path_customizer/presenter_spec.rb
239
+ - spec/rails_helper.rb
240
+ - spec/spec_helper.rb