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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf7432a8441390642dc5200dd77abdbad2e7342baf8ed0c008b3cf89130fec8b
4
- data.tar.gz: 41161da73e4597ce89c93df3f06bb5a61060029b31a2fe79086353e6f5a63e42
3
+ metadata.gz: 5de1a8da305c59b2d0b98f056838d1a476c1a52ee33a6d1783c7ff296dc0f91b
4
+ data.tar.gz: 5764329ca76a9fe6b62a71d38935f60953840a32b3bd2395e8ae6d4c0ae587c2
5
5
  SHA512:
6
- metadata.gz: d711a447b90fc354c8aff2844d8984d2b77f3bb4bd2df18b8471a51f7103aab2e22484411f82e242b50756528f6ac8ec1e88e86f3bc095f15cf30555d14061d5
7
- data.tar.gz: 6f17928a2c96d9f502fd7420827c1ee319c78a6408c97fb22da51273025375a2715ac82512abe87b4b639169442b97006e6803391feb16e778e3dd5db3d45aed
6
+ metadata.gz: 25b1e6ca3ee97ac825777f113c95b7d32f5c71c3adba67de430505396361ed3207eee14d6c8953d9bc379c43ced09258e311327c34eca15aa52806d51343609c
7
+ data.tar.gz: c57ff6337eb89504d3afff96fd4916aa927842ab6a4cde3b463f57191f986d38fc79978fcef0fa8aa2979d94919eaecfce98595392dadc42ef39a233bfb67ad7
@@ -1,5 +1,5 @@
1
1
  module Lolcommits
2
2
  module Dotcom
3
- VERSION = "0.0.5".freeze
3
+ VERSION = "0.1.0".freeze
4
4
  end
5
5
  end
@@ -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.
@@ -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.11.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.5
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-02-05 00:00:00.000000000 Z
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.11.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.11.0
40
+ version: 0.12.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement