duck_duck_duck 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/duck_duck_duck.gemspec +1 -1
- data/lib/duck_duck_duck.rb +2 -2
- data/node/app.js +1 -1
- data/specs/duck_duck_duck.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d16263b2b11498bd85449c7285e966385b564651
|
4
|
+
data.tar.gz: 4788ddd7b26a5afa231db924bfd725ed78a4ac6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9d218044980877ebc49d0d5ca513ce2b8f02e3db84d20cd9f52ec107cdaf65029918de88eebffbcbbb44f4a788319cc3e5e8f55d933f9ae4ff11e2afb1c8a31
|
7
|
+
data.tar.gz: 6cebf38df8fed75ab608c59dcd149d1121f7f9face8de5e00855cde2b62e15e725301d1e4ebe398a98730fdf06c747931245e53642a1053e3d2d171a812266b3
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/duck_duck_duck.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.files = `git ls-files -z`.split("\x0").reject { |file|
|
19
19
|
file.index('bin/') == 0 && file != "bin/#{File.basename Dir.pwd}"
|
20
20
|
}
|
21
|
-
spec.executables = spec.
|
21
|
+
spec.executables = [spec.name]
|
22
22
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
data/lib/duck_duck_duck.rb
CHANGED
@@ -148,9 +148,9 @@ class Duck_Duck_Duck
|
|
148
148
|
files = Dir.glob("#{name}/migrates/*.sql").grep(/\/\d{4}\-/).sort
|
149
149
|
|
150
150
|
next_ver = begin
|
151
|
-
(files.last || '')[/\/(\d{4})[^\/]
|
151
|
+
(files.last || '')[/\/(\d{4})[^\/]+\z/]
|
152
152
|
v = ($1 ? $1 : '0')
|
153
|
-
'%04d' % (v.to_i + (10 - v[/\d
|
153
|
+
'%04d' % (v.to_i + (10 - v[/\d\z/].to_i))
|
154
154
|
end
|
155
155
|
|
156
156
|
new_file = "#{name}/migrates/#{next_ver}-#{[action, sub_action].compact.join('-')}.sql"
|
data/node/app.js
CHANGED
data/specs/duck_duck_duck.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: duck_duck_duck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- da99
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
181
|
version: '0'
|
182
182
|
requirements: []
|
183
183
|
rubyforge_project:
|
184
|
-
rubygems_version: 2.
|
184
|
+
rubygems_version: 2.4.5
|
185
185
|
signing_key:
|
186
186
|
specification_version: 4
|
187
187
|
summary: Migrations for apps composed of mini-apps.
|