stay_commerce 0.1.0 → 0.1.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: 6324e9a2060092a40dc0368d3d986d0847ba654800860f7015d615ec9e25b0e7
4
- data.tar.gz: 8e6d6074d483d795ff9cea901f63e0d783aa9596d586700b2081e53d058ddfdd
3
+ metadata.gz: 2c5ab314e339f266f1429159d7820ae496ef342873b2ba4e7df3a0ba7f6c1367
4
+ data.tar.gz: 1e285b8b0679ba1847f37e3e18cb06d91194420ac3cc2fb4fa7a4850568aed25
5
5
  SHA512:
6
- metadata.gz: 9387bc01c2dca67a23e3b5a668b767e0dc61814d15b5a3a7e59d889aa8dc34d26e2874f5f70289c4624db3430cf5a665d86e2b1fe9ea9ad0fbc52ace4d09a7f8
7
- data.tar.gz: 84266bcfb35b2e52327764584f9840a397cf052b7c318135bf55733aed4b9240152402c1f5eb1daed900c0351cc38ba51a634cc4bcdd1960118fbcc64adee749
6
+ metadata.gz: 1109d91a4be22a4df7a5ffd6c40409f9c8ba5934d770348e19010d3e6bc80aec5a93ecbc854bb11fc4f2f5d1972fbb4885f54814fff23a924ce2273d2689a572
7
+ data.tar.gz: 66917b37f1c90275912832fe84a7a8e0bb13fb1f842f028a7e6f207e52d2c4624bff8542d93585318953137802bf6218471699e9549cdc58b4620bf99102e9d6
data/lib/stay/engine.rb CHANGED
@@ -12,5 +12,9 @@ module Stay
12
12
  initializer 'stay.assets.precompile' do |app|
13
13
  app.config.assets.precompile += %w( stay/application.js stay/application.css )
14
14
  end
15
+
16
+ rake_tasks do
17
+ load File.expand_path('../../lib/tasks/install_migrations.rake', __FILE__)
18
+ end
15
19
  end
16
20
  end
data/lib/stay/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Stay
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -0,0 +1,15 @@
1
+ # lib/tasks/install_migrations.rake
2
+ namespace :stay_commerce do
3
+ desc "Copy Stay migrations"
4
+ task :install_migrations => :environment do
5
+ migrations_path = File.expand_path("../../db/migrate", __FILE__)
6
+ destination_path = File.expand_path("db/migrate", Rails.root)
7
+
8
+ if File.exist?(destination_path)
9
+ FileUtils.cp_r(migrations_path, destination_path)
10
+ puts "Migrations copied to #{destination_path}"
11
+ else
12
+ puts "Migrations directory not found in #{destination_path}"
13
+ end
14
+ end
15
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stay_commerce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - w3villa-vikaspal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-14 00:00:00.000000000 Z
11
+ date: 2025-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -936,6 +936,7 @@ files:
936
936
  - lib/stay/engine.rb
937
937
  - lib/stay/money.rb
938
938
  - lib/stay/version.rb
939
+ - lib/tasks/install_migrations.rake
939
940
  - lib/tasks/stay_tasks.rake
940
941
  homepage: https://github.com/w3villa/StayCommerce
941
942
  licenses:
@@ -960,7 +961,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
960
961
  - !ruby/object:Gem::Version
961
962
  version: '0'
962
963
  requirements: []
963
- rubygems_version: 3.4.10
964
+ rubygems_version: 3.1.4
964
965
  signing_key:
965
966
  specification_version: 4
966
967
  summary: Summary of Stay.