lolcommits-dotcom 0.0.5 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lolcommits/dotcom/version.rb +1 -1
- data/lib/lolcommits/plugin/dotcom.rb +1 -11
- data/lolcommits-dotcom.gemspec +1 -1
- data/test/lolcommits/plugin/dotcom_test.rb +0 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5de1a8da305c59b2d0b98f056838d1a476c1a52ee33a6d1783c7ff296dc0f91b
|
4
|
+
data.tar.gz: 5764329ca76a9fe6b62a71d38935f60953840a32b3bd2395e8ae6d4c0ae587c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25b1e6ca3ee97ac825777f113c95b7d32f5c71c3adba67de430505396361ed3207eee14d6c8953d9bc379c43ced09258e311327c34eca15aa52806d51343609c
|
7
|
+
data.tar.gz: c57ff6337eb89504d3afff96fd4916aa927842ab6a4cde3b463f57191f986d38fc79978fcef0fa8aa2979d94919eaecfce98595392dadc42ef39a233bfb67ad7
|
@@ -10,21 +10,11 @@ module Lolcommits
|
|
10
10
|
##
|
11
11
|
# Initialize plugin with runner, config and set all configurable options.
|
12
12
|
#
|
13
|
-
def initialize(runner: nil, config: nil)
|
13
|
+
def initialize(runner: nil, name: nil, config: nil)
|
14
14
|
super
|
15
15
|
options.concat(plugin_options)
|
16
16
|
end
|
17
17
|
|
18
|
-
##
|
19
|
-
# Returns position(s) of when this plugin should run during the capture
|
20
|
-
# process. Uploading happens when a new capture is ready.
|
21
|
-
#
|
22
|
-
# @return [Array] the position(s) (:capture_ready)
|
23
|
-
#
|
24
|
-
def self.runner_order
|
25
|
-
[:capture_ready]
|
26
|
-
end
|
27
|
-
|
28
18
|
##
|
29
19
|
# Returns true/false indicating if the plugin has been correctly
|
30
20
|
# configured. All options must be set with 32 character alphanumeric keys.
|
data/lolcommits-dotcom.gemspec
CHANGED
@@ -37,7 +37,7 @@ Gem::Specification.new do |spec|
|
|
37
37
|
|
38
38
|
spec.add_runtime_dependency "rest-client"
|
39
39
|
|
40
|
-
spec.add_development_dependency "lolcommits", ">= 0.
|
40
|
+
spec.add_development_dependency "lolcommits", ">= 0.12.0"
|
41
41
|
spec.add_development_dependency "bundler"
|
42
42
|
spec.add_development_dependency "webmock"
|
43
43
|
spec.add_development_dependency "pry"
|
@@ -6,10 +6,6 @@ describe Lolcommits::Plugin::Dotcom do
|
|
6
6
|
include Lolcommits::TestHelpers::GitRepo
|
7
7
|
include Lolcommits::TestHelpers::FakeIO
|
8
8
|
|
9
|
-
it "should run on capture ready" do
|
10
|
-
::Lolcommits::Plugin::Dotcom.runner_order.must_equal [:capture_ready]
|
11
|
-
end
|
12
|
-
|
13
9
|
describe "with a runner" do
|
14
10
|
def runner
|
15
11
|
# a simple lolcommits runner with an empty configuration Hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lolcommits-dotcom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Hutchinson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.12.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.12.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|