frankly 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/frankly/version.rb +1 -1
- data/templates/Rakefile +6 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5f8bd4c6d54dc267c2c76c3acda425e4d9e43e7278cdacd11e35c379723a0ce2
|
4
|
+
data.tar.gz: 9a214222eda89b2edd17e1650a1b2213fba965a337cc2fa09e7991250d5afa2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9a73f8401b3064f1d5be7cbb23f6d006e1691e177aca6af482325beaaacdc9c0802dce722d32ba9a6d8083d448a3c114c8821a23c54703b407be9929f42753d
|
7
|
+
data.tar.gz: ed096de42c3d010a099dfd636897c313d4d47624a93a0549f9c3296dd6a393ee338b4c8963e4c06b63c4afe824251918fd83326179db9ba48b311c4109119d96
|
data/lib/frankly/version.rb
CHANGED
data/templates/Rakefile
CHANGED
@@ -102,8 +102,12 @@ namespace :db do
|
|
102
102
|
task :migrate do
|
103
103
|
ActiveRecord::Migrator.migrations_paths << File.dirname(__FILE__) + 'db/migrate'
|
104
104
|
ActiveRecord::Migration.verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true
|
105
|
-
ActiveRecord
|
106
|
-
ENV["
|
105
|
+
if ActiveRecord.version.release() < Gem::Version.new('5.2.0')
|
106
|
+
ActiveRecord::Migrator.migrate(ActiveRecord::Migrator.migrations_paths, ENV["VERSION"] ? ENV["VERSION"].to_i : nil) do |migration|
|
107
|
+
ENV["SCOPE"].blank? || (ENV["SCOPE"] == migration.scope)
|
108
|
+
end
|
109
|
+
else
|
110
|
+
ActiveRecord::MigrationContext.new(ActiveRecord::Migrator.migrations_paths).migrate
|
107
111
|
end
|
108
112
|
end
|
109
113
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: frankly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Rettberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
159
|
version: '0'
|
160
160
|
requirements: []
|
161
161
|
rubyforge_project:
|
162
|
-
rubygems_version: 2.
|
162
|
+
rubygems_version: 2.7.3
|
163
163
|
signing_key:
|
164
164
|
specification_version: 4
|
165
165
|
summary: An opinionated sinatra skeleton with Rake tasks, rspec, postgres, and more!
|