rubypitaya 2.4.3 → 2.4.4

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: 5c37e06c8f040555eff17f296bfe155fe91308c3a60a73355fdd9e25d9c62b35
4
- data.tar.gz: ac258070d0ae3de61f289a21d99b7cdf2947e54580a929230c512d3b3e807d0f
3
+ metadata.gz: cb195bab202604c6eccf3bf77c6a61a63accd532c0cb2a5717b65f88d5a2f820
4
+ data.tar.gz: 61f32399ad655d8896ce4e88d4143dfe5bcf3b11272fa61729226503bd670881
5
5
  SHA512:
6
- metadata.gz: 4a140e5251bded607ec142250651d0a083a77b980af60707e8706fba4d1dab34f0b648f5d9a98f00358889fb9421490d608d2df43bc685b2142d4d0fc7df8a49
7
- data.tar.gz: 737f8486eb4d345b123eb19dee79ab59eecc652e893bccbfff34fa65de9fce89d81e84736bcf455deb6b19f0cb7c4d0674ae594678906a14c93e00ad8e9f7714
6
+ metadata.gz: be967053676552234531e322b6bd5e1202e3d2c8425c83f7476bc03371797193f23c644ff8d883eae5c380da208b96003b23d5fdc7bccb4edadd85659917cd3c
7
+ data.tar.gz: 308c1ba083efd8c8c576c5f597ccd13cc195cb77960166eeadf3aeff2a3e3ef314b84135483327e4c737a168fe026f0fedd176411b74cb3d9e4c2a2e62b92a36
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'rubypitaya', '2.4.3'
3
+ gem 'rubypitaya', '2.4.4'
4
4
 
5
5
  group :development do
6
6
  gem 'pry', '0.12.2'
@@ -62,7 +62,7 @@ GEM
62
62
  diff-lcs (>= 1.2.0, < 2.0)
63
63
  rspec-support (~> 3.8.0)
64
64
  rspec-support (3.8.3)
65
- rubypitaya (2.4.3)
65
+ rubypitaya (2.4.4)
66
66
  activerecord (= 6.0.2)
67
67
  etcdv3 (= 0.10.2)
68
68
  eventmachine (= 1.2.7)
@@ -85,7 +85,7 @@ DEPENDENCIES
85
85
  listen (= 3.2.1)
86
86
  pry (= 0.12.2)
87
87
  rspec (= 3.8.0)
88
- rubypitaya (= 2.4.3)
88
+ rubypitaya (= 2.4.4)
89
89
 
90
90
  BUNDLED WITH
91
91
  1.17.2
@@ -40,6 +40,9 @@ namespace :db do
40
40
  environment_name = ENV.fetch("RUBYPITAYA_ENV") { 'development' }
41
41
  database_config = RubyPitaya::DatabaseConfig.new(environment_name, RubyPitaya::Path::DATABASE_CONFIG_PATH)
42
42
  connection_data = database_config.connection_data
43
+ migrations_paths = [RubyPitaya::Path::Core::MIGRATIONS_FOLDER_PATH]
44
+ migrations_paths += RubyPitaya::Path::Plugins::MIGRATIONS_FOLDER_PATHS
45
+ migrations_paths += [RubyPitaya::Path::MIGRATIONS_FOLDER_PATH]
43
46
 
44
47
  step = ENV["STEP"] ? ENV["STEP"].to_i : 1
45
48
 
@@ -51,6 +54,7 @@ namespace :db do
51
54
  end
52
55
 
53
56
  ActiveRecord::Base.establish_connection(connection_data)
57
+ ActiveRecord::Migrator.migrations_paths = migrations_paths
54
58
  ActiveRecord::Base.connection.migration_context.rollback(step)
55
59
  ActiveRecord::Base.connection.close
56
60
 
@@ -1,3 +1,3 @@
1
1
  module RubyPitaya
2
- VERSION = '2.4.3'
2
+ VERSION = '2.4.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubypitaya
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.3
4
+ version: 2.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luciano Prestes Cavalcanti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-11 00:00:00.000000000 Z
11
+ date: 2020-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg