communard 0.2.1 → 0.2.2
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/communard/commands.rb +1 -1
- data/lib/communard/version.rb +1 -1
- data/spec/spec_helper.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 989a8e575b31d6c8053349676239f409e3d23e01f178ce2caa24148157daf4fc
|
|
4
|
+
data.tar.gz: e8d069b21143e39b893af8e49edbe18b1901df4b75f579444d4a0875483f5a3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 120f6bcf332643ec35af7b65b761bca5604071e4b8c1dea1a1e8cca7c1c03f5281bf70e31bb4918999e135787a0829bdbca75a8b16ce322c1752703dce3dee74
|
|
7
|
+
data.tar.gz: feddd683712f6f274f5a838640103f82631347cf6b3aa7b19a4b0187e6163341e67d63f9b59d424e64a3a6874dfc7ee29981008c4b7c2f11d39dffa53b30e37e
|
data/lib/communard/commands.rb
CHANGED
|
@@ -40,7 +40,7 @@ module Communard
|
|
|
40
40
|
end
|
|
41
41
|
|
|
42
42
|
def migrate(target: nil)
|
|
43
|
-
target =
|
|
43
|
+
target = target.to_i if target.to_s.match?(/\A\d+\z/)
|
|
44
44
|
migrator(target: target, current: nil).run
|
|
45
45
|
dump_schema if target.nil? && configuration.dump_after_migrating
|
|
46
46
|
end
|
data/lib/communard/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require "aruba"
|
|
1
|
+
require "aruba/rspec"
|
|
2
2
|
|
|
3
3
|
RSpec.configure do |config|
|
|
4
4
|
config.disable_monkey_patching!
|
|
@@ -7,6 +7,10 @@ RSpec.configure do |config|
|
|
|
7
7
|
config.before :each, type: :aruba do
|
|
8
8
|
restore_env
|
|
9
9
|
setup_aruba
|
|
10
|
+
if ENV["SHOW_OUTPUT"] == "true"
|
|
11
|
+
aruba.announcer.activate :stdout
|
|
12
|
+
aruba.announcer.activate :stderr
|
|
13
|
+
end
|
|
10
14
|
end
|
|
11
15
|
|
|
12
16
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: communard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- iain
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sequel
|
|
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
165
165
|
version: '0'
|
|
166
166
|
requirements: []
|
|
167
167
|
rubyforge_project:
|
|
168
|
-
rubygems_version: 2.7.
|
|
168
|
+
rubygems_version: 2.7.6
|
|
169
169
|
signing_key:
|
|
170
170
|
specification_version: 4
|
|
171
171
|
summary: Adds some conventions from ActiveRecord to Sequel.
|