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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7aec21685ece83267046a3e9c9598034dc32f9d3abf5ae9e865086de2e0c76a
4
- data.tar.gz: d7b7f03907c3227170051400fb9bd3c5a858158d0e547b3358cbb2f5313cba7c
3
+ metadata.gz: 55d19f3d2101b740d88d0e4d668ffbeb40be5ab0e853d9804d2f055e7322b6aa
4
+ data.tar.gz: b3e5c916d99d64527c0e4e81c50577c4f3d6e9750510e12af93c8682950abea3
5
5
  SHA512:
6
- metadata.gz: 71b76a7de9e626e56a94f01c2243d55f208c0b26da08318b711aead2c484afcc056ec0d15312824b8f8ee269ade7ec00e8aa1fa93974345d31336b84637c865a
7
- data.tar.gz: 5fe760ec0b14d8b1cc5ba87209130d12036bfd34eedf3ea3081597c5fb752cc322e656a00a66c0225f34e3334e272e75c0af3eb718a86cc78c2698d236efb278
6
+ metadata.gz: dfc817694c9c76a10f25879b487c20eeff2bfbef14e206e4dcda17e157e4057542712784328b84b103704d31628a0f4d041cd90f77d8c3683d3af889e32226ee
7
+ data.tar.gz: b881bf24697cc7b32c55fec07a98cacae2569355cc33cceca0bb023ca7cc19cd69746bad28eea7ee64fbaff0040b9ddea84b3e1c130bc728c953a63709768c84
@@ -1,5 +1,5 @@
1
1
  module Simple
2
2
  module SQL
3
- VERSION = "0.4.40"
3
+ VERSION = "0.4.41"
4
4
  end
5
5
  end
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('git push origin master')
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 :push_to_rubygems do
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
- 'push_to_rubygems'
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:default'
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.40
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-23 00:00:00.000000000 Z
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