qb 0.1.64 → 0.1.65
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/qb/package/version.rb +7 -1
- data/lib/qb/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: 6fdf57c8028f6d439aaa3247ebb5b6fe6ed0559b
|
4
|
+
data.tar.gz: d9c372d7f5086628656685a18212ff22a4aeb741
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3deeb13f7ab82f0c0618a504f7c768b30820d9117a96c166fb90dea9e2e15d93df51c23420ed72b83a72e0e8662af2e41cd1832ab3b4c323e3cf8fd2d78deec1
|
7
|
+
data.tar.gz: 133aaa3018ecce375b5b1a8cb2cfef0b8ecc9f202e1034112ca9b11739020b14b0e5c07a83261704ba0b474b9b6b546049d0368d781abef133c86b137273e00e
|
data/lib/qb/package/version.rb
CHANGED
@@ -28,7 +28,9 @@ module QB
|
|
28
28
|
);
|
29
29
|
END
|
30
30
|
|
31
|
-
parse = JSON.load Cmds.
|
31
|
+
parse = JSON.load Cmds.new(
|
32
|
+
"node --eval %s", args: [stmt], chdir: QB::ROOT
|
33
|
+
).out!
|
32
34
|
|
33
35
|
new raw: version,
|
34
36
|
major: parse['major'],
|
@@ -75,6 +77,10 @@ module QB
|
|
75
77
|
def to_json *args
|
76
78
|
to_h.to_json *args
|
77
79
|
end
|
80
|
+
|
81
|
+
def to_s
|
82
|
+
"#<QB::Package::Version #{ @raw }>"
|
83
|
+
end
|
78
84
|
end
|
79
85
|
end # Package
|
80
86
|
end # QB
|
data/lib/qb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.65
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nrser
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|