effective_orders 4.4.5 → 4.4.6

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
  SHA256:
3
- metadata.gz: 79f24e4a1d65aa32251934ecf34dcd229409bdea00516337cf3311108f4d068f
4
- data.tar.gz: 70caa88a3e3ee44a0aa0e9e58803cf91675180456a1f8ccca08880c72421e256
3
+ metadata.gz: a54d5be2f0c22c7b2b947e3eebda8f746025e23b743adb0b4e54a2525a83782e
4
+ data.tar.gz: c245ef36019bc0515c5f2928ae9bee3e32b334b67a1bc9dae88725c424a24952
5
5
  SHA512:
6
- metadata.gz: e613f86ceedef7721b804381180f620302f8f1769393a1e77bcd0a2879995f9dfed0f9b7e0fbf2cc60384e1547f666671445e6be055e540d0cd35c241684f423
7
- data.tar.gz: 116b05fc90541da625812c0d47e6e90730087346b0d35f6e4762817d95de4e61c28a640f93b55ab247943fb08d6a40634eb87dc987bd41db2ecb717b68fcf038
6
+ metadata.gz: 2aea14e9db07efae0390ce10fa7dcbd395ce40bb5226b2cb2561dde89fc9dc8d08aa5db64ba91fb63228d9f3db2448451f9f43ae107334234ff42d7e97693eaa
7
+ data.tar.gz: fa126fcbe853811ff54979016c71a57712ecb4e5d252fbd4a3280cf09ab67cb290788a1a5c6d648d31766a793aa74621a7c3f2244bf3840f018e428a2dfc55bb
@@ -1,7 +1,7 @@
1
1
  module ActsAsPurchasable
2
2
  extend ActiveSupport::Concern
3
3
 
4
- module ActiveRecord
4
+ module Base
5
5
  def acts_as_purchasable(*options)
6
6
  @acts_as_purchasable = options || []
7
7
 
@@ -3,7 +3,7 @@ module ActsAsSubscribable
3
3
 
4
4
  mattr_accessor :descendants
5
5
 
6
- module ActiveRecord
6
+ module Base
7
7
  def acts_as_subscribable(*options)
8
8
  @acts_as_subscribable = options || []
9
9
 
@@ -1,7 +1,7 @@
1
1
  module ActsAsSubscribableBuyer
2
2
  extend ActiveSupport::Concern
3
3
 
4
- module ActiveRecord
4
+ module Base
5
5
  def acts_as_subscribable_buyer(*options)
6
6
  include ::ActsAsSubscribableBuyer
7
7
  end
@@ -5,9 +5,9 @@ module EffectiveOrders
5
5
  # Include acts_as_addressable concern and allow any ActiveRecord object to call it
6
6
  initializer 'effective_orders.active_record' do |app|
7
7
  ActiveSupport.on_load :active_record do
8
- ActiveRecord::Base.extend(ActsAsPurchasable::ActiveRecord)
9
- ActiveRecord::Base.extend(ActsAsSubscribable::ActiveRecord)
10
- ActiveRecord::Base.extend(ActsAsSubscribableBuyer::ActiveRecord)
8
+ ActiveRecord::Base.extend(ActsAsPurchasable::Base)
9
+ ActiveRecord::Base.extend(ActsAsSubscribable::Base)
10
+ ActiveRecord::Base.extend(ActsAsSubscribableBuyer::Base)
11
11
  end
12
12
  end
13
13
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '4.4.5'.freeze
2
+ VERSION = '4.4.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_orders
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.5
4
+ version: 4.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect