gogreen 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
- checksums.yaml.gz.sig +0 -0
- data/lib/gogreen.rb +5 -11
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c12f0e9b43e4fb7c603a5c3b26b143fee2614a09
|
4
|
+
data.tar.gz: f70f38f08b55a4bb2897cfd9d1b3d1d8edaae0d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eece7a2fadaa9d14a4c89dabccf56561e4182c3be2892b32784e93d33ad25fa3d6390b2dbc70a9a5a095a5544b7f258d956918b6a95a48d83867a6fd495b1b17
|
7
|
+
data.tar.gz: aeec9bf08d2b6a866a58a7a48f9b2729a376609a0491ac83de39db6551eea54174750919b060a67784a04caaf58f24f92c9b6dde83ef43c38c86be8a0f78be9c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/gogreen.rb
CHANGED
@@ -74,10 +74,10 @@ class GoGreen
|
|
74
74
|
records
|
75
75
|
end
|
76
76
|
|
77
|
-
def pxread(
|
77
|
+
def pxread(buffer, site, subdomain)
|
78
78
|
|
79
79
|
px = Polyrex.new
|
80
|
-
px.parse
|
80
|
+
px.parse buffer
|
81
81
|
|
82
82
|
a = px.rxpath "site[label='#{site}']/subdomain[label='#{subdomain}']"
|
83
83
|
raise GoGreenException, "site not found " if a.empty?
|
@@ -91,15 +91,9 @@ end
|
|
91
91
|
|
92
92
|
if $0 == __FILE__ then
|
93
93
|
|
94
|
-
|
94
|
+
alias_file, alias_name, *job_args = ARV
|
95
95
|
|
96
|
-
gg = GoGreen.new
|
97
|
-
|
98
|
-
if args.is_a?(String) then
|
99
|
-
puts gg.execute alias_name=args
|
100
|
-
else
|
101
|
-
alias_name = args.shift
|
102
|
-
puts gg.execute alias_name, args
|
103
|
-
end
|
96
|
+
gg = GoGreen.new alias_file
|
97
|
+
gg.execute alias_name, job_args
|
104
98
|
|
105
99
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gogreen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
fxGSO2N1hJlOaabiyPprkSP8DNu8AkyuJ0CtzF003LE+iM/x/YbkXZKiN2/VSCII
|
32
32
|
fBUnJw9rwbKnlw==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2015-01-
|
34
|
+
date: 2015-01-20 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rscript
|
metadata.gz.sig
CHANGED
Binary file
|