gogreen 0.2.2 → 0.3.0
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 +5 -5
- checksums.yaml.gz.sig +0 -0
- data/lib/gogreen.rb +16 -5
- data.tar.gz.sig +0 -0
- metadata +39 -36
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 53af9112f6ec111730b79327994936f1833edce73d882c54701f1ac23f7486bb
|
4
|
+
data.tar.gz: e58f7887cf38f8052d00754d0028adcfd1c4809fd1220a1bf504356cd09f378e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 850180fd618146ccf07cd25502f819e85795a55df79507a10902468526e1d5b3da03130d6de131cafc8b20c24fc78702178a1d42d6e1df491e358b890ef3db0c
|
7
|
+
data.tar.gz: febe2fcbd1154acb75ad749aca79bfa8e862669bc96e208d6e4c83f5d152ae78dd5f2cfd9da6cfcdbce993b039776ef66399de4e7fc4b3cc0c1f9cd77dfaaece
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/gogreen.rb
CHANGED
@@ -9,19 +9,30 @@ require 'polyrex'
|
|
9
9
|
require 'tempfile'
|
10
10
|
|
11
11
|
|
12
|
+
|
13
|
+
class Gg
|
14
|
+
|
15
|
+
def self.call(argsx)
|
16
|
+
puts GoGreen.new(argsx.first).execute(argsx[1], argsx[2..-1]).to_s
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.run(argsx)
|
20
|
+
puts GoGreen.new(argsx.first).execute(argsx[1], argsx[2..-1]).to_s
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
|
12
25
|
class GoGreenException < Exception
|
13
26
|
end
|
14
27
|
|
15
28
|
class GoGreen
|
16
29
|
|
17
|
-
def initialize(alias_file, site=nil, subdomain=nil, shell_execute: true,
|
18
|
-
rsc: nil)
|
19
|
-
|
30
|
+
def initialize(alias_file, site=nil, subdomain=nil, shell_execute: true, rsc: nil)
|
20
31
|
super()
|
21
32
|
|
22
33
|
@shell_execute, @rsc = shell_execute, rsc
|
23
34
|
|
24
|
-
buffer = RXFHelper.read(alias_file).first
|
35
|
+
buffer = RXFHelper.read(alias_file, auto: false).first
|
25
36
|
|
26
37
|
name = case buffer
|
27
38
|
when /^<\?dynarex/
|
@@ -65,7 +76,7 @@ class GoGreen
|
|
65
76
|
file = Tempfile.new('gogreen')
|
66
77
|
file.write(code2)
|
67
78
|
file.close
|
68
|
-
|
79
|
+
puts 'before ruby'
|
69
80
|
r = `ruby #{file.path}`
|
70
81
|
r.strip
|
71
82
|
#pipe = IO.popen("ruby", "w")
|
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.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,28 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
13
|
+
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTkwMzMwMDk1MDIzWhcN
|
15
|
+
MjAwMzI5MD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jbTz9bDIqXvT/v
|
30
|
+
L/S4PoZ9CkVCsSEkCOBXzQxCGNFSp7SKr9j337rFt3h1ytSWffqln+AL7iCYZAaD
|
31
|
+
3j+AG8rrKXoNyXWukVjrcB+GpuPIM36Ol79R9MKuOWHICTAg3B4iOGWsgVkk+aI8
|
32
|
+
5lftBNg4c5JbXLWiMIn7hxJxv9ElfqmSdF606cOgxs1eCXvYSHh2bd+kfrL8MWD6
|
33
|
+
Jt6/siR3fyDbAa96JPJNy57LqVicSMPM485I+5aUd7S9zIYJu1hbQIL9Ss+hjcQB
|
34
|
+
oVvw2C0ONSgbC3G2F3jhLlH19M6BMeGRlJ8f6AFjTNHL15ohC8eaH97LV7Of9G7y
|
35
|
+
uite3a9z9xiuSz2dCbKcxElh0i3GD/xLXGQzEsQOo1b+4FjfvLqIuR8CqNfzD6gR
|
36
|
+
H6PDDUc7WjGkwx9msG74XnRv
|
33
37
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
38
|
+
date: 2019-03-30 00:00:00.000000000 Z
|
35
39
|
dependencies:
|
36
40
|
- !ruby/object:Gem::Dependency
|
37
41
|
name: rscript
|
@@ -39,40 +43,40 @@ dependencies:
|
|
39
43
|
requirements:
|
40
44
|
- - "~>"
|
41
45
|
- !ruby/object:Gem::Version
|
42
|
-
version: '0.
|
46
|
+
version: '0.7'
|
43
47
|
- - ">="
|
44
48
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
49
|
+
version: 0.7.2
|
46
50
|
type: :runtime
|
47
51
|
prerelease: false
|
48
52
|
version_requirements: !ruby/object:Gem::Requirement
|
49
53
|
requirements:
|
50
54
|
- - "~>"
|
51
55
|
- !ruby/object:Gem::Version
|
52
|
-
version: '0.
|
56
|
+
version: '0.7'
|
53
57
|
- - ">="
|
54
58
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
59
|
+
version: 0.7.2
|
56
60
|
- !ruby/object:Gem::Dependency
|
57
61
|
name: dynarex
|
58
62
|
requirement: !ruby/object:Gem::Requirement
|
59
63
|
requirements:
|
60
64
|
- - "~>"
|
61
65
|
- !ruby/object:Gem::Version
|
62
|
-
version: '1.
|
66
|
+
version: '1.8'
|
63
67
|
- - ">="
|
64
68
|
- !ruby/object:Gem::Version
|
65
|
-
version: 1.
|
69
|
+
version: 1.8.18
|
66
70
|
type: :runtime
|
67
71
|
prerelease: false
|
68
72
|
version_requirements: !ruby/object:Gem::Requirement
|
69
73
|
requirements:
|
70
74
|
- - "~>"
|
71
75
|
- !ruby/object:Gem::Version
|
72
|
-
version: '1.
|
76
|
+
version: '1.8'
|
73
77
|
- - ">="
|
74
78
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
79
|
+
version: 1.8.18
|
76
80
|
- !ruby/object:Gem::Dependency
|
77
81
|
name: acronym
|
78
82
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,20 +103,20 @@ dependencies:
|
|
99
103
|
requirements:
|
100
104
|
- - "~>"
|
101
105
|
- !ruby/object:Gem::Version
|
102
|
-
version: '1.
|
106
|
+
version: '1.1'
|
103
107
|
- - ">="
|
104
108
|
- !ruby/object:Gem::Version
|
105
|
-
version: 1.1
|
109
|
+
version: 1.2.1
|
106
110
|
type: :runtime
|
107
111
|
prerelease: false
|
108
112
|
version_requirements: !ruby/object:Gem::Requirement
|
109
113
|
requirements:
|
110
114
|
- - "~>"
|
111
115
|
- !ruby/object:Gem::Version
|
112
|
-
version: '1.
|
116
|
+
version: '1.1'
|
113
117
|
- - ">="
|
114
118
|
- !ruby/object:Gem::Version
|
115
|
-
version: 1.1
|
119
|
+
version: 1.2.1
|
116
120
|
- !ruby/object:Gem::Dependency
|
117
121
|
name: optparse-simple
|
118
122
|
requirement: !ruby/object:Gem::Requirement
|
@@ -159,8 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
163
|
- !ruby/object:Gem::Version
|
160
164
|
version: '0'
|
161
165
|
requirements: []
|
162
|
-
|
163
|
-
rubygems_version: 2.6.13
|
166
|
+
rubygems_version: 3.0.1
|
164
167
|
signing_key:
|
165
168
|
specification_version: 4
|
166
169
|
summary: Run RSF jobs from the command line using a Dynarex flavoured aliases file.
|
metadata.gz.sig
CHANGED
Binary file
|