polymorphic_render 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +61 -0
  4. data/Rakefile +34 -0
  5. data/app/helpers/polymorphic_render/application_helper.rb +15 -0
  6. data/lib/polymorphic_render/engine.rb +4 -0
  7. data/lib/polymorphic_render/version.rb +3 -0
  8. data/lib/polymorphic_render.rb +4 -0
  9. data/test/dummy/README.rdoc +28 -0
  10. data/test/dummy/Rakefile +6 -0
  11. data/test/dummy/app/assets/javascripts/application.js +13 -0
  12. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  13. data/test/dummy/app/controllers/application_controller.rb +5 -0
  14. data/test/dummy/app/helpers/application_helper.rb +2 -0
  15. data/test/dummy/app/models/post.rb +2 -0
  16. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  17. data/test/dummy/app/views/posts/_post.html.erb +1 -0
  18. data/test/dummy/app/views/posts/_post_admin.html.erb +1 -0
  19. data/test/dummy/bin/bundle +3 -0
  20. data/test/dummy/bin/rails +4 -0
  21. data/test/dummy/bin/rake +4 -0
  22. data/test/dummy/config/application.rb +23 -0
  23. data/test/dummy/config/boot.rb +5 -0
  24. data/test/dummy/config/database.yml +25 -0
  25. data/test/dummy/config/environment.rb +5 -0
  26. data/test/dummy/config/environments/development.rb +29 -0
  27. data/test/dummy/config/environments/production.rb +80 -0
  28. data/test/dummy/config/environments/test.rb +36 -0
  29. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  30. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  31. data/test/dummy/config/initializers/inflections.rb +16 -0
  32. data/test/dummy/config/initializers/mime_types.rb +5 -0
  33. data/test/dummy/config/initializers/secret_token.rb +12 -0
  34. data/test/dummy/config/initializers/session_store.rb +3 -0
  35. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  36. data/test/dummy/config/locales/en.yml +23 -0
  37. data/test/dummy/config/routes.rb +56 -0
  38. data/test/dummy/config.ru +4 -0
  39. data/test/dummy/db/development.sqlite3 +0 -0
  40. data/test/dummy/db/migrate/20140303085238_create_posts.rb +9 -0
  41. data/test/dummy/db/schema.rb +22 -0
  42. data/test/dummy/db/test.sqlite3 +0 -0
  43. data/test/dummy/log/development.log +14 -0
  44. data/test/dummy/log/test.log +203 -0
  45. data/test/dummy/public/404.html +58 -0
  46. data/test/dummy/public/422.html +58 -0
  47. data/test/dummy/public/500.html +57 -0
  48. data/test/dummy/public/favicon.ico +0 -0
  49. data/test/dummy/test/fixtures/posts.yml +7 -0
  50. data/test/dummy/test/models/post_test.rb +7 -0
  51. data/test/helpers/application_helper_test.rb +26 -0
  52. data/test/integration/navigation_test.rb +10 -0
  53. data/test/polymorphic_render_test.rb +7 -0
  54. data/test/test_helper.rb +15 -0
  55. metadata +170 -0
metadata ADDED
@@ -0,0 +1,170 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: polymorphic_render
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Mikhail Dieterle
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-03-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>'
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>'
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: sqlite3
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
+ description: Extend rails views rendering
42
+ email:
43
+ - mikdiet@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - app/helpers/polymorphic_render/application_helper.rb
49
+ - lib/polymorphic_render/engine.rb
50
+ - lib/polymorphic_render/version.rb
51
+ - lib/polymorphic_render.rb
52
+ - MIT-LICENSE
53
+ - Rakefile
54
+ - README.md
55
+ - test/dummy/app/assets/javascripts/application.js
56
+ - test/dummy/app/assets/stylesheets/application.css
57
+ - test/dummy/app/controllers/application_controller.rb
58
+ - test/dummy/app/helpers/application_helper.rb
59
+ - test/dummy/app/models/post.rb
60
+ - test/dummy/app/views/layouts/application.html.erb
61
+ - test/dummy/app/views/posts/_post.html.erb
62
+ - test/dummy/app/views/posts/_post_admin.html.erb
63
+ - test/dummy/bin/bundle
64
+ - test/dummy/bin/rails
65
+ - test/dummy/bin/rake
66
+ - test/dummy/config/application.rb
67
+ - test/dummy/config/boot.rb
68
+ - test/dummy/config/database.yml
69
+ - test/dummy/config/environment.rb
70
+ - test/dummy/config/environments/development.rb
71
+ - test/dummy/config/environments/production.rb
72
+ - test/dummy/config/environments/test.rb
73
+ - test/dummy/config/initializers/backtrace_silencers.rb
74
+ - test/dummy/config/initializers/filter_parameter_logging.rb
75
+ - test/dummy/config/initializers/inflections.rb
76
+ - test/dummy/config/initializers/mime_types.rb
77
+ - test/dummy/config/initializers/secret_token.rb
78
+ - test/dummy/config/initializers/session_store.rb
79
+ - test/dummy/config/initializers/wrap_parameters.rb
80
+ - test/dummy/config/locales/en.yml
81
+ - test/dummy/config/routes.rb
82
+ - test/dummy/config.ru
83
+ - test/dummy/db/development.sqlite3
84
+ - test/dummy/db/migrate/20140303085238_create_posts.rb
85
+ - test/dummy/db/schema.rb
86
+ - test/dummy/db/test.sqlite3
87
+ - test/dummy/log/development.log
88
+ - test/dummy/log/test.log
89
+ - test/dummy/public/404.html
90
+ - test/dummy/public/422.html
91
+ - test/dummy/public/500.html
92
+ - test/dummy/public/favicon.ico
93
+ - test/dummy/Rakefile
94
+ - test/dummy/README.rdoc
95
+ - test/dummy/test/fixtures/posts.yml
96
+ - test/dummy/test/models/post_test.rb
97
+ - test/helpers/application_helper_test.rb
98
+ - test/integration/navigation_test.rb
99
+ - test/polymorphic_render_test.rb
100
+ - test/test_helper.rb
101
+ homepage: ''
102
+ licenses: []
103
+ metadata: {}
104
+ post_install_message:
105
+ rdoc_options: []
106
+ require_paths:
107
+ - lib
108
+ required_ruby_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - '>='
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ required_rubygems_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ requirements: []
119
+ rubyforge_project:
120
+ rubygems_version: 2.0.6
121
+ signing_key:
122
+ specification_version: 4
123
+ summary: Extend rails views rendering
124
+ test_files:
125
+ - test/dummy/app/assets/javascripts/application.js
126
+ - test/dummy/app/assets/stylesheets/application.css
127
+ - test/dummy/app/controllers/application_controller.rb
128
+ - test/dummy/app/helpers/application_helper.rb
129
+ - test/dummy/app/models/post.rb
130
+ - test/dummy/app/views/layouts/application.html.erb
131
+ - test/dummy/app/views/posts/_post.html.erb
132
+ - test/dummy/app/views/posts/_post_admin.html.erb
133
+ - test/dummy/bin/bundle
134
+ - test/dummy/bin/rails
135
+ - test/dummy/bin/rake
136
+ - test/dummy/config/application.rb
137
+ - test/dummy/config/boot.rb
138
+ - test/dummy/config/database.yml
139
+ - test/dummy/config/environment.rb
140
+ - test/dummy/config/environments/development.rb
141
+ - test/dummy/config/environments/production.rb
142
+ - test/dummy/config/environments/test.rb
143
+ - test/dummy/config/initializers/backtrace_silencers.rb
144
+ - test/dummy/config/initializers/filter_parameter_logging.rb
145
+ - test/dummy/config/initializers/inflections.rb
146
+ - test/dummy/config/initializers/mime_types.rb
147
+ - test/dummy/config/initializers/secret_token.rb
148
+ - test/dummy/config/initializers/session_store.rb
149
+ - test/dummy/config/initializers/wrap_parameters.rb
150
+ - test/dummy/config/locales/en.yml
151
+ - test/dummy/config/routes.rb
152
+ - test/dummy/config.ru
153
+ - test/dummy/db/development.sqlite3
154
+ - test/dummy/db/migrate/20140303085238_create_posts.rb
155
+ - test/dummy/db/schema.rb
156
+ - test/dummy/db/test.sqlite3
157
+ - test/dummy/log/development.log
158
+ - test/dummy/log/test.log
159
+ - test/dummy/public/404.html
160
+ - test/dummy/public/422.html
161
+ - test/dummy/public/500.html
162
+ - test/dummy/public/favicon.ico
163
+ - test/dummy/Rakefile
164
+ - test/dummy/README.rdoc
165
+ - test/dummy/test/fixtures/posts.yml
166
+ - test/dummy/test/models/post_test.rb
167
+ - test/helpers/application_helper_test.rb
168
+ - test/integration/navigation_test.rb
169
+ - test/polymorphic_render_test.rb
170
+ - test/test_helper.rb