bird_on_it 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +180 -0
  3. data/lib/bird_on_it.rb +1 -2
  4. data/lib/bird_on_it/decorator.rb +2 -0
  5. data/lib/bird_on_it/version.rb +1 -1
  6. data/test/bird_on_it_test.rb +28 -24
  7. data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
  8. data/test/dummy/app/controllers/tote_bags_controller.rb +62 -0
  9. data/test/dummy/app/decorators/tote_bag_decorator.rb +23 -0
  10. data/test/dummy/app/models/tote_bag.rb +5 -0
  11. data/test/dummy/app/views/tote_bags/_form.html.erb +29 -0
  12. data/test/dummy/app/views/tote_bags/edit.html.erb +6 -0
  13. data/test/dummy/app/views/tote_bags/index.html.erb +31 -0
  14. data/test/dummy/app/views/tote_bags/new.html.erb +5 -0
  15. data/test/dummy/app/views/tote_bags/show.html.erb +20 -0
  16. data/test/dummy/config/routes.rb +2 -0
  17. data/test/dummy/db/development.sqlite3 +0 -0
  18. data/test/dummy/db/migrate/20140314082207_create_tote_bags.rb +11 -0
  19. data/test/dummy/db/schema.rb +24 -0
  20. data/test/dummy/db/test.sqlite3 +0 -0
  21. data/test/dummy/log/development.log +2477 -0
  22. data/test/dummy/log/test.log +41 -0
  23. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  24. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  25. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  26. data/test/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
  27. data/test/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5 +0 -0
  28. data/test/dummy/tmp/cache/assets/development/sprockets/580936cd6180b0b516e323ab3b9290bc +0 -0
  29. data/test/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
  30. data/test/dummy/tmp/cache/assets/development/sprockets/a77bf3dfc15bd59697d7d51fa6a8ebaa +0 -0
  31. data/test/dummy/tmp/cache/assets/development/sprockets/ab3c84b0c7e5ccef7125dd305453cb65 +0 -0
  32. data/test/dummy/tmp/cache/assets/development/sprockets/c530934da9c9116acfdee38204d3cf73 +0 -0
  33. data/test/dummy/tmp/cache/assets/development/sprockets/ce526a9f65d6aa96f21611970cabe56c +0 -0
  34. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  35. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  36. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  37. data/test/dummy/tmp/cache/assets/development/sprockets/fa809407dd24d48afa01dc34b11c60b6 +0 -0
  38. metadata +57 -7
  39. data/README.rdoc +0 -3
  40. data/test/dummy/app/decorators/canvas_bag_decorator.rb +0 -7
  41. data/test/dummy/app/models/canvas_bag.rb +0 -7
@@ -218,3 +218,44 @@ BirdOnItTest: test_truth
218
218
  BirdOnItTest: test_truth
219
219
  ------------------------
220
220
   (0.1ms) rollback transaction
221
+  (0.3ms) begin transaction
222
+ -------------------------------------------------------
223
+ CanvasBagsControllerTest: test_should_create_canvas_bag
224
+ -------------------------------------------------------
225
+  (0.1ms) rollback transaction
226
+  (0.1ms) begin transaction
227
+ --------------------------------------------------------
228
+ CanvasBagsControllerTest: test_should_destroy_canvas_bag
229
+ --------------------------------------------------------
230
+  (0.0ms) rollback transaction
231
+  (0.0ms) begin transaction
232
+ ----------------------------------------------
233
+ CanvasBagsControllerTest: test_should_get_edit
234
+ ----------------------------------------------
235
+  (0.1ms) rollback transaction
236
+  (0.0ms) begin transaction
237
+ -----------------------------------------------
238
+ CanvasBagsControllerTest: test_should_get_index
239
+ -----------------------------------------------
240
+  (0.0ms) rollback transaction
241
+  (0.0ms) begin transaction
242
+ ---------------------------------------------
243
+ CanvasBagsControllerTest: test_should_get_new
244
+ ---------------------------------------------
245
+  (0.0ms) rollback transaction
246
+  (0.0ms) begin transaction
247
+ -----------------------------------------------------
248
+ CanvasBagsControllerTest: test_should_show_canvas_bag
249
+ -----------------------------------------------------
250
+  (0.0ms) rollback transaction
251
+  (0.0ms) begin transaction
252
+ -------------------------------------------------------
253
+ CanvasBagsControllerTest: test_should_update_canvas_bag
254
+ -------------------------------------------------------
255
+  (0.0ms) rollback transaction
256
+  (1.3ms) CREATE TABLE "tote_bags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "colour" varchar(255), "material" varchar(255), "straps" boolean, "created_at" datetime, "updated_at" datetime) 
257
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
258
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
259
+  (0.1ms) SELECT version FROM "schema_migrations"
260
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140314082207')
261
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bird_on_it
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Croome
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-14 00:00:00.000000000 Z
11
+ date: 2014-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -51,15 +51,22 @@ files:
51
51
  - lib/tasks/bird_on_it_tasks.rake
52
52
  - MIT-LICENSE
53
53
  - Rakefile
54
- - README.rdoc
54
+ - README.md
55
55
  - test/bird_on_it_test.rb
56
56
  - test/dummy/app/assets/javascripts/application.js
57
57
  - test/dummy/app/assets/stylesheets/application.css
58
+ - test/dummy/app/assets/stylesheets/scaffold.css
58
59
  - test/dummy/app/controllers/application_controller.rb
59
- - test/dummy/app/decorators/canvas_bag_decorator.rb
60
+ - test/dummy/app/controllers/tote_bags_controller.rb
61
+ - test/dummy/app/decorators/tote_bag_decorator.rb
60
62
  - test/dummy/app/helpers/application_helper.rb
61
- - test/dummy/app/models/canvas_bag.rb
63
+ - test/dummy/app/models/tote_bag.rb
62
64
  - test/dummy/app/views/layouts/application.html.erb
65
+ - test/dummy/app/views/tote_bags/_form.html.erb
66
+ - test/dummy/app/views/tote_bags/edit.html.erb
67
+ - test/dummy/app/views/tote_bags/index.html.erb
68
+ - test/dummy/app/views/tote_bags/new.html.erb
69
+ - test/dummy/app/views/tote_bags/show.html.erb
63
70
  - test/dummy/bin/bundle
64
71
  - test/dummy/bin/rails
65
72
  - test/dummy/bin/rake
@@ -80,6 +87,9 @@ files:
80
87
  - test/dummy/config/locales/en.yml
81
88
  - test/dummy/config/routes.rb
82
89
  - test/dummy/config.ru
90
+ - test/dummy/db/development.sqlite3
91
+ - test/dummy/db/migrate/20140314082207_create_tote_bags.rb
92
+ - test/dummy/db/schema.rb
83
93
  - test/dummy/db/test.sqlite3
84
94
  - test/dummy/log/development.log
85
95
  - test/dummy/log/test.log
@@ -89,6 +99,21 @@ files:
89
99
  - test/dummy/public/favicon.ico
90
100
  - test/dummy/Rakefile
91
101
  - test/dummy/README.rdoc
102
+ - test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
103
+ - test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
104
+ - test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
105
+ - test/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212
106
+ - test/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5
107
+ - test/dummy/tmp/cache/assets/development/sprockets/580936cd6180b0b516e323ab3b9290bc
108
+ - test/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2
109
+ - test/dummy/tmp/cache/assets/development/sprockets/a77bf3dfc15bd59697d7d51fa6a8ebaa
110
+ - test/dummy/tmp/cache/assets/development/sprockets/ab3c84b0c7e5ccef7125dd305453cb65
111
+ - test/dummy/tmp/cache/assets/development/sprockets/c530934da9c9116acfdee38204d3cf73
112
+ - test/dummy/tmp/cache/assets/development/sprockets/ce526a9f65d6aa96f21611970cabe56c
113
+ - test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
114
+ - test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
115
+ - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
116
+ - test/dummy/tmp/cache/assets/development/sprockets/fa809407dd24d48afa01dc34b11c60b6
92
117
  - test/test_helper.rb
93
118
  homepage: https://github.com/andrewcroome/bird-on-it
94
119
  licenses: []
@@ -117,11 +142,18 @@ test_files:
117
142
  - test/bird_on_it_test.rb
118
143
  - test/dummy/app/assets/javascripts/application.js
119
144
  - test/dummy/app/assets/stylesheets/application.css
145
+ - test/dummy/app/assets/stylesheets/scaffold.css
120
146
  - test/dummy/app/controllers/application_controller.rb
121
- - test/dummy/app/decorators/canvas_bag_decorator.rb
147
+ - test/dummy/app/controllers/tote_bags_controller.rb
148
+ - test/dummy/app/decorators/tote_bag_decorator.rb
122
149
  - test/dummy/app/helpers/application_helper.rb
123
- - test/dummy/app/models/canvas_bag.rb
150
+ - test/dummy/app/models/tote_bag.rb
124
151
  - test/dummy/app/views/layouts/application.html.erb
152
+ - test/dummy/app/views/tote_bags/_form.html.erb
153
+ - test/dummy/app/views/tote_bags/edit.html.erb
154
+ - test/dummy/app/views/tote_bags/index.html.erb
155
+ - test/dummy/app/views/tote_bags/new.html.erb
156
+ - test/dummy/app/views/tote_bags/show.html.erb
125
157
  - test/dummy/bin/bundle
126
158
  - test/dummy/bin/rails
127
159
  - test/dummy/bin/rake
@@ -142,6 +174,9 @@ test_files:
142
174
  - test/dummy/config/locales/en.yml
143
175
  - test/dummy/config/routes.rb
144
176
  - test/dummy/config.ru
177
+ - test/dummy/db/development.sqlite3
178
+ - test/dummy/db/migrate/20140314082207_create_tote_bags.rb
179
+ - test/dummy/db/schema.rb
145
180
  - test/dummy/db/test.sqlite3
146
181
  - test/dummy/log/development.log
147
182
  - test/dummy/log/test.log
@@ -151,4 +186,19 @@ test_files:
151
186
  - test/dummy/public/favicon.ico
152
187
  - test/dummy/Rakefile
153
188
  - test/dummy/README.rdoc
189
+ - test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
190
+ - test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
191
+ - test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
192
+ - test/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212
193
+ - test/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5
194
+ - test/dummy/tmp/cache/assets/development/sprockets/580936cd6180b0b516e323ab3b9290bc
195
+ - test/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2
196
+ - test/dummy/tmp/cache/assets/development/sprockets/a77bf3dfc15bd59697d7d51fa6a8ebaa
197
+ - test/dummy/tmp/cache/assets/development/sprockets/ab3c84b0c7e5ccef7125dd305453cb65
198
+ - test/dummy/tmp/cache/assets/development/sprockets/c530934da9c9116acfdee38204d3cf73
199
+ - test/dummy/tmp/cache/assets/development/sprockets/ce526a9f65d6aa96f21611970cabe56c
200
+ - test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
201
+ - test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
202
+ - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
203
+ - test/dummy/tmp/cache/assets/development/sprockets/fa809407dd24d48afa01dc34b11c60b6
154
204
  - test/test_helper.rb
data/README.rdoc DELETED
@@ -1,3 +0,0 @@
1
- = BirdOnIt
2
-
3
- This project rocks and uses MIT-LICENSE.
@@ -1,7 +0,0 @@
1
- class CanvasBagDecorator
2
- include BirdOnIt::Decorator
3
-
4
- def css_classes
5
- 'bird'
6
- end
7
- end
@@ -1,7 +0,0 @@
1
- class CanvasBag
2
- include BirdOnIt
3
-
4
- def color
5
- 'white'
6
- end
7
- end