unified_partials 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 (75) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +32 -0
  4. data/app/helpers/unified_partial_helper.rb +23 -0
  5. data/app/views/attribute_presentation/_associated.html.erb +3 -0
  6. data/app/views/attribute_presentation/_default.html.erb +2 -0
  7. data/app/views/attribute_presentation/_heading.html.erb +1 -0
  8. data/app/views/attribute_presentation/_label.html.erb +1 -0
  9. data/app/views/attribute_presentation/_layout.html.erb +1 -0
  10. data/lib/tasks/unified_partials_tasks.rake +4 -0
  11. data/lib/unified_partials/engine.rb +4 -0
  12. data/lib/unified_partials/version.rb +3 -0
  13. data/lib/unified_partials.rb +4 -0
  14. data/test/dummy/README.rdoc +28 -0
  15. data/test/dummy/Rakefile +6 -0
  16. data/test/dummy/app/assets/javascripts/application.js +13 -0
  17. data/test/dummy/app/assets/javascripts/books.js +2 -0
  18. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  19. data/test/dummy/app/assets/stylesheets/books.css +4 -0
  20. data/test/dummy/app/controllers/application_controller.rb +5 -0
  21. data/test/dummy/app/controllers/books_controller.rb +5 -0
  22. data/test/dummy/app/helpers/application_helper.rb +2 -0
  23. data/test/dummy/app/helpers/books_helper.rb +2 -0
  24. data/test/dummy/app/models/book.rb +2 -0
  25. data/test/dummy/app/views/attribute_presentation/_layout.html.erb +2 -0
  26. data/test/dummy/app/views/books/index.html.erb +5 -0
  27. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  28. data/test/dummy/bin/bundle +3 -0
  29. data/test/dummy/bin/rails +4 -0
  30. data/test/dummy/bin/rake +4 -0
  31. data/test/dummy/config/application.rb +23 -0
  32. data/test/dummy/config/boot.rb +5 -0
  33. data/test/dummy/config/database.yml +25 -0
  34. data/test/dummy/config/environment.rb +5 -0
  35. data/test/dummy/config/environments/development.rb +29 -0
  36. data/test/dummy/config/environments/production.rb +80 -0
  37. data/test/dummy/config/environments/test.rb +36 -0
  38. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  39. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  40. data/test/dummy/config/initializers/inflections.rb +16 -0
  41. data/test/dummy/config/initializers/mime_types.rb +5 -0
  42. data/test/dummy/config/initializers/secret_token.rb +12 -0
  43. data/test/dummy/config/initializers/session_store.rb +3 -0
  44. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  45. data/test/dummy/config/locales/en.yml +23 -0
  46. data/test/dummy/config/routes.rb +57 -0
  47. data/test/dummy/config.ru +4 -0
  48. data/test/dummy/db/development.sqlite3 +0 -0
  49. data/test/dummy/db/migrate/20131014134500_create_books.rb +10 -0
  50. data/test/dummy/db/schema.rb +23 -0
  51. data/test/dummy/db/seeds.rb +1 -0
  52. data/test/dummy/db/test.sqlite3 +0 -0
  53. data/test/dummy/log/development.log +299 -0
  54. data/test/dummy/log/test.log +362 -0
  55. data/test/dummy/public/404.html +58 -0
  56. data/test/dummy/public/422.html +58 -0
  57. data/test/dummy/public/500.html +57 -0
  58. data/test/dummy/public/favicon.ico +0 -0
  59. data/test/dummy/test/fixtures/books.yml +9 -0
  60. data/test/dummy/test/views/index.html.erb_test.rb +14 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/2afdbb3902a1be5d2f045cfc837903a3 +0 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/5a15e52e84502f9fceb7ea04020f65fc +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/64db420a3a172209bf0b734312a4888a +0 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/67ff5689dfcb845e86b74aa2d787edef +0 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/787b6a4c2386b5edf98f90508b85cc3d +0 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/b950c5d77d355ffc7f0edf748e04b138 +0 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  72. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  73. data/test/test_helper.rb +15 -0
  74. data/test/unified_partials_test.rb +7 -0
  75. metadata +206 -0
metadata ADDED
@@ -0,0 +1,206 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: unified_partials
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Sam Schenkman-Moore
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-10-21 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: 4.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 4.0.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: Offers a standard approach for consistent use of partials to display
42
+ attributes.
43
+ email:
44
+ - samsm@samsm.com
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - app/helpers/unified_partial_helper.rb
50
+ - app/views/attribute_presentation/_associated.html.erb
51
+ - app/views/attribute_presentation/_default.html.erb
52
+ - app/views/attribute_presentation/_heading.html.erb
53
+ - app/views/attribute_presentation/_label.html.erb
54
+ - app/views/attribute_presentation/_layout.html.erb
55
+ - lib/tasks/unified_partials_tasks.rake
56
+ - lib/unified_partials/engine.rb
57
+ - lib/unified_partials/version.rb
58
+ - lib/unified_partials.rb
59
+ - MIT-LICENSE
60
+ - Rakefile
61
+ - test/dummy/app/assets/javascripts/application.js
62
+ - test/dummy/app/assets/javascripts/books.js
63
+ - test/dummy/app/assets/stylesheets/application.css
64
+ - test/dummy/app/assets/stylesheets/books.css
65
+ - test/dummy/app/controllers/application_controller.rb
66
+ - test/dummy/app/controllers/books_controller.rb
67
+ - test/dummy/app/helpers/application_helper.rb
68
+ - test/dummy/app/helpers/books_helper.rb
69
+ - test/dummy/app/models/book.rb
70
+ - test/dummy/app/views/attribute_presentation/_layout.html.erb
71
+ - test/dummy/app/views/books/index.html.erb
72
+ - test/dummy/app/views/layouts/application.html.erb
73
+ - test/dummy/bin/bundle
74
+ - test/dummy/bin/rails
75
+ - test/dummy/bin/rake
76
+ - test/dummy/config/application.rb
77
+ - test/dummy/config/boot.rb
78
+ - test/dummy/config/database.yml
79
+ - test/dummy/config/environment.rb
80
+ - test/dummy/config/environments/development.rb
81
+ - test/dummy/config/environments/production.rb
82
+ - test/dummy/config/environments/test.rb
83
+ - test/dummy/config/initializers/backtrace_silencers.rb
84
+ - test/dummy/config/initializers/filter_parameter_logging.rb
85
+ - test/dummy/config/initializers/inflections.rb
86
+ - test/dummy/config/initializers/mime_types.rb
87
+ - test/dummy/config/initializers/secret_token.rb
88
+ - test/dummy/config/initializers/session_store.rb
89
+ - test/dummy/config/initializers/wrap_parameters.rb
90
+ - test/dummy/config/locales/en.yml
91
+ - test/dummy/config/routes.rb
92
+ - test/dummy/config.ru
93
+ - test/dummy/db/development.sqlite3
94
+ - test/dummy/db/migrate/20131014134500_create_books.rb
95
+ - test/dummy/db/schema.rb
96
+ - test/dummy/db/seeds.rb
97
+ - test/dummy/db/test.sqlite3
98
+ - test/dummy/log/development.log
99
+ - test/dummy/log/test.log
100
+ - test/dummy/public/404.html
101
+ - test/dummy/public/422.html
102
+ - test/dummy/public/500.html
103
+ - test/dummy/public/favicon.ico
104
+ - test/dummy/Rakefile
105
+ - test/dummy/README.rdoc
106
+ - test/dummy/test/fixtures/books.yml
107
+ - test/dummy/test/views/index.html.erb_test.rb
108
+ - test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
109
+ - test/dummy/tmp/cache/assets/development/sprockets/2afdbb3902a1be5d2f045cfc837903a3
110
+ - test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
111
+ - test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
112
+ - test/dummy/tmp/cache/assets/development/sprockets/5a15e52e84502f9fceb7ea04020f65fc
113
+ - test/dummy/tmp/cache/assets/development/sprockets/64db420a3a172209bf0b734312a4888a
114
+ - test/dummy/tmp/cache/assets/development/sprockets/67ff5689dfcb845e86b74aa2d787edef
115
+ - test/dummy/tmp/cache/assets/development/sprockets/787b6a4c2386b5edf98f90508b85cc3d
116
+ - test/dummy/tmp/cache/assets/development/sprockets/b950c5d77d355ffc7f0edf748e04b138
117
+ - test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
118
+ - test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
119
+ - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
120
+ - test/test_helper.rb
121
+ - test/unified_partials_test.rb
122
+ homepage: http://github.com/samsm/unified_partials
123
+ licenses: []
124
+ metadata: {}
125
+ post_install_message:
126
+ rdoc_options: []
127
+ require_paths:
128
+ - lib
129
+ required_ruby_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ required_rubygems_version: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ requirements: []
140
+ rubyforge_project:
141
+ rubygems_version: 2.0.6
142
+ signing_key:
143
+ specification_version: 4
144
+ summary: Site-wide view partials made easier.
145
+ test_files:
146
+ - test/dummy/app/assets/javascripts/application.js
147
+ - test/dummy/app/assets/javascripts/books.js
148
+ - test/dummy/app/assets/stylesheets/application.css
149
+ - test/dummy/app/assets/stylesheets/books.css
150
+ - test/dummy/app/controllers/application_controller.rb
151
+ - test/dummy/app/controllers/books_controller.rb
152
+ - test/dummy/app/helpers/application_helper.rb
153
+ - test/dummy/app/helpers/books_helper.rb
154
+ - test/dummy/app/models/book.rb
155
+ - test/dummy/app/views/attribute_presentation/_layout.html.erb
156
+ - test/dummy/app/views/books/index.html.erb
157
+ - test/dummy/app/views/layouts/application.html.erb
158
+ - test/dummy/bin/bundle
159
+ - test/dummy/bin/rails
160
+ - test/dummy/bin/rake
161
+ - test/dummy/config/application.rb
162
+ - test/dummy/config/boot.rb
163
+ - test/dummy/config/database.yml
164
+ - test/dummy/config/environment.rb
165
+ - test/dummy/config/environments/development.rb
166
+ - test/dummy/config/environments/production.rb
167
+ - test/dummy/config/environments/test.rb
168
+ - test/dummy/config/initializers/backtrace_silencers.rb
169
+ - test/dummy/config/initializers/filter_parameter_logging.rb
170
+ - test/dummy/config/initializers/inflections.rb
171
+ - test/dummy/config/initializers/mime_types.rb
172
+ - test/dummy/config/initializers/secret_token.rb
173
+ - test/dummy/config/initializers/session_store.rb
174
+ - test/dummy/config/initializers/wrap_parameters.rb
175
+ - test/dummy/config/locales/en.yml
176
+ - test/dummy/config/routes.rb
177
+ - test/dummy/config.ru
178
+ - test/dummy/db/development.sqlite3
179
+ - test/dummy/db/migrate/20131014134500_create_books.rb
180
+ - test/dummy/db/schema.rb
181
+ - test/dummy/db/seeds.rb
182
+ - test/dummy/db/test.sqlite3
183
+ - test/dummy/log/development.log
184
+ - test/dummy/log/test.log
185
+ - test/dummy/public/404.html
186
+ - test/dummy/public/422.html
187
+ - test/dummy/public/500.html
188
+ - test/dummy/public/favicon.ico
189
+ - test/dummy/Rakefile
190
+ - test/dummy/README.rdoc
191
+ - test/dummy/test/fixtures/books.yml
192
+ - test/dummy/test/views/index.html.erb_test.rb
193
+ - test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
194
+ - test/dummy/tmp/cache/assets/development/sprockets/2afdbb3902a1be5d2f045cfc837903a3
195
+ - test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
196
+ - test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
197
+ - test/dummy/tmp/cache/assets/development/sprockets/5a15e52e84502f9fceb7ea04020f65fc
198
+ - test/dummy/tmp/cache/assets/development/sprockets/64db420a3a172209bf0b734312a4888a
199
+ - test/dummy/tmp/cache/assets/development/sprockets/67ff5689dfcb845e86b74aa2d787edef
200
+ - test/dummy/tmp/cache/assets/development/sprockets/787b6a4c2386b5edf98f90508b85cc3d
201
+ - test/dummy/tmp/cache/assets/development/sprockets/b950c5d77d355ffc7f0edf748e04b138
202
+ - test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
203
+ - test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
204
+ - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
205
+ - test/test_helper.rb
206
+ - test/unified_partials_test.rb