sah 0.0.15 → 0.0.16
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: 4702617994acc5c4f5cba6e6af6e58232ba85b63
|
4
|
+
data.tar.gz: 58ff09c8aed0fde9242ee2910dcb1b84f6d19813
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db10fb299f0aad33a6b4b8c396bba0a5cb467c1723cec9263d35e4c84e24420c918d264c1d03bf81e507d17a097be971d5cc4ed5f5ad257e2b304e7f38f4c98b
|
7
|
+
data.tar.gz: 472f9c267732564e31a94465402bc9fc2c9fb0522986259e4ec505bf2ed5a8e7e0b0aaf03e588a8bc6241ad4e903bce562d701640762afe5eacd75ab41a5ac47
|
data/lib/sah/cli.rb
CHANGED
@@ -75,13 +75,13 @@ module Sah
|
|
75
75
|
|
76
76
|
case options[:branch]
|
77
77
|
when nil
|
78
|
-
|
79
|
-
URI.encode_www_form([["at", "refs/heads/#{current_branch}"]])
|
78
|
+
# skip
|
80
79
|
when "branch"
|
81
80
|
url.path = url.path.sub('/browse', '/branches')
|
82
81
|
else
|
82
|
+
url.path = url.path.sub('/browse', '/commits')
|
83
83
|
url.query =
|
84
|
-
URI.encode_www_form([["
|
84
|
+
URI.encode_www_form([["until", "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.16
|
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-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|