strong_migrations 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f67458180c4e45e4b7b1d20fd0746df2b4a0a46d
4
- data.tar.gz: 78682176b14aa2aaa4c933631cdfa2add9035780
3
+ metadata.gz: d55d62155945c43c542203a2d3998d1c4ea5a9d5
4
+ data.tar.gz: 4102d8ca2ab624b25c023c631400d920d4ff0602
5
5
  SHA512:
6
- metadata.gz: 8855bafda7a3557422117791dc0482dfdc8ab0e9feca9f76f9099f2eee6b8424ec84809d69c09f6e44ef8b4293f2806d7e1b8addd211056577c205c51f6ce6c0
7
- data.tar.gz: 7aeee47fb045dfa43cc9918b51a151d766827f8588e8d870526fd66a2b2a1c3ff718ecca4ee68fd42fb8f0ade36ddd9e6674306b6be3e25cd840c2c4dd18e6af
6
+ metadata.gz: c70f45ddaf86e821e8f859d5d953e1633036509d1e613b77ee6720fb884bb1eefb559b9b5c7d2964d3765b84a53c8b0e8ee390097648f674a1d4fbfade216214
7
+ data.tar.gz: 5b6161ba4125eaf01c83f8a136af1368452f13022702190c9f5cd2b48487d1c0e6c01871cdfb0568c828deb87da88cc1172daa675b17e4b0c5ea61be82601c04
data/.travis.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2
3
+ - 2.3.1
4
4
  gemfile:
5
5
  - Gemfile
6
6
  - test/gemfiles/activerecord32.gemfile
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.5
2
+
3
+ - Fixed error with Ruby 2.3 frozen strings
4
+
1
5
  ## 0.1.4
2
6
 
3
7
  - Added alphabetize columns
@@ -126,8 +126,7 @@ change_table block, so cannot help you here. Please make really sure that what
126
126
  you're doing is safe before proceding, then wrap it in a safety_assured { ... } block."
127
127
  end
128
128
 
129
-
130
- message.prepend '
129
+ wait_message = '
131
130
  __ __ _____ _______ _
132
131
  \ \ / /\ |_ _|__ __| |
133
132
  \ \ /\ / / \ | | | | | |
@@ -136,9 +135,8 @@ you're doing is safe before proceding, then wrap it in a safety_assured { ... }
136
135
  \/ \/_/ \_\_____| |_| (_)
137
136
 
138
137
  '
139
- message << "\n"
140
138
 
141
- raise StrongMigrations::UnsafeMigration, message
139
+ raise StrongMigrations::UnsafeMigration, "#{wait_message}#{message}\n"
142
140
  end
143
141
  end
144
142
  end
@@ -1,3 +1,3 @@
1
1
  module StrongMigrations
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strong_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Remeika
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2016-03-22 00:00:00.000000000 Z
13
+ date: 2016-07-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord