Domain_Handler 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/domain_handler.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 149c47e3e17b26cce807e3d6dd061ec9e471fc0cb1ffccfb735721fcb415ac55
|
4
|
+
data.tar.gz: 1a070b4c734374f957df6f40bdcb88ae9183879a2b2d250d3aca1ecc1b119bcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c127ef321c4b4592884716071abcd3d847cf04722cc75f6cff1375065f79f2908f41039faeb2b7f04291f17c7abbabc204d35fc9537f90674f1dadb35f881ae
|
7
|
+
data.tar.gz: 1a36b8c038dc3783e27fe80e2e71297da27afc6952fc10608776f107af3c385db2bff97d9dac783752ffa37af3e66da719eeab24fd418ee3f1b2eeda9d792185
|
data/lib/domain_handler.rb
CHANGED
@@ -88,7 +88,8 @@ class DomainHandler
|
|
88
88
|
# Generate the migration file
|
89
89
|
timestamp = Time.now.utc.strftime("%Y%m%d%H%M%S")
|
90
90
|
migration_file = "db/migrate/#{timestamp}_create_domains.rb"
|
91
|
-
|
91
|
+
generator = Rails::Generators::MigrationGenerator.new(['create_your_table'], destination_root: File.expand_path('db/migrate'))
|
92
|
+
generator.create_migration(migration_file, 'create_domains')
|
92
93
|
end
|
93
94
|
end
|
94
95
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Domain_Handler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arun Sahu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|