spree_core 3.1.6 → 3.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c472ca75b2962657a6312f4e01b13630ab719613
4
- data.tar.gz: caa7069c782639d4073c45b953010122f70041da
3
+ metadata.gz: 1e678a0621d7fbc38a51385f2e14dac5ac4cbe8a
4
+ data.tar.gz: 8939c8fea96cfb908fe5e464f13fc879cc5d817f
5
5
  SHA512:
6
- metadata.gz: c50ba8a21f237214d164f930a581be054bb7a2b2f1afbf087e21e38a5f73922271a14efb2457f346f68a69379a09199cdbe47288df750fe88b868264cf13cdc5
7
- data.tar.gz: 7373d178297eec7b4f18d79be8ce8f59638972af9a552eabe6d677b2c0fdf38584b5b1e98a423ff939cd3db81c5d9568d82d509076009bafbcc049db4200ba14
6
+ metadata.gz: 00de72307c971846acb3fa7ec1b95aff45b46c0c0a2ae7025fa8dea3e4b00b9a31f95dfe97a389a330c566025887725d2218e08e2c49921a23bf88c77b34a4a0
7
+ data.tar.gz: a6fee69a508d8f3b7ee667c9595f70639b98e361afd16cc11e3aa648c8b58ee0df38c17dfc76826c1f92965b461201d7b9fff57584181d6da7a95b557858ea1a
@@ -610,20 +610,6 @@ module Spree
610
610
 
611
611
  private
612
612
 
613
- def create_store_credit_payment(payment_method, credit, amount)
614
- payments.create!(
615
- source: credit,
616
- payment_method: payment_method,
617
- amount: amount,
618
- state: 'checkout',
619
- response_code: credit.generate_authorization_code
620
- )
621
- end
622
-
623
- def store_credit_amount(credit, total)
624
- [credit.amount_remaining, total].min
625
- end
626
-
627
613
  def link_by_email
628
614
  self.email = user.email if self.user
629
615
  end
@@ -1,5 +1,5 @@
1
1
  module Spree
2
2
  def self.version
3
- "3.1.6"
3
+ "3.1.7"
4
4
  end
5
5
  end
data/spree_core.gemspec CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
24
24
  s.add_dependency 'awesome_nested_set', '~> 3.0.1'
25
25
  s.add_dependency 'carmen', '~> 1.0.0'
26
26
  s.add_dependency 'cancancan', '~> 1.10.1'
27
- s.add_dependency 'deface', '~> 1.0.0'
27
+ s.add_dependency 'deface', '~> 1.0'
28
28
  s.add_dependency 'ffaker', '~> 2.2.0'
29
29
  s.add_dependency 'font-awesome-rails', '~> 4.0'
30
30
  s.add_dependency 'friendly_id', '~> 5.1.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.6
4
+ version: 3.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-28 00:00:00.000000000 Z
11
+ date: 2017-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant
@@ -92,14 +92,14 @@ dependencies:
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: 1.0.0
95
+ version: '1.0'
96
96
  type: :runtime
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: 1.0.0
102
+ version: '1.0'
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: ffaker
105
105
  requirement: !ruby/object:Gem::Requirement
@@ -966,7 +966,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
966
966
  version: 1.8.23
967
967
  requirements: []
968
968
  rubyforge_project:
969
- rubygems_version: 2.6.11
969
+ rubygems_version: 2.6.12
970
970
  signing_key:
971
971
  specification_version: 4
972
972
  summary: The bare bones necessary for Spree.