jsonsm 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +16 -0
- data/lib/jsonsm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc57c94556b2cc1d2846006e1cdeeb429e1b367d9f4300d1a34bb8fd976c1a01
|
4
|
+
data.tar.gz: f2f9bd1147675aaa396369d053a3398092cef939b8e28aa633c3aeeba48e5e23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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'
|
data/lib/jsonsm/version.rb
CHANGED