sah 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sah/cli.rb +3 -3
- data/lib/sah/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4efce966e339b64c4ae1bb1755caf6c9e9ffc719
|
4
|
+
data.tar.gz: 5d5cc1cac0fd980dcfaa1dc485289db0a03182c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 087481089c28ca51d45e5032c8fc57830d629f20a5af81d1162e67270057be7df6beadec137e7f6ca49481ad491b95ceb2faadd5c6ab19cb13f3e08552e9693d
|
7
|
+
data.tar.gz: ae30753f71a40dfd170203fb1358c6488eb7fa3cba409ae6a5511d03e4717e0154e158a24d29f936e6093b70315957e15823e6fa2d73ec7ed0538f2942fdbe34
|
data/lib/sah/cli.rb
CHANGED
@@ -75,13 +75,13 @@ module Sah
|
|
75
75
|
|
76
76
|
case options[:branch]
|
77
77
|
when nil
|
78
|
-
|
78
|
+
url.query =
|
79
|
+
URI.encode_www_form([["at", "refs/heads/#{current_branch}"]])
|
79
80
|
when "branch"
|
80
81
|
url.path = url.path.sub('/browse', '/branches')
|
81
82
|
else
|
82
|
-
url.path = url.path.sub('/browse', '/commits')
|
83
83
|
url.query =
|
84
|
-
URI.encode_www_form([["
|
84
|
+
URI.encode_www_form([["at", "refs/heads/#{options['branch']}"]])
|
85
85
|
end
|
86
86
|
|
87
87
|
case options[:commit]
|
data/lib/sah/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sah
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- f440
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|