socket_switcher 0.1.0 → 0.1.1

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: daf5b77490111b5a65ed2bfdaf01d3695a574985
4
- data.tar.gz: 628c4fd57e894154ffb26dcadf42de8a2da98035
3
+ metadata.gz: 7b01aea41c59277caf7b67047b00d6f3cde23a83
4
+ data.tar.gz: 5e52b1332cfc29200b361bced4a1ac1d75f5972d
5
5
  SHA512:
6
- metadata.gz: 75c7adcc370ea31b715a6fee5345022390668b7581a2725b580c8569f651279007c20f215abb85f405facfbe869f4cddf83030c01e197d139d1d054dddd56531
7
- data.tar.gz: 058dd055a29300e10e94b8b93ab3693e694c0302c3179f1fdebb047208a6f814218036c9dea23675cdcd110d202b5a5462ab0642071cc70b39b9551368074f51
6
+ metadata.gz: 1a54b25a550184f054df64df55319c41def6c2197ca2aee68942cb2ad1b9bcbb0de7a65f593a6757fee04e104ed59f0d3ff3db7177f89bcb6b62db9ee3e1bfef
7
+ data.tar.gz: 4d222c6ed61d780ce9c63badac205189b1f352e5e96b07d7aa5458c0c5a30e650f306c7863626d49d25aa5d629a0c28fc41918449f39aa292fa4c784a4fde074
data/Gemfile CHANGED
@@ -5,4 +5,4 @@ source 'https://rubygems.org'
5
5
  gemspec
6
6
 
7
7
  gem 'byebug', group: :development
8
- gem 'complex_config', path: '~/scm/complex_config'
8
+ gem 'complex_config'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -16,7 +16,7 @@ max = (ENV['MAX_DEVICE'] || 3).to_i
16
16
  rescue SocketSwitcher::CommunicationError => e
17
17
  warn "Caught #{e.class}: #{e} => exiting!"
18
18
  exit
19
- rescue SocketSwitcher::LigthSwitchError => e
19
+ rescue SocketSwitcher::SocketSwitcherError => e
20
20
  warn "Caught #{e.class}: #{e}"
21
21
  sleep rand
22
22
  end
@@ -1,6 +1,6 @@
1
1
  module SocketSwitcher
2
2
  # SocketSwitcher version
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
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:
@@ -1,22 +1,22 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: socket_switcher 0.1.0 ruby lib
2
+ # stub: socket_switcher 0.1.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "socket_switcher"
6
- s.version = "0.1.0"
6
+ s.version = "0.1.1"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
10
10
  s.authors = ["Florian Frank"]
11
- s.date = "2015-01-02"
11
+ s.date = "2015-08-25"
12
12
  s.description = "Switches devices on and off. Yes, it does\u{2026}"
13
13
  s.email = "flori@ping.de"
14
14
  s.extra_rdoc_files = ["README.md", "lib/socket_switcher.rb", "lib/socket_switcher/device.rb", "lib/socket_switcher/errors.rb", "lib/socket_switcher/port.rb", "lib/socket_switcher/version.rb"]
15
- s.files = [".gitignore", ".rspec", ".utilsrc", "Gemfile", "README.md", "Rakefile", "VERSION", "arduino-receiver/receiver/receiver.ino", "arduino/lib/.holder", "arduino/lib/RCSwitch/RCSwitch.cpp", "arduino/lib/RCSwitch/RCSwitch.h", "arduino/lib/RCSwitch/examples/ReceiveDemo_Advanced/ReceiveDemo_Advanced.pde", "arduino/lib/RCSwitch/examples/ReceiveDemo_Advanced/helperfunctions.ino", "arduino/lib/RCSwitch/examples/ReceiveDemo_Advanced/output.ino", "arduino/lib/RCSwitch/examples/ReceiveDemo_Simple/ReceiveDemo_Simple.pde", "arduino/lib/RCSwitch/examples/SendDemo/SendDemo.pde", "arduino/lib/RCSwitch/examples/TypeA_WithDIPSwitches/TypeA_WithDIPSwitches.pde", "arduino/lib/RCSwitch/examples/TypeA_WithDIPSwitches_Lightweight/TypeA_WithDIPSwitches_Lightweight.ino", "arduino/lib/RCSwitch/examples/TypeB_WithRotaryOrSlidingSwitches/TypeB_WithRotaryOrSlidingSwitches.pde", "arduino/lib/RCSwitch/examples/TypeC_Intertechno/TypeC_Intertechno.pde", "arduino/lib/RCSwitch/examples/TypeD_REV/TypeD_REV.ino", "arduino/lib/RCSwitch/examples/Webserver/Webserver.pde", "arduino/lib/RCSwitch/keywords.txt", "arduino/src/switcher/switcher.ino.erb", "config/default.yml", "config/traffic_lights.yml", "examples/blinkenlights.rb", "lib/socket_switcher.rb", "lib/socket_switcher/device.rb", "lib/socket_switcher/errors.rb", "lib/socket_switcher/port.rb", "lib/socket_switcher/version.rb", "socket_switcher.gemspec", "spec/socket_switcher/device_spec.rb", "spec/socket_switcher/port_spec.rb", "spec/spec_helper.rb"]
15
+ s.files = [".gitignore", ".rspec", ".utilsrc", "Gemfile", "README.md", "Rakefile", "VERSION", "arduino-receiver/receiver/receiver.ino", "arduino/lib/.holder", "arduino/lib/RCSwitch/RCSwitch.cpp", "arduino/lib/RCSwitch/RCSwitch.h", "arduino/lib/RCSwitch/examples/ReceiveDemo_Advanced/ReceiveDemo_Advanced.pde", "arduino/lib/RCSwitch/examples/ReceiveDemo_Advanced/helperfunctions.ino", "arduino/lib/RCSwitch/examples/ReceiveDemo_Advanced/output.ino", "arduino/lib/RCSwitch/examples/ReceiveDemo_Simple/ReceiveDemo_Simple.pde", "arduino/lib/RCSwitch/examples/SendDemo/SendDemo.pde", "arduino/lib/RCSwitch/examples/TypeA_WithDIPSwitches/TypeA_WithDIPSwitches.pde", "arduino/lib/RCSwitch/examples/TypeA_WithDIPSwitches_Lightweight/TypeA_WithDIPSwitches_Lightweight.ino", "arduino/lib/RCSwitch/examples/TypeB_WithRotaryOrSlidingSwitches/TypeB_WithRotaryOrSlidingSwitches.pde", "arduino/lib/RCSwitch/examples/TypeC_Intertechno/TypeC_Intertechno.pde", "arduino/lib/RCSwitch/examples/TypeD_REV/TypeD_REV.ino", "arduino/lib/RCSwitch/examples/Webserver/Webserver.pde", "arduino/lib/RCSwitch/keywords.txt", "arduino/src/switcher/switcher.ino.erb", "config/default.yml", "examples/blinkenlights.rb", "lib/socket_switcher.rb", "lib/socket_switcher/device.rb", "lib/socket_switcher/errors.rb", "lib/socket_switcher/port.rb", "lib/socket_switcher/version.rb", "socket_switcher.gemspec", "spec/socket_switcher/device_spec.rb", "spec/socket_switcher/port_spec.rb", "spec/spec_helper.rb"]
16
16
  s.homepage = "http://github.com/flori/socket_switcher"
17
17
  s.licenses = ["GPL-2"]
18
18
  s.rdoc_options = ["--title", "SocketSwitcher - Switches devices on and off", "--main", "README.md"]
19
- s.rubygems_version = "2.2.2"
19
+ s.rubygems_version = "2.4.5.1"
20
20
  s.summary = "Switches devices on and off"
21
21
  s.test_files = ["spec/socket_switcher/device_spec.rb", "spec/socket_switcher/port_spec.rb", "spec/spec_helper.rb"]
22
22
 
@@ -24,14 +24,14 @@ Gem::Specification.new do |s|
24
24
  s.specification_version = 4
25
25
 
26
26
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
27
- s.add_development_dependency(%q<gem_hadar>, ["~> 1.1.2"])
27
+ s.add_development_dependency(%q<gem_hadar>, ["~> 1.3.1"])
28
28
  s.add_development_dependency(%q<simplecov>, ["~> 0.9"])
29
29
  s.add_development_dependency(%q<rspec>, ["~> 3.0"])
30
30
  s.add_runtime_dependency(%q<tins>, ["~> 1.0"])
31
31
  s.add_runtime_dependency(%q<serialport>, ["~> 1.3"])
32
32
  s.add_runtime_dependency(%q<complex_config>, [">= 0"])
33
33
  else
34
- s.add_dependency(%q<gem_hadar>, ["~> 1.1.2"])
34
+ s.add_dependency(%q<gem_hadar>, ["~> 1.3.1"])
35
35
  s.add_dependency(%q<simplecov>, ["~> 0.9"])
36
36
  s.add_dependency(%q<rspec>, ["~> 3.0"])
37
37
  s.add_dependency(%q<tins>, ["~> 1.0"])
@@ -39,7 +39,7 @@ Gem::Specification.new do |s|
39
39
  s.add_dependency(%q<complex_config>, [">= 0"])
40
40
  end
41
41
  else
42
- s.add_dependency(%q<gem_hadar>, ["~> 1.1.2"])
42
+ s.add_dependency(%q<gem_hadar>, ["~> 1.3.1"])
43
43
  s.add_dependency(%q<simplecov>, ["~> 0.9"])
44
44
  s.add_dependency(%q<rspec>, ["~> 3.0"])
45
45
  s.add_dependency(%q<tins>, ["~> 1.0"])
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socket_switcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-02 00:00:00.000000000 Z
11
+ date: 2015-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.1.2
19
+ version: 1.3.1
20
20
  type: :development
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.1.2
26
+ version: 1.3.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: simplecov
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -131,7 +131,6 @@ files:
131
131
  - arduino/lib/RCSwitch/keywords.txt
132
132
  - arduino/src/switcher/switcher.ino.erb
133
133
  - config/default.yml
134
- - config/traffic_lights.yml
135
134
  - examples/blinkenlights.rb
136
135
  - lib/socket_switcher.rb
137
136
  - lib/socket_switcher/device.rb
@@ -166,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
165
  version: '0'
167
166
  requirements: []
168
167
  rubyforge_project:
169
- rubygems_version: 2.2.2
168
+ rubygems_version: 2.4.5.1
170
169
  signing_key:
171
170
  specification_version: 4
172
171
  summary: Switches devices on and off
@@ -1,8 +0,0 @@
1
- transmit_pin: 2
2
- devices:
3
- - # GREEN
4
- enable: 4474193
5
- disable: 4474196
6
- - # RED
7
- enable: 4477265
8
- disable: 4477268