poodle-rb 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +8 -12
  3. data/app/controllers/poodle/admin_controller.rb +6 -0
  4. data/app/views/layouts/poodle/application.html.erb +1 -1
  5. data/app/views/layouts/poodle/public.html.erb +1 -1
  6. data/config/initializers/poodle_validators.rb +59 -0
  7. data/config/initializers/state_machines_scopes.rb +23 -0
  8. data/lib/poodle/action_view/theme_helper.rb +32 -28
  9. data/lib/poodle/engine.rb +9 -0
  10. data/lib/poodle/version.rb +1 -1
  11. data/{test → spec}/dummy/README.rdoc +0 -0
  12. data/{test → spec}/dummy/Rakefile +0 -0
  13. data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -0
  14. data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -0
  15. data/{test → spec}/dummy/app/controllers/application_controller.rb +0 -0
  16. data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
  17. data/spec/dummy/app/models/profile_picture.rb +8 -0
  18. data/spec/dummy/app/models/user.rb +5 -0
  19. data/spec/dummy/app/uploaders/image_uploader.rb +81 -0
  20. data/{test → spec}/dummy/app/views/layouts/application.html.erb +0 -0
  21. data/{test → spec}/dummy/bin/bundle +0 -0
  22. data/{test → spec}/dummy/bin/rails +0 -0
  23. data/{test → spec}/dummy/bin/rake +0 -0
  24. data/{test → spec}/dummy/config.ru +0 -0
  25. data/{test → spec}/dummy/config/application.rb +1 -1
  26. data/{test → spec}/dummy/config/boot.rb +0 -0
  27. data/{test → spec}/dummy/config/database.yml +0 -0
  28. data/{test → spec}/dummy/config/environment.rb +0 -0
  29. data/{test → spec}/dummy/config/environments/development.rb +0 -0
  30. data/{test → spec}/dummy/config/environments/production.rb +0 -0
  31. data/{test → spec}/dummy/config/environments/test.rb +2 -1
  32. data/{test → spec}/dummy/config/initializers/assets.rb +0 -0
  33. data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
  34. data/{test → spec}/dummy/config/initializers/cookies_serializer.rb +0 -0
  35. data/{test → spec}/dummy/config/initializers/filter_parameter_logging.rb +0 -0
  36. data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
  37. data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
  38. data/{test → spec}/dummy/config/initializers/session_store.rb +0 -0
  39. data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
  40. data/{test → spec}/dummy/config/routes.rb +0 -0
  41. data/{test → spec}/dummy/config/secrets.yml +0 -0
  42. data/spec/dummy/db/migrate/20131108102728_create_profile_pictures.rb +9 -0
  43. data/spec/dummy/db/migrate/20140402113213_create_users.rb +10 -0
  44. data/spec/dummy/db/schema.rb +29 -0
  45. data/spec/dummy/db/test.sqlite3 +0 -0
  46. data/spec/dummy/log/test.log +8276 -0
  47. data/{test → spec}/dummy/public/404.html +0 -0
  48. data/{test → spec}/dummy/public/422.html +0 -0
  49. data/{test → spec}/dummy/public/500.html +0 -0
  50. data/{test → spec}/dummy/public/favicon.ico +0 -0
  51. data/spec/dummy/public/uploads/profile_picture/image/1/large_test.jpg +0 -0
  52. data/spec/dummy/public/uploads/profile_picture/image/1/medium_test.jpg +0 -0
  53. data/spec/dummy/public/uploads/profile_picture/image/1/test.jpg +0 -0
  54. data/spec/dummy/public/uploads/profile_picture/image/1/thumb_test.jpg +0 -0
  55. data/spec/dummy/spec/helpers/theme_helper_spec.rb +160 -0
  56. data/spec/dummy/spec/support/factories/profile_pictures.rb +6 -0
  57. data/spec/dummy/spec/support/factories/test.jpg +0 -0
  58. data/spec/dummy/spec/support/factories/users.rb +13 -0
  59. data/spec/spec_helper.rb +34 -0
  60. metadata +262 -74
  61. data/test/dummy/config/locales/en.yml +0 -23
  62. data/test/integration/navigation_test.rb +0 -10
  63. data/test/poodle_test.rb +0 -7
  64. data/test/test_helper.rb +0 -19
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,160 @@
1
+ require 'spec_helper'
2
+
3
+ module Poodle
4
+ module ActionView
5
+ describe ThemeHelper, type: :helper do
6
+
7
+ describe '#theme_fa_icon' do
8
+ it "theme_fa_icon" do
9
+ expect(helper.theme_fa_icon("some-class")).to eq("<i class='fa fa-some-class'></i>")
10
+ expect(helper.theme_fa_icon("some-class", "lg")).to eq("<i class='fa fa-some-class fa-lg'></i>")
11
+ expect(helper.theme_fa_icon("some-class", "2x")).to eq("<i class='fa fa-some-class fa-2x'></i>")
12
+ expect(helper.theme_fa_icon("some-class", "invalid")).to eq("<i class='fa fa-some-class'></i>")
13
+ end
14
+ end
15
+
16
+ describe '#theme_button_text' do
17
+ it "theme_button_text" do
18
+ expect(helper.theme_button_text("Some Text")).to eq("<span class='btn-text'> Some Text</span>")
19
+ end
20
+ end
21
+
22
+ describe '#theme_button' do
23
+ it "theme_button" do
24
+ expect(helper.theme_button("Create User", 'user-icon', '/some/url')).to eq("<a class=\"btn btn-primary btn-md pull-right ml-5 mb-5\" data-remote=\"true\" data-method=\"get\" href=\"/some/url\"><i class='fa fa-user-icon'></i><span class='btn-text'> Create User</span></a>")
25
+
26
+ options = { method: :post, remote: false, btn_type: :danger, btn_size: :lg, classes: "cls-abc", data: {} }
27
+ expect(helper.theme_button("Create User", 'user-icon', '/some/url', **options)).to eq("<a class=\"btn btn-danger btn-lg cls-abc\" rel=\"nofollow\" data-method=\"post\" href=\"/some/url\"><i class='fa fa-user-icon'></i><span class='btn-text'> Create User</span></a>")
28
+ end
29
+ end
30
+
31
+ describe '#theme_edit_button' do
32
+ it "theme_edit_button" do
33
+ expect(helper.theme_edit_button('/edit/url')).to eq("<a class=\"btn btn-default btn-xs pull-right ml-10\" data-remote=\"true\" data-method=\"get\" href=\"/edit/url\"><i class='fa fa-edit'></i><span class='btn-text'> Edit</span></a>")
34
+
35
+ options = { text: "Custom Edit", icon: "edit-icon", method: :post, remote: false, btn_type: :danger, btn_size: :lg, classes: "cls-abc", data: {} }
36
+ expect(helper.theme_edit_button('/edit/url', **options)).to eq("<a class=\"btn btn-danger btn-lg cls-abc\" rel=\"nofollow\" data-method=\"post\" href=\"/edit/url\"><i class='fa fa-edit-icon'></i><span class='btn-text'> Custom Edit</span></a>")
37
+ end
38
+ end
39
+
40
+ describe '#theme_delete_button' do
41
+ it "theme_delete_button" do
42
+ expect(helper.theme_delete_button('/delete/url')).to eq("<a class=\"btn btn-danger btn-xs pull-right ml-10\" data-confirm=\"Are you sure?\" data-remote=\"true\" rel=\"nofollow\" data-method=\"delete\" href=\"/delete/url\"><i class='fa fa-trash'></i><span class='btn-text'> Delete</span></a>")
43
+
44
+ options = { text: "Custom Delete", icon: "delete-icon", method: :post, remote: false, btn_type: :danger, btn_size: :lg, classes: "cls-abc", data: {confirm: "Sure?"} }
45
+ expect(helper.theme_delete_button('/delete/url', **options)).to eq("<a class=\"btn btn-danger btn-lg cls-abc\" data-confirm=\"Sure?\" rel=\"nofollow\" data-method=\"post\" href=\"/delete/url\"><i class='fa fa-delete-icon'></i><span class='btn-text'> Custom Delete</span></a>")
46
+ end
47
+ end
48
+
49
+ describe '#theme_heading' do
50
+ it "theme_heading" do
51
+ expect(helper.theme_heading("Heading Text")).to eq("<div class=\"row mb-10\"><div class=\"fs-22 col-sm-12\"><i class='fa fa-rub fa-lg'></i> Heading Text</div></div>")
52
+ expect(helper.theme_heading("Heading Text2", icon='icon-abcd')).to eq("<div class=\"row mb-10\"><div class=\"fs-22 col-sm-12\"><i class='fa fa-icon-abcd fa-lg'></i> Heading Text2</div></div>")
53
+ end
54
+ end
55
+
56
+ describe '#theme_search_form' do
57
+ it "theme_search_form" do
58
+ end
59
+ end
60
+
61
+ describe '#theme_drop_down' do
62
+ it "theme_drop_down" do
63
+ end
64
+ end
65
+
66
+ describe '#clear_tag' do
67
+ it "clear_tag" do
68
+ end
69
+ end
70
+
71
+ describe '#theme_paginate' do
72
+ it "theme_paginate" do
73
+ end
74
+ end
75
+
76
+ describe '#theme_panel_message' do
77
+ it "theme_panel_message" do
78
+ end
79
+ end
80
+
81
+ describe '#theme_panel_title' do
82
+ it "theme_panel_title" do
83
+ end
84
+ end
85
+
86
+ describe '#theme_item_title' do
87
+ it "theme_item_title" do
88
+ end
89
+ end
90
+
91
+ describe '#theme_item_sub_title' do
92
+ it "theme_item_sub_title" do
93
+ end
94
+ end
95
+
96
+ describe '#theme_item_description' do
97
+ it "theme_item_description" do
98
+ end
99
+ end
100
+
101
+ describe '#theme_detail_box' do
102
+ it "theme_detail_box" do
103
+ end
104
+ end
105
+
106
+ describe '#theme_more_widget' do
107
+ it "theme_more_widget" do
108
+ end
109
+ end
110
+
111
+ describe '#theme_panel_heading' do
112
+ it "theme_panel_heading" do
113
+ end
114
+ end
115
+
116
+ describe '#theme_panel_sub_heading' do
117
+ it "theme_panel_sub_heading" do
118
+ end
119
+ end
120
+
121
+ describe '#theme_panel_description' do
122
+ it "theme_panel_description" do
123
+ end
124
+ end
125
+
126
+ describe '#theme_image' do
127
+ it "theme_image" do
128
+ end
129
+ end
130
+
131
+ describe '#palceholdit' do
132
+ it "palceholdit" do
133
+ expect(helper.palceholdit()).to eq("http://placehold.it/60x60&text=<No Image>")
134
+ expect(helper.palceholdit(width: 60, height: 40, text: "Not Found")).to eq("http://placehold.it/60x40&text=Not Found")
135
+ end
136
+ end
137
+
138
+ describe '#theme_user_image' do
139
+ let(:user) { FactoryGirl.create(:user) }
140
+ let(:user_with_image) { FactoryGirl.create(:user_with_image, name: "Some Name") }
141
+ it "should display placeholder image for user without image" do
142
+ expect(helper.theme_user_image(user, "profile_picture.image_url(:thumb)")).to eq("<div><div class=\"rounded\" style=\"width:60px;height:60px;\"><img class=\"\" style=\"width:100%;height:auto;cursor:pointer;\" src=\"http://placehold.it/60x60&amp;text=&lt;No Image&gt;\" alt=\"60x60&amp;text=&lt;no image&gt;\" /></div></div>")
143
+ end
144
+
145
+ it "should display the profile picture user with image" do
146
+ # data-toggle=\"popover\" data-placement=\"bottom\" title=\"Some Name\" data-content=\"true\"
147
+ expect(helper.theme_user_image(user_with_image, "profile_picture.image_url(:thumb)")).to eq("<div><div class=\"rounded\" style=\"width:60px;height:60px;\"><img class=\"\" style=\"width:100%;height:auto;cursor:pointer;\" src=\"http://localhost:9001/uploads/profile_picture/image/1/thumb_test.jpg\" alt=\"Thumb test\" /></div></div>")
148
+ end
149
+
150
+ it "should display the profile picture with popover" do
151
+ expect(helper.theme_user_image(user_with_image, "profile_picture.image_url(:thumb)", popover: true)).to eq("<div><div class=\"rounded\" style=\"width:60px;height:60px;\"><img class=\"\" style=\"width:100%;height:auto;cursor:pointer;\" data-toggle=\"popover\" data-placement=\"bottom\" title=\"Some Name\" data-content=\"\" src=\"http://localhost:9001/uploads/profile_picture/image/1/thumb_test.jpg\" alt=\"Thumb test\" /></div></div>")
152
+
153
+ expect(helper.theme_user_image(user_with_image, "profile_picture.image_url(:thumb)", popover:
154
+ "Hello")).to eq("<div><div class=\"rounded\" style=\"width:60px;height:60px;\"><img class=\"\" style=\"width:100%;height:auto;cursor:pointer;\" data-toggle=\"popover\" data-placement=\"bottom\" title=\"Some Name\" data-content=\"Hello\" src=\"http://localhost:9001/uploads/profile_picture/image/1/thumb_test.jpg\" alt=\"Thumb test\" /></div></div>")
155
+ end
156
+ end
157
+
158
+ end
159
+ end
160
+ end
@@ -0,0 +1,6 @@
1
+ FactoryGirl.define do
2
+ factory :profile_picture do
3
+ image { Rack::Test::UploadedFile.new(Rails.root + 'spec/support/factories/test.jpg', 'image/jpg') }
4
+ user
5
+ end
6
+ end
@@ -0,0 +1,13 @@
1
+ FactoryGirl.define do
2
+
3
+ factory :user do
4
+ name "First Middle Last"
5
+ end
6
+
7
+ factory :user_with_image, parent: :user do
8
+ after(:create) do |user|
9
+ FactoryGirl.create(:profile_picture, user: user)
10
+ end
11
+ end
12
+
13
+ end
@@ -0,0 +1,34 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
3
+ require 'rspec/rails'
4
+ require 'database_cleaner'
5
+ require 'pry'
6
+ require 'carrierWave'
7
+ require 'carrierwave/orm/activerecord'
8
+ #require 'rspec/autorun'
9
+
10
+ require 'factory_girl_rails'
11
+ # Load Dummy Factories
12
+ ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), 'dummy/')
13
+ Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/factories/**/*.rb")].each {|f| require f }
14
+
15
+ Rails.backtrace_cleaner.remove_silencers!
16
+
17
+ # Load support files
18
+ #Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
19
+ RSpec.configure do |config|
20
+ config.mock_with :rspec
21
+ config.use_transactional_fixtures = true
22
+ config.infer_base_class_for_anonymous_controllers = false
23
+ config.order = "random"
24
+
25
+ config.before(:each) do
26
+ DatabaseCleaner.start
27
+ end
28
+
29
+ config.after(:each) do
30
+ DatabaseCleaner.clean
31
+ end
32
+
33
+ end
34
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poodle-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krishnaprasad Varma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-05 00:00:00.000000000 Z
11
+ date: 2015-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kaminari
@@ -130,6 +130,166 @@ dependencies:
130
130
  - - ">="
131
131
  - !ruby/object:Gem::Version
132
132
  version: 4.1.5
133
+ - !ruby/object:Gem::Dependency
134
+ name: pry
135
+ requirement: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: 0.10.1
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: 0.10.0
143
+ type: :development
144
+ prerelease: false
145
+ version_requirements: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: 0.10.1
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: 0.10.0
153
+ - !ruby/object:Gem::Dependency
154
+ name: sqlite3
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 1.3.10
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: 1.3.9
163
+ type: :development
164
+ prerelease: false
165
+ version_requirements: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - "~>"
168
+ - !ruby/object:Gem::Version
169
+ version: 1.3.10
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: 1.3.9
173
+ - !ruby/object:Gem::Dependency
174
+ name: carrierwave
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: 0.10.0
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ version: 0.9.0
183
+ type: :development
184
+ prerelease: false
185
+ version_requirements: !ruby/object:Gem::Requirement
186
+ requirements:
187
+ - - "~>"
188
+ - !ruby/object:Gem::Version
189
+ version: 0.10.0
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: 0.9.0
193
+ - !ruby/object:Gem::Dependency
194
+ name: rmagick
195
+ requirement: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - "~>"
198
+ - !ruby/object:Gem::Version
199
+ version: 2.13.3
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ version: 2.13.2
203
+ type: :development
204
+ prerelease: false
205
+ version_requirements: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - "~>"
208
+ - !ruby/object:Gem::Version
209
+ version: 2.13.3
210
+ - - ">="
211
+ - !ruby/object:Gem::Version
212
+ version: 2.13.2
213
+ - !ruby/object:Gem::Dependency
214
+ name: rspec-rails
215
+ requirement: !ruby/object:Gem::Requirement
216
+ requirements:
217
+ - - "~>"
218
+ - !ruby/object:Gem::Version
219
+ version: 3.2.0
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: 3.1.0
223
+ type: :development
224
+ prerelease: false
225
+ version_requirements: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: 3.2.0
230
+ - - ">="
231
+ - !ruby/object:Gem::Version
232
+ version: 3.1.0
233
+ - !ruby/object:Gem::Dependency
234
+ name: capybara
235
+ requirement: !ruby/object:Gem::Requirement
236
+ requirements:
237
+ - - "~>"
238
+ - !ruby/object:Gem::Version
239
+ version: 2.4.4
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ version: 2.4.3
243
+ type: :development
244
+ prerelease: false
245
+ version_requirements: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - "~>"
248
+ - !ruby/object:Gem::Version
249
+ version: 2.4.4
250
+ - - ">="
251
+ - !ruby/object:Gem::Version
252
+ version: 2.4.3
253
+ - !ruby/object:Gem::Dependency
254
+ name: factory_girl_rails
255
+ requirement: !ruby/object:Gem::Requirement
256
+ requirements:
257
+ - - "~>"
258
+ - !ruby/object:Gem::Version
259
+ version: 4.5.0
260
+ - - ">="
261
+ - !ruby/object:Gem::Version
262
+ version: 4.4.0
263
+ type: :development
264
+ prerelease: false
265
+ version_requirements: !ruby/object:Gem::Requirement
266
+ requirements:
267
+ - - "~>"
268
+ - !ruby/object:Gem::Version
269
+ version: 4.5.0
270
+ - - ">="
271
+ - !ruby/object:Gem::Version
272
+ version: 4.4.0
273
+ - !ruby/object:Gem::Dependency
274
+ name: database_cleaner
275
+ requirement: !ruby/object:Gem::Requirement
276
+ requirements:
277
+ - - "~>"
278
+ - !ruby/object:Gem::Version
279
+ version: 1.4.0
280
+ - - ">="
281
+ - !ruby/object:Gem::Version
282
+ version: 1.3.0
283
+ type: :development
284
+ prerelease: false
285
+ version_requirements: !ruby/object:Gem::Requirement
286
+ requirements:
287
+ - - "~>"
288
+ - !ruby/object:Gem::Version
289
+ version: 1.4.0
290
+ - - ">="
291
+ - !ruby/object:Gem::Version
292
+ version: 1.3.0
133
293
  description: Poodle is a started kit for creating Rails Application. Poodle comes
134
294
  with built in UI (layout, css/JS) and some helpers which boost the creation of any
135
295
  prototype application
@@ -183,6 +343,8 @@ files:
183
343
  - app/views/layouts/poodle/public.html.erb
184
344
  - app/views/widgets/_more_details.html.erb
185
345
  - app/views/widgets/_more_details_table.html.erb
346
+ - config/initializers/poodle_validators.rb
347
+ - config/initializers/state_machines_scopes.rb
186
348
  - config/locales/poodle.yml
187
349
  - config/routes.rb
188
350
  - lib/poodle-rb.rb
@@ -194,42 +356,55 @@ files:
194
356
  - lib/poodle/railtie.rb
195
357
  - lib/poodle/version.rb
196
358
  - lib/tasks/poodle_tasks.rake
197
- - test/dummy/README.rdoc
198
- - test/dummy/Rakefile
199
- - test/dummy/app/assets/javascripts/application.js
200
- - test/dummy/app/assets/stylesheets/application.css
201
- - test/dummy/app/controllers/application_controller.rb
202
- - test/dummy/app/helpers/application_helper.rb
203
- - test/dummy/app/views/layouts/application.html.erb
204
- - test/dummy/bin/bundle
205
- - test/dummy/bin/rails
206
- - test/dummy/bin/rake
207
- - test/dummy/config.ru
208
- - test/dummy/config/application.rb
209
- - test/dummy/config/boot.rb
210
- - test/dummy/config/database.yml
211
- - test/dummy/config/environment.rb
212
- - test/dummy/config/environments/development.rb
213
- - test/dummy/config/environments/production.rb
214
- - test/dummy/config/environments/test.rb
215
- - test/dummy/config/initializers/assets.rb
216
- - test/dummy/config/initializers/backtrace_silencers.rb
217
- - test/dummy/config/initializers/cookies_serializer.rb
218
- - test/dummy/config/initializers/filter_parameter_logging.rb
219
- - test/dummy/config/initializers/inflections.rb
220
- - test/dummy/config/initializers/mime_types.rb
221
- - test/dummy/config/initializers/session_store.rb
222
- - test/dummy/config/initializers/wrap_parameters.rb
223
- - test/dummy/config/locales/en.yml
224
- - test/dummy/config/routes.rb
225
- - test/dummy/config/secrets.yml
226
- - test/dummy/public/404.html
227
- - test/dummy/public/422.html
228
- - test/dummy/public/500.html
229
- - test/dummy/public/favicon.ico
230
- - test/integration/navigation_test.rb
231
- - test/poodle_test.rb
232
- - test/test_helper.rb
359
+ - spec/dummy/README.rdoc
360
+ - spec/dummy/Rakefile
361
+ - spec/dummy/app/assets/javascripts/application.js
362
+ - spec/dummy/app/assets/stylesheets/application.css
363
+ - spec/dummy/app/controllers/application_controller.rb
364
+ - spec/dummy/app/helpers/application_helper.rb
365
+ - spec/dummy/app/models/profile_picture.rb
366
+ - spec/dummy/app/models/user.rb
367
+ - spec/dummy/app/uploaders/image_uploader.rb
368
+ - spec/dummy/app/views/layouts/application.html.erb
369
+ - spec/dummy/bin/bundle
370
+ - spec/dummy/bin/rails
371
+ - spec/dummy/bin/rake
372
+ - spec/dummy/config.ru
373
+ - spec/dummy/config/application.rb
374
+ - spec/dummy/config/boot.rb
375
+ - spec/dummy/config/database.yml
376
+ - spec/dummy/config/environment.rb
377
+ - spec/dummy/config/environments/development.rb
378
+ - spec/dummy/config/environments/production.rb
379
+ - spec/dummy/config/environments/test.rb
380
+ - spec/dummy/config/initializers/assets.rb
381
+ - spec/dummy/config/initializers/backtrace_silencers.rb
382
+ - spec/dummy/config/initializers/cookies_serializer.rb
383
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
384
+ - spec/dummy/config/initializers/inflections.rb
385
+ - spec/dummy/config/initializers/mime_types.rb
386
+ - spec/dummy/config/initializers/session_store.rb
387
+ - spec/dummy/config/initializers/wrap_parameters.rb
388
+ - spec/dummy/config/routes.rb
389
+ - spec/dummy/config/secrets.yml
390
+ - spec/dummy/db/migrate/20131108102728_create_profile_pictures.rb
391
+ - spec/dummy/db/migrate/20140402113213_create_users.rb
392
+ - spec/dummy/db/schema.rb
393
+ - spec/dummy/db/test.sqlite3
394
+ - spec/dummy/log/test.log
395
+ - spec/dummy/public/404.html
396
+ - spec/dummy/public/422.html
397
+ - spec/dummy/public/500.html
398
+ - spec/dummy/public/favicon.ico
399
+ - spec/dummy/public/uploads/profile_picture/image/1/large_test.jpg
400
+ - spec/dummy/public/uploads/profile_picture/image/1/medium_test.jpg
401
+ - spec/dummy/public/uploads/profile_picture/image/1/test.jpg
402
+ - spec/dummy/public/uploads/profile_picture/image/1/thumb_test.jpg
403
+ - spec/dummy/spec/helpers/theme_helper_spec.rb
404
+ - spec/dummy/spec/support/factories/profile_pictures.rb
405
+ - spec/dummy/spec/support/factories/test.jpg
406
+ - spec/dummy/spec/support/factories/users.rb
407
+ - spec/spec_helper.rb
233
408
  homepage: http://kpvarma.com
234
409
  licenses:
235
410
  - MIT
@@ -255,40 +430,53 @@ signing_key:
255
430
  specification_version: 4
256
431
  summary: Poodle is Rails Starter Kit
257
432
  test_files:
258
- - test/dummy/app/assets/javascripts/application.js
259
- - test/dummy/app/assets/stylesheets/application.css
260
- - test/dummy/app/controllers/application_controller.rb
261
- - test/dummy/app/helpers/application_helper.rb
262
- - test/dummy/app/views/layouts/application.html.erb
263
- - test/dummy/bin/bundle
264
- - test/dummy/bin/rails
265
- - test/dummy/bin/rake
266
- - test/dummy/config/application.rb
267
- - test/dummy/config/boot.rb
268
- - test/dummy/config/database.yml
269
- - test/dummy/config/environment.rb
270
- - test/dummy/config/environments/development.rb
271
- - test/dummy/config/environments/production.rb
272
- - test/dummy/config/environments/test.rb
273
- - test/dummy/config/initializers/assets.rb
274
- - test/dummy/config/initializers/backtrace_silencers.rb
275
- - test/dummy/config/initializers/cookies_serializer.rb
276
- - test/dummy/config/initializers/filter_parameter_logging.rb
277
- - test/dummy/config/initializers/inflections.rb
278
- - test/dummy/config/initializers/mime_types.rb
279
- - test/dummy/config/initializers/session_store.rb
280
- - test/dummy/config/initializers/wrap_parameters.rb
281
- - test/dummy/config/locales/en.yml
282
- - test/dummy/config/routes.rb
283
- - test/dummy/config/secrets.yml
284
- - test/dummy/config.ru
285
- - test/dummy/public/404.html
286
- - test/dummy/public/422.html
287
- - test/dummy/public/500.html
288
- - test/dummy/public/favicon.ico
289
- - test/dummy/Rakefile
290
- - test/dummy/README.rdoc
291
- - test/integration/navigation_test.rb
292
- - test/poodle_test.rb
293
- - test/test_helper.rb
433
+ - spec/dummy/app/assets/javascripts/application.js
434
+ - spec/dummy/app/assets/stylesheets/application.css
435
+ - spec/dummy/app/controllers/application_controller.rb
436
+ - spec/dummy/app/helpers/application_helper.rb
437
+ - spec/dummy/app/models/profile_picture.rb
438
+ - spec/dummy/app/models/user.rb
439
+ - spec/dummy/app/uploaders/image_uploader.rb
440
+ - spec/dummy/app/views/layouts/application.html.erb
441
+ - spec/dummy/bin/bundle
442
+ - spec/dummy/bin/rails
443
+ - spec/dummy/bin/rake
444
+ - spec/dummy/config/application.rb
445
+ - spec/dummy/config/boot.rb
446
+ - spec/dummy/config/database.yml
447
+ - spec/dummy/config/environment.rb
448
+ - spec/dummy/config/environments/development.rb
449
+ - spec/dummy/config/environments/production.rb
450
+ - spec/dummy/config/environments/test.rb
451
+ - spec/dummy/config/initializers/assets.rb
452
+ - spec/dummy/config/initializers/backtrace_silencers.rb
453
+ - spec/dummy/config/initializers/cookies_serializer.rb
454
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
455
+ - spec/dummy/config/initializers/inflections.rb
456
+ - spec/dummy/config/initializers/mime_types.rb
457
+ - spec/dummy/config/initializers/session_store.rb
458
+ - spec/dummy/config/initializers/wrap_parameters.rb
459
+ - spec/dummy/config/routes.rb
460
+ - spec/dummy/config/secrets.yml
461
+ - spec/dummy/config.ru
462
+ - spec/dummy/db/migrate/20131108102728_create_profile_pictures.rb
463
+ - spec/dummy/db/migrate/20140402113213_create_users.rb
464
+ - spec/dummy/db/schema.rb
465
+ - spec/dummy/db/test.sqlite3
466
+ - spec/dummy/log/test.log
467
+ - spec/dummy/public/404.html
468
+ - spec/dummy/public/422.html
469
+ - spec/dummy/public/500.html
470
+ - spec/dummy/public/favicon.ico
471
+ - spec/dummy/public/uploads/profile_picture/image/1/large_test.jpg
472
+ - spec/dummy/public/uploads/profile_picture/image/1/medium_test.jpg
473
+ - spec/dummy/public/uploads/profile_picture/image/1/test.jpg
474
+ - spec/dummy/public/uploads/profile_picture/image/1/thumb_test.jpg
475
+ - spec/dummy/Rakefile
476
+ - spec/dummy/README.rdoc
477
+ - spec/dummy/spec/helpers/theme_helper_spec.rb
478
+ - spec/dummy/spec/support/factories/profile_pictures.rb
479
+ - spec/dummy/spec/support/factories/test.jpg
480
+ - spec/dummy/spec/support/factories/users.rb
481
+ - spec/spec_helper.rb
294
482
  has_rdoc: