cassie 1.1.4 → 1.1.5
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/cassie/schema/migration/dsl/announcing.rb +9 -3
- data/lib/cassie/testing/fake/result.rb +1 -1
- data/lib/cassie/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f9ccfed850a04525540b907377c45bc184fc2b29
|
|
4
|
+
data.tar.gz: 4c7fc37a9271510ffbae658d630142f67c7a8209
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec535d27f438aae219169b0ef714dcedd28eb055d74c0c6ef388c4101433a543d5d03aa157e14e765b2cad0062b6538650738627d75d362eb1eb7daf05d46675
|
|
7
|
+
data.tar.gz: 2e0853ebe696698f137b83bd06366bca34f7bd9c713ccb42f93c7a6e5fdaeea8b6f7964fb0b5f0f31b46083ddb992a040de62b8c8a8bc3574197c29ac1933ad1
|
|
@@ -18,11 +18,17 @@ module Cassie::Schema::Migration::DSL
|
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
def announce(msg)
|
|
21
|
-
announcing_stream << msg
|
|
21
|
+
announcing_stream << msg + "\n"
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
protected
|
|
25
25
|
|
|
26
|
+
# -- Migrating 'development' schema to version 0.0.21.0
|
|
27
|
+
# - Migragting version 0.0.22.0 DOWN
|
|
28
|
+
# -> drop_table(configuration_by_context)
|
|
29
|
+
# > DROP TABLE configuration_by_context
|
|
30
|
+
# remove_column(latest_owner_id)
|
|
31
|
+
|
|
26
32
|
# Generates output labeled with name of migration and a line that goes up
|
|
27
33
|
# to 75 characters long in the terminal
|
|
28
34
|
def announce_migration(message)
|
|
@@ -33,11 +39,11 @@ module Cassie::Schema::Migration::DSL
|
|
|
33
39
|
end
|
|
34
40
|
|
|
35
41
|
def announce_operation(message)
|
|
36
|
-
announce("
|
|
42
|
+
announce(" -> " + message)
|
|
37
43
|
end
|
|
38
44
|
|
|
39
45
|
def announce_suboperation(message)
|
|
40
|
-
announce("
|
|
46
|
+
announce(" > " + message)
|
|
41
47
|
end
|
|
42
48
|
|
|
43
49
|
def name
|
data/lib/cassie/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cassie
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Evan Prothro
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-03-
|
|
11
|
+
date: 2017-03-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cassandra-driver
|