openshift_client 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/openshift_client/version.rb +1 -1
- data/lib/openshift_client.rb +0 -2
- data/openshift_client.gemspec +5 -7
- data/test/test_project.rb +2 -2
- data/test/test_route.rb +1 -1
- metadata +12 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc73c39786ff82ddd386a0416f7f1b4292f44b2d
|
4
|
+
data.tar.gz: 70f4623fbf05feadb9e3117b45e67bb1ae6bea44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0af9b3586292137fab35c2e0a4f2434d166e6233b735c45e6264a1896139f6c39dc9d4253f772540bf9e21adf8d81ced81f61ef675cc14dd4b6cfbf60fcaefb9
|
7
|
+
data.tar.gz: 4642febea470196f0e0c7bb61f444bd9b1ddb46a170660c6bc6025037ce0f6523fa2e64e1a83a043b05da81a6f4c87b53c3cc7449c0847ac321bdd9dd599ebba
|
data/lib/openshift_client.rb
CHANGED
data/openshift_client.gemspec
CHANGED
@@ -14,8 +14,8 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
17
|
-
spec.executables = spec.files.grep(
|
18
|
-
spec.test_files = spec.files.grep(
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
spec.required_ruby_version = '>= 2.0.0'
|
21
21
|
|
@@ -23,10 +23,8 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_development_dependency 'rake', '~> 10.0'
|
24
24
|
spec.add_development_dependency 'minitest'
|
25
25
|
spec.add_development_dependency 'webmock'
|
26
|
-
spec.add_development_dependency 'rubocop'
|
27
|
-
spec.add_dependency 'kubeclient', '>= 0.1.
|
28
|
-
spec.add_dependency 'rest-client'
|
26
|
+
spec.add_development_dependency 'rubocop', '= 0.30.0'
|
27
|
+
spec.add_dependency 'kubeclient', '>= 0.1.10'
|
29
28
|
spec.add_dependency 'activesupport'
|
30
|
-
spec.add_dependency '
|
31
|
-
spec.add_dependency 'recursive-open-struct'
|
29
|
+
spec.add_dependency 'recursive-open-struct', '= 0.6.1'
|
32
30
|
end
|
data/test/test_project.rb
CHANGED
@@ -7,7 +7,7 @@ end
|
|
7
7
|
# Project entity tests
|
8
8
|
class TestProject < MiniTest::Test
|
9
9
|
def test_get_project
|
10
|
-
stub_request(:get,
|
10
|
+
stub_request(:get, %r{/projects})
|
11
11
|
.to_return(body: open_test_json_file('project_b1.json'),
|
12
12
|
status: 200)
|
13
13
|
|
@@ -22,7 +22,7 @@ class TestProject < MiniTest::Test
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def test_get_projects
|
25
|
-
stub_request(:get,
|
25
|
+
stub_request(:get, %r{/projects})
|
26
26
|
.to_return(body: open_test_json_file('project_list_b1.json'),
|
27
27
|
status: 200)
|
28
28
|
|
data/test/test_route.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openshift_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alissa Bonas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -70,44 +70,30 @@ dependencies:
|
|
70
70
|
name: rubocop
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - '
|
73
|
+
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 0.30.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - '
|
80
|
+
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 0.30.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: kubeclient
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.1.
|
89
|
+
version: 0.1.10
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.1.
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rest-client
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - '>='
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - '>='
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
96
|
+
version: 0.1.10
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: activesupport
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,34 +108,20 @@ dependencies:
|
|
122
108
|
- - '>='
|
123
109
|
- !ruby/object:Gem::Version
|
124
110
|
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: json
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - '>='
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :runtime
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - '>='
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
111
|
- !ruby/object:Gem::Dependency
|
140
112
|
name: recursive-open-struct
|
141
113
|
requirement: !ruby/object:Gem::Requirement
|
142
114
|
requirements:
|
143
|
-
- - '
|
115
|
+
- - '='
|
144
116
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
117
|
+
version: 0.6.1
|
146
118
|
type: :runtime
|
147
119
|
prerelease: false
|
148
120
|
version_requirements: !ruby/object:Gem::Requirement
|
149
121
|
requirements:
|
150
|
-
- - '
|
122
|
+
- - '='
|
151
123
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
124
|
+
version: 0.6.1
|
153
125
|
description: A client for Openshift REST api
|
154
126
|
email:
|
155
127
|
- abonas@redhat.com
|