fx 0.6.0 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d43846b73aa7466215723a28e398085fdcbb0a99f8b376cdda619abf91a8c8ba
4
- data.tar.gz: 38de2d17cfca402804b1b9fa2148488abeadb8e4da7f28cfd0850601d99f7fa5
3
+ metadata.gz: 670b67943acef13ed63c96954e1c2d812d0e6f8723c6f9087086c7d868f67040
4
+ data.tar.gz: 601b26109ef8547789fe7c098df6ef26d14bc365f18a766869a083b2a2b3dd17
5
5
  SHA512:
6
- metadata.gz: 586e3528b79ab504d0667136e819488c1b6338de3e765baaabcf545570d40ea816e5a2ec052be33d1ed48c4a3492cffd8cc1dafed39c1d011730c439f40a5d30
7
- data.tar.gz: f648185b7c8857263415a7c8287eb0f258d195cca05a481c86ceff3c7bdd818bddb8eac65258c2f8023f8cd6716f2458145e5a9094e25806f2569606d86524d4
6
+ metadata.gz: d373f4c0a2791f36fb11e94988b0d43b376d85742dbaa1b95532772a2aa0849aea37313e3288f1abf6c8bd2b8fdbdb7f6ba3b3583dbe614092e0f754cce092af
7
+ data.tar.gz: 35ce5db336e891a54a227c395b38a6c94f9c52d4ba01793d5047c746819fc3371701359278633d725569538f33c4f96ef89924a5e7b606037043106a2e5fc5b5
@@ -1,4 +1,4 @@
1
1
  module Fx
2
2
  # @api private
3
- VERSION = "0.6.0"
3
+ VERSION = "0.6.1"
4
4
  end
@@ -111,8 +111,9 @@ module Fx
111
111
  !migration
112
112
  end
113
113
 
114
+ # True unless explicitly false
114
115
  def migration
115
- options[:migration]
116
+ options[:migration] != false
116
117
  end
117
118
  end
118
119
  end
@@ -121,8 +121,9 @@ module Fx
121
121
  !migration
122
122
  end
123
123
 
124
+ # True unless explicitly false
124
125
  def migration
125
- options[:migration]
126
+ options[:migration] != false
126
127
  end
127
128
  end
128
129
  end
@@ -19,7 +19,7 @@ describe Fx::Generators::TriggerGenerator, :generator do
19
19
  migration = file("db/migrate/create_trigger_test.rb")
20
20
  trigger_definition = file("db/triggers/test_v01.sql")
21
21
 
22
- run_generator ["test", "--no-migration"]
22
+ run_generator ["test", {"table_name" => "some_table"}, "--no-migration"]
23
23
 
24
24
  expect(trigger_definition).to exist
25
25
  expect(migration_file(migration)).not_to exist
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Teo Ljungberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-17 00:00:00.000000000 Z
11
+ date: 2020-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal