priceable 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. data/.rspec +2 -0
  2. data/Gemfile +1 -0
  3. data/README.md +27 -5
  4. data/lib/priceable.rb +8 -2
  5. data/lib/priceable/version.rb +1 -1
  6. data/priceable.gemspec +3 -0
  7. data/spec/priceable_spec.rb +27 -0
  8. data/spec/spec_helper.rb +14 -0
  9. data/test/dummy/.gitignore +15 -0
  10. data/test/dummy/Gemfile +39 -0
  11. data/test/dummy/README.rdoc +261 -0
  12. data/test/dummy/Rakefile +7 -0
  13. data/test/dummy/app/assets/images/rails.png +0 -0
  14. data/test/dummy/app/assets/javascripts/application.js +15 -0
  15. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  16. data/test/dummy/app/controllers/application_controller.rb +3 -0
  17. data/test/dummy/app/helpers/application_helper.rb +2 -0
  18. data/test/dummy/app/mailers/.gitkeep +0 -0
  19. data/test/dummy/app/models/.gitkeep +0 -0
  20. data/test/dummy/app/models/llama.rb +5 -0
  21. data/test/dummy/app/models/pig.rb +3 -0
  22. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  23. data/test/dummy/config.ru +4 -0
  24. data/test/dummy/config/application.rb +59 -0
  25. data/test/dummy/config/boot.rb +6 -0
  26. data/test/dummy/config/database.yml +25 -0
  27. data/test/dummy/config/environment.rb +5 -0
  28. data/test/dummy/config/environments/development.rb +37 -0
  29. data/test/dummy/config/environments/production.rb +67 -0
  30. data/test/dummy/config/environments/test.rb +37 -0
  31. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  32. data/test/dummy/config/initializers/inflections.rb +15 -0
  33. data/test/dummy/config/initializers/mime_types.rb +5 -0
  34. data/test/dummy/config/initializers/secret_token.rb +7 -0
  35. data/test/dummy/config/initializers/session_store.rb +8 -0
  36. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  37. data/test/dummy/config/locales/en.yml +5 -0
  38. data/test/dummy/config/routes.rb +58 -0
  39. data/test/dummy/db/migrate/20120503232408_create_llamas.rb +10 -0
  40. data/test/dummy/db/migrate/20120504005527_create_pigs.rb +10 -0
  41. data/test/dummy/db/schema.rb +30 -0
  42. data/test/dummy/db/seeds.rb +7 -0
  43. data/test/dummy/lib/assets/.gitkeep +0 -0
  44. data/test/dummy/lib/tasks/.gitkeep +0 -0
  45. data/test/dummy/log/.gitkeep +0 -0
  46. data/test/dummy/public/404.html +26 -0
  47. data/test/dummy/public/422.html +26 -0
  48. data/test/dummy/public/500.html +25 -0
  49. data/test/dummy/public/favicon.ico +0 -0
  50. data/test/dummy/public/index.html +241 -0
  51. data/test/dummy/public/robots.txt +5 -0
  52. data/test/dummy/script/rails +6 -0
  53. data/test/dummy/test/fixtures/.gitkeep +0 -0
  54. data/test/dummy/test/fixtures/llamas.yml +9 -0
  55. data/test/dummy/test/fixtures/pigs.yml +9 -0
  56. data/test/dummy/test/functional/.gitkeep +0 -0
  57. data/test/dummy/test/integration/.gitkeep +0 -0
  58. data/test/dummy/test/performance/browsing_test.rb +12 -0
  59. data/test/dummy/test/test_helper.rb +13 -0
  60. data/test/dummy/test/unit/.gitkeep +0 -0
  61. data/test/dummy/test/unit/llama_test.rb +7 -0
  62. data/test/dummy/test/unit/pig_test.rb +7 -0
  63. data/test/dummy/vendor/assets/javascripts/.gitkeep +0 -0
  64. data/test/dummy/vendor/assets/stylesheets/.gitkeep +0 -0
  65. data/test/dummy/vendor/plugins/.gitkeep +0 -0
  66. metadata +147 -6
@@ -0,0 +1,13 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
7
+ #
8
+ # Note: You'll currently still have to declare fixtures explicitly in integration tests
9
+ # -- they do not yet inherit this setting
10
+ fixtures :all
11
+
12
+ # Add more helper methods to be used by all tests here...
13
+ end
File without changes
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class LlamaTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class PigTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: priceable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,30 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-02 00:00:00.000000000 Z
13
- dependencies: []
12
+ date: 2012-05-04 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &70144036997460 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *70144036997460
25
+ - !ruby/object:Gem::Dependency
26
+ name: rspec
27
+ requirement: &70144036997040 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70144036997040
14
36
  description: Super simple way to store prices
15
37
  email:
16
38
  - will@willcosgrove.com
@@ -19,6 +41,7 @@ extensions: []
19
41
  extra_rdoc_files: []
20
42
  files:
21
43
  - .gitignore
44
+ - .rspec
22
45
  - Gemfile
23
46
  - LICENSE
24
47
  - README.md
@@ -26,6 +49,65 @@ files:
26
49
  - lib/priceable.rb
27
50
  - lib/priceable/version.rb
28
51
  - priceable.gemspec
52
+ - spec/priceable_spec.rb
53
+ - spec/spec_helper.rb
54
+ - test/dummy/.gitignore
55
+ - test/dummy/Gemfile
56
+ - test/dummy/README.rdoc
57
+ - test/dummy/Rakefile
58
+ - test/dummy/app/assets/images/rails.png
59
+ - test/dummy/app/assets/javascripts/application.js
60
+ - test/dummy/app/assets/stylesheets/application.css
61
+ - test/dummy/app/controllers/application_controller.rb
62
+ - test/dummy/app/helpers/application_helper.rb
63
+ - test/dummy/app/mailers/.gitkeep
64
+ - test/dummy/app/models/.gitkeep
65
+ - test/dummy/app/models/llama.rb
66
+ - test/dummy/app/models/pig.rb
67
+ - test/dummy/app/views/layouts/application.html.erb
68
+ - test/dummy/config.ru
69
+ - test/dummy/config/application.rb
70
+ - test/dummy/config/boot.rb
71
+ - test/dummy/config/database.yml
72
+ - test/dummy/config/environment.rb
73
+ - test/dummy/config/environments/development.rb
74
+ - test/dummy/config/environments/production.rb
75
+ - test/dummy/config/environments/test.rb
76
+ - test/dummy/config/initializers/backtrace_silencers.rb
77
+ - test/dummy/config/initializers/inflections.rb
78
+ - test/dummy/config/initializers/mime_types.rb
79
+ - test/dummy/config/initializers/secret_token.rb
80
+ - test/dummy/config/initializers/session_store.rb
81
+ - test/dummy/config/initializers/wrap_parameters.rb
82
+ - test/dummy/config/locales/en.yml
83
+ - test/dummy/config/routes.rb
84
+ - test/dummy/db/migrate/20120503232408_create_llamas.rb
85
+ - test/dummy/db/migrate/20120504005527_create_pigs.rb
86
+ - test/dummy/db/schema.rb
87
+ - test/dummy/db/seeds.rb
88
+ - test/dummy/lib/assets/.gitkeep
89
+ - test/dummy/lib/tasks/.gitkeep
90
+ - test/dummy/log/.gitkeep
91
+ - test/dummy/public/404.html
92
+ - test/dummy/public/422.html
93
+ - test/dummy/public/500.html
94
+ - test/dummy/public/favicon.ico
95
+ - test/dummy/public/index.html
96
+ - test/dummy/public/robots.txt
97
+ - test/dummy/script/rails
98
+ - test/dummy/test/fixtures/.gitkeep
99
+ - test/dummy/test/fixtures/llamas.yml
100
+ - test/dummy/test/fixtures/pigs.yml
101
+ - test/dummy/test/functional/.gitkeep
102
+ - test/dummy/test/integration/.gitkeep
103
+ - test/dummy/test/performance/browsing_test.rb
104
+ - test/dummy/test/test_helper.rb
105
+ - test/dummy/test/unit/.gitkeep
106
+ - test/dummy/test/unit/llama_test.rb
107
+ - test/dummy/test/unit/pig_test.rb
108
+ - test/dummy/vendor/assets/javascripts/.gitkeep
109
+ - test/dummy/vendor/assets/stylesheets/.gitkeep
110
+ - test/dummy/vendor/plugins/.gitkeep
29
111
  homepage: http://github.com/willcosgrove/priceable
30
112
  licenses: []
31
113
  post_install_message:
@@ -40,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
40
122
  version: '0'
41
123
  segments:
42
124
  - 0
43
- hash: -2353339057901911672
125
+ hash: 3243887087688970341
44
126
  required_rubygems_version: !ruby/object:Gem::Requirement
45
127
  none: false
46
128
  requirements:
@@ -49,11 +131,70 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
131
  version: '0'
50
132
  segments:
51
133
  - 0
52
- hash: -2353339057901911672
134
+ hash: 3243887087688970341
53
135
  requirements: []
54
136
  rubyforge_project:
55
137
  rubygems_version: 1.8.11
56
138
  signing_key:
57
139
  specification_version: 3
58
140
  summary: Quit storing prices the stupid way. Get Priceable!
59
- test_files: []
141
+ test_files:
142
+ - spec/priceable_spec.rb
143
+ - spec/spec_helper.rb
144
+ - test/dummy/.gitignore
145
+ - test/dummy/Gemfile
146
+ - test/dummy/README.rdoc
147
+ - test/dummy/Rakefile
148
+ - test/dummy/app/assets/images/rails.png
149
+ - test/dummy/app/assets/javascripts/application.js
150
+ - test/dummy/app/assets/stylesheets/application.css
151
+ - test/dummy/app/controllers/application_controller.rb
152
+ - test/dummy/app/helpers/application_helper.rb
153
+ - test/dummy/app/mailers/.gitkeep
154
+ - test/dummy/app/models/.gitkeep
155
+ - test/dummy/app/models/llama.rb
156
+ - test/dummy/app/models/pig.rb
157
+ - test/dummy/app/views/layouts/application.html.erb
158
+ - test/dummy/config.ru
159
+ - test/dummy/config/application.rb
160
+ - test/dummy/config/boot.rb
161
+ - test/dummy/config/database.yml
162
+ - test/dummy/config/environment.rb
163
+ - test/dummy/config/environments/development.rb
164
+ - test/dummy/config/environments/production.rb
165
+ - test/dummy/config/environments/test.rb
166
+ - test/dummy/config/initializers/backtrace_silencers.rb
167
+ - test/dummy/config/initializers/inflections.rb
168
+ - test/dummy/config/initializers/mime_types.rb
169
+ - test/dummy/config/initializers/secret_token.rb
170
+ - test/dummy/config/initializers/session_store.rb
171
+ - test/dummy/config/initializers/wrap_parameters.rb
172
+ - test/dummy/config/locales/en.yml
173
+ - test/dummy/config/routes.rb
174
+ - test/dummy/db/migrate/20120503232408_create_llamas.rb
175
+ - test/dummy/db/migrate/20120504005527_create_pigs.rb
176
+ - test/dummy/db/schema.rb
177
+ - test/dummy/db/seeds.rb
178
+ - test/dummy/lib/assets/.gitkeep
179
+ - test/dummy/lib/tasks/.gitkeep
180
+ - test/dummy/log/.gitkeep
181
+ - test/dummy/public/404.html
182
+ - test/dummy/public/422.html
183
+ - test/dummy/public/500.html
184
+ - test/dummy/public/favicon.ico
185
+ - test/dummy/public/index.html
186
+ - test/dummy/public/robots.txt
187
+ - test/dummy/script/rails
188
+ - test/dummy/test/fixtures/.gitkeep
189
+ - test/dummy/test/fixtures/llamas.yml
190
+ - test/dummy/test/fixtures/pigs.yml
191
+ - test/dummy/test/functional/.gitkeep
192
+ - test/dummy/test/integration/.gitkeep
193
+ - test/dummy/test/performance/browsing_test.rb
194
+ - test/dummy/test/test_helper.rb
195
+ - test/dummy/test/unit/.gitkeep
196
+ - test/dummy/test/unit/llama_test.rb
197
+ - test/dummy/test/unit/pig_test.rb
198
+ - test/dummy/vendor/assets/javascripts/.gitkeep
199
+ - test/dummy/vendor/assets/stylesheets/.gitkeep
200
+ - test/dummy/vendor/plugins/.gitkeep