chicanery 0.1.8 → 0.1.9

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
- SHA1:
3
- metadata.gz: 10a2f31b2de883be54826b643b9bcdb8302f92d3
4
- data.tar.gz: 18fca2caf13b57a4aa6a411f070a40ff64ae2517
2
+ SHA256:
3
+ metadata.gz: 496b85a08502668e3852df9db9f99132d09b2974b5b2e8f7f9adbcfff5a667ed
4
+ data.tar.gz: 6a2e6113783e2bdc409bb9834a4d7e089a72b54c15ba3208c6c245a072f989d4
5
5
  SHA512:
6
- metadata.gz: ecd3c65a9e6ca02735cda32d37b42d73428fb11f1f7d27b2f62f665befb512b3f49f73d9dee1e043bb3ffc4dc6b95088ce4f833554bfcc83f750b7b9ad006ed2
7
- data.tar.gz: 6d956f8f614c256deecf00abcd28af7b588543e21a38e5248b177deca96861137ef7aeae5b97167df004f6a6c8687ff9b2723a698e3fe13f08041d66a26553f3
6
+ metadata.gz: 583955a38c81e0f4f5ea0f90569c688b8050092e56ebf0f022afba40cd7df96d7cf17e011f34abc3fce15302921852003dc4339b35bd76168736211e98d8e73a
7
+ data.tar.gz: 5d74241181416c8df9b59b1150dd3adb12dd9e6dceb829c86588fa51c99c507459cd6c5b44aee6ba7921a4d724937bec262eb2cc96e28f71e2af8294ca10bae4
@@ -1,5 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - "1.9.2"
4
- - "1.9.3"
5
- script: bundle exec rake COVERAGE=true
3
+ - 2.2
4
+ script: bundle exec rspec
@@ -2,52 +2,53 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  chicanery (0.1.8)
5
- colorize (~> 0)
6
- nokogiri (~> 1)
5
+ colorize
6
+ nokogiri
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- addressable (2.3.6)
12
- colorize (0.7.3)
13
- crack (0.4.2)
11
+ addressable (2.7.0)
12
+ public_suffix (>= 2.0.2, < 5.0)
13
+ colorize (0.8.1)
14
+ crack (0.4.3)
14
15
  safe_yaml (~> 1.0.0)
15
- diff-lcs (1.2.5)
16
- docile (1.1.5)
17
- mini_portile (0.6.0)
18
- multi_json (1.10.1)
19
- nokogiri (1.6.3.1)
20
- mini_portile (= 0.6.0)
21
- rake (0.9.6)
22
- rspec (2.99.0)
23
- rspec-core (~> 2.99.0)
24
- rspec-expectations (~> 2.99.0)
25
- rspec-mocks (~> 2.99.0)
26
- rspec-core (2.99.1)
27
- rspec-expectations (2.99.2)
28
- diff-lcs (>= 1.1.3, < 2.0)
29
- rspec-mocks (2.99.2)
30
- safe_yaml (1.0.3)
31
- simplecov (0.9.0)
32
- docile (~> 1.1.0)
33
- multi_json
34
- simplecov-html (~> 0.8.0)
35
- simplecov-gem-adapter (1.0.1)
36
- simplecov
37
- simplecov-html (0.8.0)
38
- vcr (2.9.2)
39
- webmock (1.9.3)
40
- addressable (>= 2.2.7)
16
+ diff-lcs (1.3)
17
+ hashdiff (1.0.1)
18
+ mini_portile2 (2.4.0)
19
+ nokogiri (1.10.9)
20
+ mini_portile2 (~> 2.4.0)
21
+ public_suffix (4.0.3)
22
+ rake (13.0.1)
23
+ rspec (3.9.0)
24
+ rspec-core (~> 3.9.0)
25
+ rspec-expectations (~> 3.9.0)
26
+ rspec-mocks (~> 3.9.0)
27
+ rspec-core (3.9.1)
28
+ rspec-support (~> 3.9.1)
29
+ rspec-expectations (3.9.1)
30
+ diff-lcs (>= 1.2.0, < 2.0)
31
+ rspec-support (~> 3.9.0)
32
+ rspec-mocks (3.9.1)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.9.0)
35
+ rspec-support (3.9.2)
36
+ safe_yaml (1.0.5)
37
+ vcr (5.1.0)
38
+ webmock (3.8.3)
39
+ addressable (>= 2.3.6)
41
40
  crack (>= 0.3.2)
41
+ hashdiff (>= 0.4.0, < 2.0.0)
42
42
 
43
43
  PLATFORMS
44
44
  ruby
45
45
 
46
46
  DEPENDENCIES
47
47
  chicanery!
48
- rake (~> 0)
49
- rspec (~> 2)
50
- simplecov
51
- simplecov-gem-adapter
48
+ rake
49
+ rspec
52
50
  vcr
53
- webmock (< 1.10)
51
+ webmock
52
+
53
+ BUNDLED WITH
54
+ 2.1.4
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Chicanery [![Build Status](https://secure.travis-ci.org/markryall/chicanery.png)](http://travis-ci.org/markryall/chicanery)
1
+ # Chicanery
2
2
 
3
3
  This is a command line tool to trigger any kind of action in response to any interesting event in a software development project (such as build server events, commit events, deployment events, etc.).
4
4
 
@@ -101,7 +101,7 @@ The following callbacks may be received after checking a web site:
101
101
 
102
102
  ## Supported CI servers
103
103
 
104
- Currently only ci servers that can provide [cctray reporting format](http://confluence.public.thoughtworks.org/display/CI/Multiple+Project+Summary+Reporting+Standard) are supported.
104
+ Currently only ci servers that can provide [Multiple Project Summary Reporting Standard](https://github.com/erikdoe/ccmenu/wiki/Multiple-Project-Summary-Reporting-Standard) are supported.
105
105
 
106
106
  This includes thoughtworks go, tddium, travisci, circleci, jenkins, teamcity, cc.net and several others:
107
107
 
@@ -132,4 +132,4 @@ Basic authentication is supported by passing :user => 'user', :password => 'pass
132
132
  2. Create your feature branch (`git checkout -b my-new-feature`)
133
133
  3. Commit your changes (`git commit -am 'Add some feature'`)
134
134
  4. Push to the branch (`git push origin my-new-feature`)
135
- 5. Create new Pull Request
135
+ 5. Create new Pull Request
data/Rakefile CHANGED
@@ -1,5 +1 @@
1
1
  require "bundler/gem_tasks"
2
-
3
- task :default do
4
- sh 'bundle exec rspec spec'
5
- end
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'chicanery'
4
+ require 'chicanery/version'
5
5
 
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = "chicanery"
@@ -17,13 +17,11 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency 'nokogiri', '~>1'
21
- gem.add_dependency 'colorize', '~>0'
20
+ gem.add_dependency 'nokogiri'
21
+ gem.add_dependency 'colorize'
22
22
 
23
- gem.add_development_dependency 'rake', '~>0'
24
- gem.add_development_dependency 'rspec', '~>2'
25
- gem.add_development_dependency 'simplecov'
26
- gem.add_development_dependency 'simplecov-gem-adapter'
23
+ gem.add_development_dependency 'rake'
24
+ gem.add_development_dependency 'rspec'
27
25
  gem.add_development_dependency 'vcr'
28
- gem.add_development_dependency 'webmock', '<1.10'
29
- end
26
+ gem.add_development_dependency 'webmock'
27
+ end
@@ -4,6 +4,7 @@ if ENV['COVERAGE']
4
4
  SimpleCov.start 'gem'
5
5
  end
6
6
 
7
+ require 'chicanery/version'
7
8
  require 'chicanery/persistence'
8
9
  require 'chicanery/servers'
9
10
  require 'chicanery/repos'
@@ -16,8 +17,6 @@ module Chicanery
16
17
  include Repos
17
18
  include Sites
18
19
 
19
- VERSION = "0.1.8"
20
-
21
20
  def poll_period seconds=nil
22
21
  @poll_period = seconds if seconds
23
22
  @poll_period
@@ -1,3 +1,5 @@
1
+ require 'colorize'
2
+
1
3
  module Chicanery
2
4
  module Debug
3
5
  def verbose message
@@ -1,5 +1,4 @@
1
1
  require 'chicanery/debug'
2
- require 'colorize'
3
2
 
4
3
  module Chicanery
5
4
  module Handlers
@@ -0,0 +1,3 @@
1
+ module Chicanery
2
+ VERSION = '0.1.9'
3
+ end
@@ -1,5 +1,4 @@
1
- require 'chicanery/cctray'
2
- require 'vcr'
1
+ require_relative '../spec_helper'
3
2
 
4
3
  VCR.configure do |c|
5
4
  c.cassette_library_dir = 'fixtures/vcr_cassettes'
@@ -64,4 +63,4 @@ describe Chicanery::Cctray do
64
63
  expect{server.jobs}.to raise_error Net::HTTPRetriableError
65
64
  end
66
65
  end
67
- end
66
+ end
@@ -1,3 +1,5 @@
1
+ require_relative '../spec_helper'
2
+
1
3
  describe Chicanery::Collections do
2
4
  include Chicanery::Collections
3
5
 
@@ -11,4 +13,4 @@ describe Chicanery::Collections do
11
13
  send("#{entity}s").should == [:entity]
12
14
  end
13
15
  end
14
- end
16
+ end
@@ -1,3 +1,5 @@
1
+ require_relative '../spec_helper'
2
+
1
3
  describe Chicanery::Persistence do
2
4
  include Chicanery::Persistence
3
5
 
@@ -38,4 +40,4 @@ describe Chicanery::Persistence do
38
40
  restore.should == state
39
41
  end
40
42
  end
41
- end
43
+ end
@@ -1,3 +1,5 @@
1
+ require_relative '../spec_helper'
2
+
1
3
  describe Chicanery::Servers do
2
4
  include Chicanery::Servers
3
5
 
@@ -60,4 +62,4 @@ describe Chicanery::Servers do
60
62
  should_receive(:notify_fixed_handlers).with 'name', current_job
61
63
  end
62
64
  end
63
- end
65
+ end
@@ -1,3 +1,5 @@
1
+ require_relative '../spec_helper'
2
+
1
3
  describe Chicanery::Summary do
2
4
  let(:state) { {servers: {} } }
3
5
 
@@ -48,4 +50,4 @@ describe Chicanery::Summary do
48
50
  state.should be_building
49
51
  end
50
52
  end
51
- end
53
+ end
@@ -1,3 +1,5 @@
1
+ require_relative 'spec_helper'
2
+
1
3
  describe Chicanery do
2
4
  subject { Object.new.extend Chicanery }
3
5
 
@@ -1,3 +1,5 @@
1
+ require_relative 'spec_helper'
2
+
1
3
  describe Chicanery do
2
4
  subject { Object.new.extend Chicanery }
3
5
 
@@ -35,4 +37,4 @@ describe Chicanery do
35
37
  # it compares current state and previous state for each server
36
38
  # it compares current state and previous state for each server
37
39
  end
38
- end
40
+ end
@@ -0,0 +1,9 @@
1
+ require 'vcr'
2
+ require 'chicanery/cctray'
3
+ require 'chicanery'
4
+
5
+ RSpec.configure do |config|
6
+ config.expect_with :rspec do |c|
7
+ c.syntax = [:should, :expect]
8
+ end
9
+ end
metadata CHANGED
@@ -1,73 +1,59 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chicanery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Ryall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-26 00:00:00.000000000 Z
11
+ date: 2020-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1'
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: colorize
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '2'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '2'
69
- - !ruby/object:Gem::Dependency
70
- name: simplecov
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
59
  - - ">="
@@ -81,7 +67,7 @@ dependencies:
81
67
  - !ruby/object:Gem::Version
82
68
  version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
- name: simplecov-gem-adapter
70
+ name: vcr
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - ">="
@@ -95,7 +81,7 @@ dependencies:
95
81
  - !ruby/object:Gem::Version
96
82
  version: '0'
97
83
  - !ruby/object:Gem::Dependency
98
- name: vcr
84
+ name: webmock
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
87
  - - ">="
@@ -108,20 +94,6 @@ dependencies:
108
94
  - - ">="
109
95
  - !ruby/object:Gem::Version
110
96
  version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: webmock
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "<"
116
- - !ruby/object:Gem::Version
117
- version: '1.10'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "<"
123
- - !ruby/object:Gem::Version
124
- version: '1.10'
125
97
  description: trigger various events related to a continuous integration environment
126
98
  email:
127
99
  - mark@ryall.name
@@ -159,6 +131,7 @@ files:
159
131
  - lib/chicanery/site.rb
160
132
  - lib/chicanery/sites.rb
161
133
  - lib/chicanery/summary.rb
134
+ - lib/chicanery/version.rb
162
135
  - spec/chicanery/cctray_spec.rb
163
136
  - spec/chicanery/collections_spec.rb
164
137
  - spec/chicanery/persistence_spec.rb
@@ -166,6 +139,7 @@ files:
166
139
  - spec/chicanery/summary_spec.rb
167
140
  - spec/chicanery_spec.rb
168
141
  - spec/embedded_chicanery_spec.rb
142
+ - spec/spec_helper.rb
169
143
  homepage: http://github.com/markryall/chicanery
170
144
  licenses: []
171
145
  metadata: {}
@@ -184,8 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
158
  - !ruby/object:Gem::Version
185
159
  version: '0'
186
160
  requirements: []
187
- rubyforge_project:
188
- rubygems_version: 2.2.2
161
+ rubygems_version: 3.0.6
189
162
  signing_key:
190
163
  specification_version: 4
191
164
  summary: polls various resources related to a ci environment and performs custom notifications
@@ -197,3 +170,4 @@ test_files:
197
170
  - spec/chicanery/summary_spec.rb
198
171
  - spec/chicanery_spec.rb
199
172
  - spec/embedded_chicanery_spec.rb
173
+ - spec/spec_helper.rb