stay_commerce 0.1.0 → 0.1.1
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 +4 -4
- data/lib/stay/version.rb +1 -1
- data/lib/tasks/install_migrations.rake +9 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b7c81d8b43cbaa36c9b4c21409b5cd12b24112c9f5ac8dabae0136a5cbee453
|
4
|
+
data.tar.gz: d13b2d04840a2279c2681b1ef1a0a46ec3e267723a7c987ee99b52bace39ed53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c22b6415cb0cb3ed4524e2ae32152de94e1db17c340d6446414fe7e2be74b905d8724b6818f9b03bc40c4e79c5d7a6da84f64ee2a4ad83a03111525075dda921
|
7
|
+
data.tar.gz: 8c665811f9421a2359acbd770113d58f32b04b10da411610a4dc86c8498933b624825af6fc08b0a4051c96808b0f13711b5d09b78c7f823c8be2ab52aeffdcdb
|
data/lib/stay/version.rb
CHANGED
@@ -0,0 +1,9 @@
|
|
1
|
+
# lib/tasks/install_migrations.rake
|
2
|
+
namespace :stay_commerce do
|
3
|
+
task :install_migrations => :environment do
|
4
|
+
migrations_path = File.expand_path("../../db/migrate", __FILE__)
|
5
|
+
destination_path = Rails.root.join("db", "migrate")
|
6
|
+
FileUtils.cp_r(migrations_path, destination_path) unless Dir.exists?(destination_path)
|
7
|
+
puts "Migrations have been installed!"
|
8
|
+
end
|
9
|
+
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.
|
4
|
+
version: 0.1.1
|
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-
|
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
|
964
|
+
rubygems_version: 3.1.4
|
964
965
|
signing_key:
|
965
966
|
specification_version: 4
|
966
967
|
summary: Summary of Stay.
|