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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77abd51e09cfb67816f6663d2138eeb7ddc0e0d0
4
- data.tar.gz: 8c136e39a05d33ed463da239bfd21e93c5243956
3
+ metadata.gz: dc73c39786ff82ddd386a0416f7f1b4292f44b2d
4
+ data.tar.gz: 70f4623fbf05feadb9e3117b45e67bb1ae6bea44
5
5
  SHA512:
6
- metadata.gz: 51186c30426bab7d3fcbae0d604731147756c91e397985e932e30751e1f41df18da176a004fba7accfe8962e4a0badeec0d011ee6fbee7060b994b2fb086d45e
7
- data.tar.gz: 78e69657336c7eb1d8574c4bc4caa1cc31478c4577827c32c70b48ea367b0033466b0ee7626211f3e250d94624e3cf321a41a43a0dfdf08ec4b4534ca8702a21
6
+ metadata.gz: 0af9b3586292137fab35c2e0a4f2434d166e6233b735c45e6264a1896139f6c39dc9d4253f772540bf9e21adf8d81ced81f61ef675cc14dd4b6cfbf60fcaefb9
7
+ data.tar.gz: 4642febea470196f0e0c7bb61f444bd9b1ddb46a170660c6bc6025037ce0f6523fa2e64e1a83a043b05da81a6f4c87b53c3cc7449c0847ac321bdd9dd599ebba
@@ -1,4 +1,4 @@
1
1
  # Openshift REST-API Client
2
2
  module OpenshiftClient
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
@@ -1,6 +1,4 @@
1
1
  require 'openshift_client/version'
2
- require 'json'
3
- require 'rest-client'
4
2
  require 'active_support/inflector'
5
3
  require 'kubeclient/entity_list'
6
4
  require 'kubeclient/kube_exception'
@@ -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(/^bin\//) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(/^(test|spec|features)\//)
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.9'
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 'json'
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, /\/projects/)
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, /\/projects/)
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
@@ -7,7 +7,7 @@ end
7
7
  # Project entity tests
8
8
  class TestRoute < MiniTest::Test
9
9
  def test_get_routes
10
- stub_request(:get, /\/routes/)
10
+ stub_request(:get, %r{/routes})
11
11
  .to_return(body: open_test_json_file('route_b1.json'),
12
12
  status: 200)
13
13
 
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.2
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-05 00:00:00.000000000 Z
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: '0'
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: '0'
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.9
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.9
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: '0'
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: '0'
124
+ version: 0.6.1
153
125
  description: A client for Openshift REST api
154
126
  email:
155
127
  - abonas@redhat.com