simple-sql 0.4.40 → 0.4.41
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simple/sql/version.rb +1 -1
- data/tasks/release.rake +22 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55d19f3d2101b740d88d0e4d668ffbeb40be5ab0e853d9804d2f055e7322b6aa
|
4
|
+
data.tar.gz: b3e5c916d99d64527c0e4e81c50577c4f3d6e9750510e12af93c8682950abea3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfc817694c9c76a10f25879b487c20eeff2bfbef14e206e4dcda17e157e4057542712784328b84b103704d31628a0f4d041cd90f77d8c3683d3af889e32226ee
|
7
|
+
data.tar.gz: b881bf24697cc7b32c55fec07a98cacae2569355cc33cceca0bb023ca7cc19cd69746bad28eea7ee64fbaff0040b9ddea84b3e1c130bc728c953a63709768c84
|
data/lib/simple/sql/version.rb
CHANGED
data/tasks/release.rake
CHANGED
@@ -61,7 +61,7 @@ namespace :release do
|
|
61
61
|
|
62
62
|
desc "Push code and tags"
|
63
63
|
task :push do
|
64
|
-
sh(
|
64
|
+
sh("git push origin #{$TARGET_BRANCH}")
|
65
65
|
sh('git push --tags')
|
66
66
|
end
|
67
67
|
|
@@ -71,19 +71,37 @@ namespace :release do
|
|
71
71
|
end
|
72
72
|
|
73
73
|
desc "Push Gem to gemfury"
|
74
|
-
task :
|
74
|
+
task :publish do
|
75
75
|
Dir.chdir(GEM_ROOT) { sh("gem push #{Dir.glob('*.gem').first}") }
|
76
76
|
end
|
77
77
|
|
78
|
+
task :target_master do
|
79
|
+
$TARGET_BRANCH = 'master'
|
80
|
+
end
|
81
|
+
|
82
|
+
task :target_stable do
|
83
|
+
$TARGET_BRANCH = 'stable'
|
84
|
+
end
|
85
|
+
|
86
|
+
task :checkout do
|
87
|
+
sh "git status --untracked-files=no --porcelain > /dev/null || (echo '*** working dir not clean' && false)"
|
88
|
+
sh "git checkout #{$TARGET_BRANCH}"
|
89
|
+
sh "git pull"
|
90
|
+
end
|
91
|
+
|
78
92
|
task default: [
|
93
|
+
'checkout',
|
79
94
|
'version',
|
80
95
|
'clean',
|
81
96
|
'build',
|
82
97
|
'commit',
|
83
98
|
'push',
|
84
|
-
'
|
99
|
+
'publish'
|
85
100
|
]
|
101
|
+
|
102
|
+
task master: %w(target_master default)
|
103
|
+
task stable: %w(target_stable default)
|
86
104
|
end
|
87
105
|
|
88
106
|
desc "Clean, build, commit and push"
|
89
|
-
task release: 'release:
|
107
|
+
task release: 'release:master'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple-sql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.41
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- radiospiel
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-03-
|
12
|
+
date: 2019-03-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pg_array_parser
|