spree_minicart 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -14,7 +14,11 @@ Installation
14
14
  To install Spree Minicart, just add the following to your Gemfile:
15
15
 
16
16
  ```ruby
17
- gem 'spree_minicart', '~> 0.0.3'
17
+ # Spree 1.0.X
18
+ gem 'spree_minicart', '~> 1.0.0'
19
+
20
+ # Spree 1.1.X
21
+ gem 'spree_size_chart', '~> 1.1.0'
18
22
  ```
19
23
 
20
24
  Now, bundle up with:
@@ -1,3 +1,3 @@
1
1
  module SpreeMinicart
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
@@ -6,6 +6,7 @@ feature "minicart", :js => true do
6
6
  scenario "customer should be able to add and delete a product in the minicart" do
7
7
  visit spree.products_path
8
8
  click_link("ror mug")
9
+
9
10
  click_button "Add To Cart"
10
11
 
11
12
  within("#link-to-cart a") do
data/spec/spec_helper.rb CHANGED
@@ -31,5 +31,5 @@ RSpec.configure do |config|
31
31
  # examples within a transaction, remove the following line or assign false
32
32
  # instead of true.
33
33
  config.use_transactional_fixtures = true
34
- config.include Spree::UrlHelpers
34
+ config.include Spree::Core::UrlHelpers
35
35
  end
@@ -19,18 +19,13 @@ Gem::Specification.new do |s|
19
19
  s.require_path = 'lib'
20
20
  s.requirements << 'none'
21
21
 
22
- s.add_dependency 'spree_core', '~> 1.0.0'
22
+ s.add_dependency 'spree_core', '~> 1.1.0'
23
23
  s.add_dependency 'spree_sample'
24
24
  s.add_development_dependency 'capybara', '1.0.1'
25
25
  s.add_development_dependency 'factory_girl'
26
26
  s.add_development_dependency 'ffaker'
27
27
  s.add_development_dependency 'rspec-rails', '~> 2.7'
28
28
  s.add_development_dependency 'sqlite3'
29
-
30
- if RUBY_VERSION < "1.9"
31
- s.add_development_dependency "ruby-debug"
32
- else
33
- s.add_development_dependency "ruby-debug19"
34
- end
35
-
29
+ s.add_development_dependency 'sass-rails'
30
+ s.add_development_dependency 'debugger'
36
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_minicart
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,18 +13,18 @@ date: 2012-05-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_core
16
- requirement: &2152790360 !ruby/object:Gem::Requirement
16
+ requirement: &2152731160 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 1.0.0
21
+ version: 1.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2152790360
24
+ version_requirements: *2152731160
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: spree_sample
27
- requirement: &2152789560 !ruby/object:Gem::Requirement
27
+ requirement: &2152730600 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2152789560
35
+ version_requirements: *2152730600
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: capybara
38
- requirement: &2152789000 !ruby/object:Gem::Requirement
38
+ requirement: &2152729680 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - =
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.0.1
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2152789000
46
+ version_requirements: *2152729680
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: factory_girl
49
- requirement: &2152788520 !ruby/object:Gem::Requirement
49
+ requirement: &2152729180 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2152788520
57
+ version_requirements: *2152729180
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: ffaker
60
- requirement: &2152788060 !ruby/object:Gem::Requirement
60
+ requirement: &2152728720 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *2152788060
68
+ version_requirements: *2152728720
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec-rails
71
- requirement: &2152787500 !ruby/object:Gem::Requirement
71
+ requirement: &2152728200 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '2.7'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *2152787500
79
+ version_requirements: *2152728200
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: sqlite3
82
- requirement: &2152787060 !ruby/object:Gem::Requirement
82
+ requirement: &2152727720 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *2152787060
90
+ version_requirements: *2152727720
91
91
  - !ruby/object:Gem::Dependency
92
- name: ruby-debug19
93
- requirement: &2152786580 !ruby/object:Gem::Requirement
92
+ name: sass-rails
93
+ requirement: &2152727260 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,7 +98,18 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *2152786580
101
+ version_requirements: *2152727260
102
+ - !ruby/object:Gem::Dependency
103
+ name: debugger
104
+ requirement: &2152726840 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: *2152726840
102
113
  description: Spree Minicart allows customer to add/remove an item from their cart
103
114
  without ever leaving the page they're on.Let your customers preview their cart before
104
115
  they start the checkout process.
@@ -138,7 +149,6 @@ files:
138
149
  - spec/requests/minicart_spec.rb
139
150
  - spec/spec_helper.rb
140
151
  - spec/support/shared_connection.rb
141
- - spec/support/url_helpers.rb
142
152
  - spree_minicart.gemspec
143
153
  homepage: https://github.com/sbounmy/spree_minicart
144
154
  licenses: []
@@ -169,4 +179,3 @@ test_files:
169
179
  - spec/requests/minicart_spec.rb
170
180
  - spec/spec_helper.rb
171
181
  - spec/support/shared_connection.rb
172
- - spec/support/url_helpers.rb
@@ -1,7 +0,0 @@
1
- module Spree
2
- module UrlHelpers
3
- def spree
4
- Spree::Core::Engine.routes.url_helpers
5
- end
6
- end
7
- end