vaquero_io_provider_template 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vaquero_io_provider_template.rb +4 -4
- data/lib/vaquero_io_provider_template/version.rb +1 -1
- data/spec/version_spec.rb +5 -5
- metadata +2 -3
- data/Gemfile.lock +0 -60
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a09edebb0ee954a895862c645e6eaf90fb33f323
|
4
|
+
data.tar.gz: 5db9d88ade6adeb9f590e7fe1592af30a5864154
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a5fcf9e1c392a7ad1edb309e37e8702f5bacf93529329ba5bdd2cbe48bda961a4b937d1bac3098b7d7988b8b52ea953c80127ad18a5b4eebc3df1d909cb9e19
|
7
|
+
data.tar.gz: eabdaa89f0108a787918f424fb85468ba9b507e356fd557ddb6fc6c85968836aeafb431042b49a4065027132c757e3ff0f5e65bf55c49aece16363a1d37bebae
|
@@ -3,12 +3,12 @@ require 'vaquero_io_provider_template/version'
|
|
3
3
|
module VaqueroIo
|
4
4
|
# this module will be extended to ProviderPlugin class in vaquero_io
|
5
5
|
module ProviderPluginExtensions
|
6
|
-
def create(args, options = nil)
|
7
|
-
"create function with arguments:#{args} and options:#{options}"
|
6
|
+
def create(args, options = nil, auth = nil)
|
7
|
+
"create function with arguments:#{args} and options:#{options} and auth:#{auth}"
|
8
8
|
end
|
9
9
|
|
10
|
-
def destroy(args, options = nil)
|
11
|
-
"destroy function with arguments:#{args} and options:#{options}"
|
10
|
+
def destroy(args, options = nil, auth = nil)
|
11
|
+
"destroy function with arguments:#{args} and options:#{options} and auth:#{auth}"
|
12
12
|
end
|
13
13
|
|
14
14
|
def name
|
data/spec/version_spec.rb
CHANGED
@@ -11,7 +11,7 @@ describe 'base provider' do
|
|
11
11
|
end
|
12
12
|
|
13
13
|
it '.version should return the version' do
|
14
|
-
expect(test_class.version).to eq '2.0.
|
14
|
+
expect(test_class.version).to eq '2.0.2'
|
15
15
|
end
|
16
16
|
|
17
17
|
it '.name should return the name' do
|
@@ -19,13 +19,13 @@ describe 'base provider' do
|
|
19
19
|
end
|
20
20
|
|
21
21
|
it '.create method should exist' do
|
22
|
-
expect(test_class.create('arguments', 'options')).to eq \
|
23
|
-
'create function with arguments:arguments and options:options'
|
22
|
+
expect(test_class.create('arguments', 'options', 'auth')).to eq \
|
23
|
+
'create function with arguments:arguments and options:options and auth:auth'
|
24
24
|
end
|
25
25
|
|
26
26
|
it '.destroy method should exist' do
|
27
|
-
expect(test_class.destroy('arguments', 'options')).to eq \
|
28
|
-
'destroy function with arguments:arguments and options:options'
|
27
|
+
expect(test_class.destroy('arguments', 'options', 'auth')).to eq \
|
28
|
+
'destroy function with arguments:arguments and options:options and auth:auth'
|
29
29
|
end
|
30
30
|
|
31
31
|
it '.definition should load providerfile.yml without error' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vaquero_io_provider_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nic Cheneweth
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-09-
|
12
|
+
date: 2015-09-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -81,7 +81,6 @@ files:
|
|
81
81
|
- ".rubocop.yml"
|
82
82
|
- ".travis.yml"
|
83
83
|
- Gemfile
|
84
|
-
- Gemfile.lock
|
85
84
|
- README.md
|
86
85
|
- Rakefile
|
87
86
|
- lib/vaquero_io_provider_template.rb
|
data/Gemfile.lock
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
vaquero_io_provider_template (2.0.0)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
ast (2.1.0)
|
10
|
-
astrolabe (1.3.1)
|
11
|
-
parser (~> 2.2)
|
12
|
-
codeclimate-test-reporter (0.4.7)
|
13
|
-
simplecov (>= 0.7.1, < 1.0.0)
|
14
|
-
diff-lcs (1.2.5)
|
15
|
-
docile (1.1.5)
|
16
|
-
json (1.8.3)
|
17
|
-
parser (2.2.2.6)
|
18
|
-
ast (>= 1.1, < 3.0)
|
19
|
-
powerpack (0.1.1)
|
20
|
-
rainbow (2.0.0)
|
21
|
-
rake (10.4.2)
|
22
|
-
rspec (3.3.0)
|
23
|
-
rspec-core (~> 3.3.0)
|
24
|
-
rspec-expectations (~> 3.3.0)
|
25
|
-
rspec-mocks (~> 3.3.0)
|
26
|
-
rspec-core (3.3.2)
|
27
|
-
rspec-support (~> 3.3.0)
|
28
|
-
rspec-expectations (3.3.1)
|
29
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
30
|
-
rspec-support (~> 3.3.0)
|
31
|
-
rspec-mocks (3.3.2)
|
32
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
33
|
-
rspec-support (~> 3.3.0)
|
34
|
-
rspec-support (3.3.0)
|
35
|
-
rubocop (0.33.0)
|
36
|
-
astrolabe (~> 1.3)
|
37
|
-
parser (>= 2.2.2.5, < 3.0)
|
38
|
-
powerpack (~> 0.1)
|
39
|
-
rainbow (>= 1.99.1, < 3.0)
|
40
|
-
ruby-progressbar (~> 1.4)
|
41
|
-
ruby-progressbar (1.7.5)
|
42
|
-
simplecov (0.10.0)
|
43
|
-
docile (~> 1.1.0)
|
44
|
-
json (~> 1.8)
|
45
|
-
simplecov-html (~> 0.10.0)
|
46
|
-
simplecov-html (0.10.0)
|
47
|
-
|
48
|
-
PLATFORMS
|
49
|
-
ruby
|
50
|
-
|
51
|
-
DEPENDENCIES
|
52
|
-
bundler (~> 1.7)
|
53
|
-
codeclimate-test-reporter
|
54
|
-
rake (~> 10.0)
|
55
|
-
rspec (~> 3.0)
|
56
|
-
rubocop (~> 0.30)
|
57
|
-
vaquero_io_provider_template!
|
58
|
-
|
59
|
-
BUNDLED WITH
|
60
|
-
1.10.5
|