gisty 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/gisty +1 -1
- data/lib/gisty.rb +2 -2
- 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: 73c39cc60ab592b5fa840eb00df45a49e8649ebb
|
|
4
|
+
data.tar.gz: 08e1c11f15b26a0cae460de98ad1fda16872d8c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 27a5eafc8b95ae04e27b2910a3cc1787f576202b7c73445c645478815e42ae80fe530eb9fbd6b4f353137bf3ed69197dd7de395685e6c23d6dda9fd9eef4b909
|
|
7
|
+
data.tar.gz: c831d13a95fe335ecbcb7d19880a5a39875794787acb4bf52da0cb1952b4892be693576600f5283ce78c21ccbaf1a998f459be0b628d37cebe03a4186a01e0d5
|
data/bin/gisty
CHANGED
data/lib/gisty.rb
CHANGED
|
@@ -7,7 +7,7 @@ require 'rubygems'
|
|
|
7
7
|
require 'json'
|
|
8
8
|
|
|
9
9
|
class Gisty
|
|
10
|
-
VERSION = '0.2.
|
|
10
|
+
VERSION = '0.2.8'
|
|
11
11
|
GIST_URI = 'gist.github.com'
|
|
12
12
|
GIST_API_URL = 'https://api.github.com/gists'
|
|
13
13
|
GISTY_URL = 'https://github.com/swdyh/gisty'
|
|
@@ -32,7 +32,7 @@ class Gisty
|
|
|
32
32
|
else
|
|
33
33
|
raise UnsetAuthInfoException
|
|
34
34
|
end
|
|
35
|
-
@dir = Pathname.pwd.realpath.join
|
|
35
|
+
@dir = Pathname.pwd.realpath.join(File.expand_path(path))
|
|
36
36
|
FileUtils.mkdir_p @dir unless @dir.exist?
|
|
37
37
|
@ssl_ca = opt[:ssl_ca]
|
|
38
38
|
@ssl_verify = case opt[:ssl_verify]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gisty
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- swdyh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-01-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|