ampel_extase 0.6.1 → 0.6.2

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: 5ccc840d633ab0488ea1744994fe58e8429ab627
4
- data.tar.gz: 8198f0d487744c95b67b001659d0b0d2ff558674
3
+ metadata.gz: af74d646267c574a1c074361f0c19648358b4416
4
+ data.tar.gz: 41fcb34b0b8679e296a31e57e4b21095817cf9e4
5
5
  SHA512:
6
- metadata.gz: 2e5e26bc96d826eae6b5611ec2a2d88601a4a4d192dd74e5c1799466d4a52c8be4ee97eb47446763643e2964b26ae2d2498a0b7d25013a4528bb3aabfa6bc867
7
- data.tar.gz: 48a291f025d2024241618383463fb2aa1beb3ada57138e98c26c0a7656c09444bcd83c4b0255d2736530655f34c918ad30b59a634173ef71ce853a85d6fb1869
6
+ metadata.gz: 853d7913bcbcb3e6e1206094fe5c604c940a61b4c61af34e311b659b65d5921c919775ac037695258d89b88ccc38759fc0b5a6bb51f3b3a78d559dd4aa04f19a
7
+ data.tar.gz: 8e4254e1bca325d6013ef49460780e1bfae3953e143bdc4d138156e831e5e97fd61a871d4ba230e153974556a0acf8c2dc3b80188dc7512bb136bd028172f238
data/.gitignore CHANGED
@@ -2,6 +2,7 @@
2
2
  .DS_Store
3
3
  .build
4
4
  .bundle
5
+ .byebug_history
5
6
  .rvmrc
6
7
  Gemfile.lock
7
8
  coverage
@@ -1,9 +1,5 @@
1
1
  rvm:
2
2
  - 2.1
3
3
  - 2.2
4
- - ruby-head
5
- matrix:
6
- allow_failures:
7
- - rvm: ruby-head
8
- env:
9
- - CODECLIMATE_REPO_TOKEN=6a30c15f0405afc4bcdb43205af4520a2b38cc422d014198f599a25a1df2cacf
4
+ - 2.3.3
5
+ - 2.4.0
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ GemHadar do
12
12
  licenses << 'GPL-2'
13
13
  test_dir 'spec'
14
14
  ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', '.rvmrc', 'coverage',
15
- 'tags', '.bundle', '.DS_Store', '.build', 'errors.lst'
15
+ 'tags', '.bundle', '.DS_Store', '.build', 'errors.lst', '.byebug_history'
16
16
 
17
17
  readme 'README.md'
18
18
  executables.merge Dir['bin/*'].map { |x| File.basename(x) }
@@ -23,7 +23,6 @@ GemHadar do
23
23
  development_dependency 'simplecov', '~>0.9'
24
24
  development_dependency 'rspec', '~>3.0'
25
25
  development_dependency 'byebug'
26
- development_dependency 'codeclimate-test-reporter'
27
26
 
28
27
  default_task_dependencies :spec
29
28
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.1
1
+ 0.6.2
@@ -1,56 +1,53 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: ampel_extase 0.6.1 ruby lib
2
+ # stub: ampel_extase 0.6.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
- s.name = "ampel_extase"
6
- s.version = "0.6.1"
5
+ s.name = "ampel_extase".freeze
6
+ s.version = "0.6.2"
7
7
 
8
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
- s.require_paths = ["lib"]
10
- s.authors = ["Florian Frank"]
11
- s.date = "2016-05-09"
12
- s.description = "Library to control the build traffic light. Yes, we can\u{2026}"
13
- s.email = "flori@ping.de"
14
- s.executables = ["ampel_control"]
15
- s.extra_rdoc_files = ["README.md", "lib/ampel_extase.rb", "lib/ampel_extase/build_state.rb", "lib/ampel_extase/controller.rb", "lib/ampel_extase/jenkins_client.rb", "lib/ampel_extase/jenkins_state_observer.rb", "lib/ampel_extase/jenkins_warning_state_observer.rb", "lib/ampel_extase/light_switcher.rb", "lib/ampel_extase/version.rb"]
16
- s.files = [".gitignore", ".travis.yml", ".utilsrc", "Gemfile", "README.md", "Rakefile", "VERSION", "ampel_extase.gemspec", "bin/ampel_control", "lib/ampel_extase.rb", "lib/ampel_extase/build_state.rb", "lib/ampel_extase/controller.rb", "lib/ampel_extase/jenkins_client.rb", "lib/ampel_extase/jenkins_state_observer.rb", "lib/ampel_extase/jenkins_warning_state_observer.rb", "lib/ampel_extase/light_switcher.rb", "lib/ampel_extase/version.rb", "spec/ampel_extase/build_state_spec.rb", "spec/ampel_extase/controller_spec.rb", "spec/ampel_extase/jekins_state_observer_spec.rb", "spec/ampel_extase/jenkins_client_spec.rb", "spec/ampel_extase/jenkins_warning_state_observer_spec.rb", "spec/ampel_extase/light_switcher_spec.rb", "spec/spec_helper.rb"]
17
- s.homepage = "http://github.com/flori/ampel_extase"
18
- s.licenses = ["GPL-2"]
19
- s.rdoc_options = ["--title", "AmpelExtase - Library to control the build traffic light", "--main", "README.md"]
20
- s.rubygems_version = "2.5.1"
21
- s.summary = "Library to control the build traffic light"
22
- s.test_files = ["spec/ampel_extase/build_state_spec.rb", "spec/ampel_extase/controller_spec.rb", "spec/ampel_extase/jekins_state_observer_spec.rb", "spec/ampel_extase/jenkins_client_spec.rb", "spec/ampel_extase/jenkins_warning_state_observer_spec.rb", "spec/ampel_extase/light_switcher_spec.rb", "spec/spec_helper.rb"]
8
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
+ s.require_paths = ["lib".freeze]
10
+ s.authors = ["Florian Frank".freeze]
11
+ s.date = "2017-03-10"
12
+ s.description = "Library to control the build traffic light. Yes, we can\u2026".freeze
13
+ s.email = "flori@ping.de".freeze
14
+ s.executables = ["ampel_control".freeze]
15
+ s.extra_rdoc_files = ["README.md".freeze, "lib/ampel_extase.rb".freeze, "lib/ampel_extase/build_state.rb".freeze, "lib/ampel_extase/controller.rb".freeze, "lib/ampel_extase/jenkins_client.rb".freeze, "lib/ampel_extase/jenkins_state_observer.rb".freeze, "lib/ampel_extase/jenkins_warning_state_observer.rb".freeze, "lib/ampel_extase/light_switcher.rb".freeze, "lib/ampel_extase/version.rb".freeze]
16
+ s.files = [".gitignore".freeze, ".travis.yml".freeze, ".utilsrc".freeze, "Gemfile".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "ampel_extase.gemspec".freeze, "bin/ampel_control".freeze, "lib/ampel_extase.rb".freeze, "lib/ampel_extase/build_state.rb".freeze, "lib/ampel_extase/controller.rb".freeze, "lib/ampel_extase/jenkins_client.rb".freeze, "lib/ampel_extase/jenkins_state_observer.rb".freeze, "lib/ampel_extase/jenkins_warning_state_observer.rb".freeze, "lib/ampel_extase/light_switcher.rb".freeze, "lib/ampel_extase/version.rb".freeze, "spec/ampel_extase/build_state_spec.rb".freeze, "spec/ampel_extase/controller_spec.rb".freeze, "spec/ampel_extase/jekins_state_observer_spec.rb".freeze, "spec/ampel_extase/jenkins_client_spec.rb".freeze, "spec/ampel_extase/jenkins_warning_state_observer_spec.rb".freeze, "spec/ampel_extase/light_switcher_spec.rb".freeze, "spec/spec_helper.rb".freeze]
17
+ s.homepage = "http://github.com/flori/ampel_extase".freeze
18
+ s.licenses = ["GPL-2".freeze]
19
+ s.rdoc_options = ["--title".freeze, "AmpelExtase - Library to control the build traffic light".freeze, "--main".freeze, "README.md".freeze]
20
+ s.rubygems_version = "2.6.10".freeze
21
+ s.summary = "Library to control the build traffic light".freeze
22
+ s.test_files = ["spec/ampel_extase/build_state_spec.rb".freeze, "spec/ampel_extase/controller_spec.rb".freeze, "spec/ampel_extase/jekins_state_observer_spec.rb".freeze, "spec/ampel_extase/jenkins_client_spec.rb".freeze, "spec/ampel_extase/jenkins_warning_state_observer_spec.rb".freeze, "spec/ampel_extase/light_switcher_spec.rb".freeze, "spec/spec_helper.rb".freeze]
23
23
 
24
24
  if s.respond_to? :specification_version then
25
25
  s.specification_version = 4
26
26
 
27
27
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
28
- s.add_development_dependency(%q<gem_hadar>, ["~> 1.7.1"])
29
- s.add_development_dependency(%q<simplecov>, ["~> 0.9"])
30
- s.add_development_dependency(%q<rspec>, ["~> 3.0"])
31
- s.add_development_dependency(%q<byebug>, [">= 0"])
32
- s.add_development_dependency(%q<codeclimate-test-reporter>, [">= 0"])
33
- s.add_runtime_dependency(%q<tins>, ["~> 1.0"])
34
- s.add_runtime_dependency(%q<term-ansicolor>, ["~> 1.0"])
35
- s.add_runtime_dependency(%q<socket_switcher>, [">= 0"])
28
+ s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.7.1"])
29
+ s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.9"])
30
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 3.0"])
31
+ s.add_development_dependency(%q<byebug>.freeze, [">= 0"])
32
+ s.add_runtime_dependency(%q<tins>.freeze, ["~> 1.0"])
33
+ s.add_runtime_dependency(%q<term-ansicolor>.freeze, ["~> 1.0"])
34
+ s.add_runtime_dependency(%q<socket_switcher>.freeze, [">= 0"])
36
35
  else
37
- s.add_dependency(%q<gem_hadar>, ["~> 1.7.1"])
38
- s.add_dependency(%q<simplecov>, ["~> 0.9"])
39
- s.add_dependency(%q<rspec>, ["~> 3.0"])
40
- s.add_dependency(%q<byebug>, [">= 0"])
41
- s.add_dependency(%q<codeclimate-test-reporter>, [">= 0"])
42
- s.add_dependency(%q<tins>, ["~> 1.0"])
43
- s.add_dependency(%q<term-ansicolor>, ["~> 1.0"])
44
- s.add_dependency(%q<socket_switcher>, [">= 0"])
36
+ s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.7.1"])
37
+ s.add_dependency(%q<simplecov>.freeze, ["~> 0.9"])
38
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.0"])
39
+ s.add_dependency(%q<byebug>.freeze, [">= 0"])
40
+ s.add_dependency(%q<tins>.freeze, ["~> 1.0"])
41
+ s.add_dependency(%q<term-ansicolor>.freeze, ["~> 1.0"])
42
+ s.add_dependency(%q<socket_switcher>.freeze, [">= 0"])
45
43
  end
46
44
  else
47
- s.add_dependency(%q<gem_hadar>, ["~> 1.7.1"])
48
- s.add_dependency(%q<simplecov>, ["~> 0.9"])
49
- s.add_dependency(%q<rspec>, ["~> 3.0"])
50
- s.add_dependency(%q<byebug>, [">= 0"])
51
- s.add_dependency(%q<codeclimate-test-reporter>, [">= 0"])
52
- s.add_dependency(%q<tins>, ["~> 1.0"])
53
- s.add_dependency(%q<term-ansicolor>, ["~> 1.0"])
54
- s.add_dependency(%q<socket_switcher>, [">= 0"])
45
+ s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.7.1"])
46
+ s.add_dependency(%q<simplecov>.freeze, ["~> 0.9"])
47
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.0"])
48
+ s.add_dependency(%q<byebug>.freeze, [">= 0"])
49
+ s.add_dependency(%q<tins>.freeze, ["~> 1.0"])
50
+ s.add_dependency(%q<term-ansicolor>.freeze, ["~> 1.0"])
51
+ s.add_dependency(%q<socket_switcher>.freeze, [">= 0"])
55
52
  end
56
53
  end
@@ -124,6 +124,7 @@ class AmpelExtase::Controller
124
124
  def info(message)
125
125
  yellow message
126
126
  end
127
+
127
128
  def switch_all_lights_off
128
129
  @lights.each(&:off)
129
130
  end
@@ -1,6 +1,6 @@
1
1
  module AmpelExtase
2
2
  # AmpelExtase version
3
- VERSION = '0.6.1'
3
+ VERSION = '0.6.2'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
@@ -4,10 +4,6 @@ if ENV['START_SIMPLECOV'].to_i == 1
4
4
  add_filter "#{File.basename(File.dirname(__FILE__))}/"
5
5
  end
6
6
  end
7
- if ENV['CODECLIMATE_REPO_TOKEN']
8
- require "codeclimate-test-reporter"
9
- CodeClimate::TestReporter.start
10
- end
11
7
  require 'rspec'
12
8
  require 'byebug'
13
9
  require 'ampel_extase'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ampel_extase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-09 00:00:00.000000000 Z
11
+ date: 2017-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: codeclimate-test-reporter
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: tins
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -186,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
172
  version: '0'
187
173
  requirements: []
188
174
  rubyforge_project:
189
- rubygems_version: 2.5.1
175
+ rubygems_version: 2.6.10
190
176
  signing_key:
191
177
  specification_version: 4
192
178
  summary: Library to control the build traffic light