core_merchant 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3770d6e4ff989b5f5e8ec48d7fb909b472b7c43b0f19fe7de933903a7d6c2ec
4
- data.tar.gz: 7f4ab1681347258d44ca2bcc072ffc1f95f609153153d976406a0120ff1c4f11
3
+ metadata.gz: fa610ed10b80867ce31c0afb088b30fd3901d4ca8b348c3048ba08a259fd1a4f
4
+ data.tar.gz: '0129e7925e06d0c652e5ed9d753f5c51fdbfd4485519db1845df9bf508a71b38'
5
5
  SHA512:
6
- metadata.gz: 3e72653b6788186e5e567e5a773510877d33e8b5880a09ecbd4c65c3ae9d06b9614553797fc9c1563f343925b6707abc9db278360a5000843f66f118c0e19502
7
- data.tar.gz: ae2d68559f60e8da03e82e63613698a98da071f216e703a8dcfab80839f486abc0881936f390299ebc010ec62d29a2b355e46bdaf82ec9c998c4f3a1c0d9e9bd
6
+ metadata.gz: 8cc5f081f300dfb7db9882f6d7ccf33892bb5299a0b105958bfaaacac274edf56e5353e32853fcabf7273efa321da6459920eef6bf8f43090417bdfa0cbffedd
7
+ data.tar.gz: cf8e3b3ee4750983097fac99615cde62b8ea736291e321a507eb090f48aade6584e1e4ff7d85054fcb099ca3c3f7a9e643758302b5dc9a77ab1390fde2f34949
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- core_merchant (0.1.0)
4
+ core_merchant (0.2.1)
5
5
  activesupport (~> 7.0)
6
6
  rails (~> 7.0)
7
7
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CoreMerchant
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.2"
5
5
  end
data/lib/core_merchant.rb CHANGED
@@ -4,6 +4,7 @@ require "active_support"
4
4
  require "active_support/concern"
5
5
  require_relative "core_merchant/version"
6
6
  require_relative "core_merchant/customer_behavior"
7
+ require_relative "core_merchant/subscription_plan"
7
8
 
8
9
  # CoreMerchant module
9
10
  module CoreMerchant
@@ -19,8 +19,7 @@ module CoreMerchant
19
19
  end
20
20
 
21
21
  def create_migration_file
22
- timestamp = self.class.next_migration_number(nil)
23
- migration_template "create_core_merchant_subscription_plans.rb",
22
+ migration_template "create_core_merchant_subscription_plans.erb",
24
23
  "db/migrate/create_core_merchant_subscription_plans.rb"
25
24
  end
26
25
  end
@@ -1,5 +1,5 @@
1
1
  # Created by: rails generate core_merchant:install
2
- class CreateCoreMerchantSubscriptionPlans < ActiveRecord::Migration
2
+ class CreateCoreMerchantSubscriptionPlans < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
3
3
  def change
4
4
  create_table :core_merchant_subscription_plans do |t|
5
5
  t.string :name_key, null: false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: core_merchant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seyithan Teymur
@@ -135,7 +135,7 @@ files:
135
135
  - lib/core_merchant/version.rb
136
136
  - lib/generators/core_merchant/install_generator.rb
137
137
  - lib/generators/core_merchant/templates/core_merchant.rb
138
- - lib/generators/core_merchant/templates/create_core_merchant_subscription_plans.rb
138
+ - lib/generators/core_merchant/templates/create_core_merchant_subscription_plans.erb
139
139
  - sig/core_merchant.rbs
140
140
  homepage: https://github.com/theseyithan/core_merchant
141
141
  licenses: