Domain_Handler 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/domain_handler.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2288d19503f34db2e033f33a9222e8801266819b48dfdedd9ce275cc10f7cf0
4
- data.tar.gz: 95e1181df5de19cd4b44c759b4511df189145bde4a90ad29b3310279a3613489
3
+ metadata.gz: c75b8f5785bb4b279b979b4a9fe3675dad155b959ebe5de791ada40a7b192513
4
+ data.tar.gz: 751dac8c75651374e8764a698e3c3b60cd5ab58c6c68920c4598eb3cdf959e2d
5
5
  SHA512:
6
- metadata.gz: bb354e63e7ff8001f9681dbf55c1900032608332deb9d21d280e36a2157efe8ba0ed75eb6c025e9c74edb51ef833f5b3f938313648b956810b723a6ca2c4e84c
7
- data.tar.gz: 1b357125d933a46e0a2d47fc9869f0195f77a0d9c40ec765c5ba0925af291e76b5da840eaae1cd44ed0143ac96f2c716bf11a250be59f9ab8a23aa1ada0f126e
6
+ metadata.gz: 37d2b0091a16fdf0f242b49db943c23c9e9fa995711add16c8e8467ed2641cdff2550abd7c1d31ba9ab0f460e3e0b932bd23cbf6f44cc8fc723c4883ddc23722
7
+ data.tar.gz: 570f5850cadd4cd2a8bc263006f2dfcee0467bbf3f15059205cac2d9afbaf37f9671bb55738311fd59b43bc7f5447121c243a275997ca2ea315693bd147e7cb1
@@ -83,10 +83,10 @@ class DomainHandler
83
83
  timestamp = Time.now.utc.strftime("%Y%m%d%H%M%S")
84
84
  migration_file = "db/migrate/#{timestamp}_create_domains.rb"
85
85
 
86
- migration_context = ActiveRecord::MigrationContext.new("db/migrate")
86
+ migration_context = ActiveRecord::MigrationContext.new(migration_file, CreateDomains)
87
87
 
88
88
  # Generate the migration file using the create_table method
89
- migration_context.migrate("CreateDomains", nil, target_version: nil)
89
+ migration_context.migrate(target_version = nil)
90
90
  end
91
91
  end
92
92
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Domain_Handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arun Sahu
@@ -31,7 +31,7 @@ extensions: []
31
31
  extra_rdoc_files: []
32
32
  files:
33
33
  - lib/domain_handler.rb
34
- homepage: https://rubygems.org/gems/hola
34
+ homepage: https://rubygems.org
35
35
  licenses:
36
36
  - MIT
37
37
  metadata: {}