jsonsm 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +16 -0
  3. data/lib/jsonsm/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95d674991e144dd2579a750831c9300e53b291bb33a05b0490ed1369d1d3f81e
4
- data.tar.gz: 24a6d64a2ad95fef1c3499f8e1fe532b1da57e451379495d920e9119718f1769
3
+ metadata.gz: fc57c94556b2cc1d2846006e1cdeeb429e1b367d9f4300d1a34bb8fd976c1a01
4
+ data.tar.gz: f2f9bd1147675aaa396369d053a3398092cef939b8e28aa633c3aeeba48e5e23
5
5
  SHA512:
6
- metadata.gz: b1fceefaa9ed2194b2a0e5e13ee7e3962ebbd5cfeb1b6d528f64b161f828935f6969d8b92c87e14bb155af756ea50013a6f5c2cad23056bd7d5b944589500883
7
- data.tar.gz: f62f0279f9e83ed3ecfdb385722d9bb12fb2faa7156bf377b8e16db639c547c250fdf9c16c85786db5a41e2368e3310e0178ecb741e9545ce8811e2f6b9effd4
6
+ metadata.gz: e932c60a155622f6a678def5419f2039f11f3bfb04b40a385f89fbffe5bd9b313b0a2aca60fafd43581aaceda8456aebc45b11175e715e5d4913e21201a11512
7
+ data.tar.gz: da78ad885c600a02263009f101f750d18f7dd7d72423a70884e030c52db9940776c5fbb929f270a99f25a4f2ecfa4fb1f1ef47d3044987a139fb44aecef52e71
data/Rakefile CHANGED
@@ -17,6 +17,22 @@
17
17
  require 'bundler/gem_tasks'
18
18
  require 'rake/testtask'
19
19
 
20
+
21
+ module Bundler
22
+ class GemHelper
23
+
24
+ def tag_version
25
+ sh "git tag -s -m \"Version #{version}\" #{version_tag}"
26
+ Bundler.ui.confirm "Tagged #{version_tag}."
27
+ yield if block_given?
28
+ rescue
29
+ Bundler.ui.error "Untagging #{version_tag} due to error."
30
+ sh_with_code "git tag -d #{version_tag}"
31
+ raise
32
+ end
33
+ end
34
+ end
35
+
20
36
  Rake::TestTask.new(:test) do |t|
21
37
  t.libs << 'test'
22
38
  t.libs << 'lib'
@@ -15,5 +15,5 @@
15
15
  # limitations under the License.
16
16
 
17
17
  module JSONSM
18
- VERSION = '0.1.0'
18
+ VERSION = '0.1.1'
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonsm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Avseyev