runcible 1.9.0 → 1.9.1

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: 14d0204fcdbcaa07f4949abb27397aafb7a09d22
4
- data.tar.gz: afb101209c948155d9372622f2baeb9476e672cd
3
+ metadata.gz: 7fe3d0d2ec56a2ef44e8c0c3ee49aebc8a8fab8c
4
+ data.tar.gz: 50618e42c15b660f8e7a20729889042507c92d73
5
5
  SHA512:
6
- metadata.gz: 1a25802231315129b1a9197c38d8cf4076f344bdb49b0ad495dc1bbea745ec3c410b4bb95db74be526567e8869789bb66e34d428d578e061b563362d7ea89746
7
- data.tar.gz: 845d1a82e495582274b32c03841152899f006e4169a6b25cc32da7fa53fb48f24521daffd27e4b826be20ff510eb9d13e7308a336a3d146028c346eb6f0ad38d
6
+ metadata.gz: a02edc69d343a44f22c007bb63389461e10d14bfdeb5f74eef4ebf0a08d35bd0d737c54a9db7833710a9ff9862b3d06c37f0fb04fe4fa1f1e2de7f513382d132
7
+ data.tar.gz: 90b34119ba7193bd5ea6d465c004a346f9cf6896b5afab1e8254d1f17ae78beb32248c0e0e645666714567a86a4ee11571561d260015070c3c60d0ee63f2b4d9
data/README.md CHANGED
@@ -114,6 +114,39 @@ Alternatively, using distributor and importer objects:
114
114
 
115
115
  ## Testing
116
116
 
117
+ ### Dependencies
118
+
119
+ In order to run and develop the ostree code in runcible locally, you will need
120
+ to install the pulp ostree packages (namely pulp-python-plugins and
121
+ pulp-ostree-plugins).
122
+
123
+ If you don't have ostree intalled already, you'll need to setup the ostree repo
124
+ as ostree is a dependency for pulp-ostree-plugins. For centos, you'll create
125
+ /etc/yum.repos.d/ostree.repo with this:
126
+
127
+ ```
128
+ [atomic7-testing]
129
+ name=atomic7-testing
130
+ baseurl=http://cbs.centos.org/repos/atomic7-testing/x86_64/os/
131
+ gpgcheck=0
132
+ enabled=1
133
+ ```
134
+
135
+ Now you should be able to install the two pulp plugin packages:
136
+
137
+ ```
138
+ sudo yum install pulp-python-plugins pulp-ostree-plugins
139
+ ```
140
+
141
+ Finally, update your pulp database and restart pulp:
142
+
143
+ ```
144
+ sudo -u apache pulp-manage-db
145
+ for x in httpd pulp_resource_manager pulp_celerybeat pulp_workers; do sudo service $x restart; done
146
+ ```
147
+
148
+ ### Running Tests
149
+
117
150
  To run all tests using recorded data, run:
118
151
 
119
152
  rake test mode=none
@@ -128,6 +161,9 @@ To run a single test using recorded data, run:
128
161
  or (by filename)
129
162
  rake test mode=none test=./test/extensions/respository_test.rb
130
163
 
164
+ Note that when you record data, it's a good idea to delete any corresponding
165
+ vcr cassette files as recording data will sometimes only append to these files.
166
+
131
167
  To run tests against your live Pulp without recording a new cassette set record flag to false (does not apply to mode=none):
132
168
 
133
169
  record=false
@@ -56,7 +56,7 @@ module Runcible
56
56
  client_options[:password] = config[:http_auth][:password]
57
57
  end
58
58
 
59
- client_options[:ca_file] = config[:ca_cert_file] unless config[:ca_cert_file].nil?
59
+ client_options[:ssl_ca_file] = config[:ca_cert_file] unless config[:ca_cert_file].nil?
60
60
  client = RestClient::Resource.new(clone_config[:url], client_options)
61
61
 
62
62
  args = [method]
@@ -1,3 +1,3 @@
1
1
  module Runcible
2
- VERSION = '1.9.0'.freeze
2
+ VERSION = '1.9.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runcible
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric D Helms, Justin Sherrill
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-07 00:00:00.000000000 Z
11
+ date: 2016-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  version: '0'
198
198
  requirements: []
199
199
  rubyforge_project:
200
- rubygems_version: 2.2.5
200
+ rubygems_version: 2.4.8
201
201
  signing_key:
202
202
  specification_version: 4
203
203
  summary: ''