ruboty-toggle_switch 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDhkNmU5ZGE4MGUyMTQ0ZWM1YmRjNDY4Nzc0MWNlNmY2MDQzYWE0Nw==
4
+ ZDFmZWYwNmM2Yjg4YmJmYjJjNjMxOGYxMGI4NGZmYWJhM2E1ZjcwNQ==
5
5
  data.tar.gz: !binary |-
6
- ZDA1ZTc3ZjMyMGYyZGFlMWU5ZjBmZjc0N2Y5YWEzMTE4NzE0NTI0YQ==
6
+ MjUzOWMwNDllY2M1NzIwYzRmYzA5NjVlN2IxMTQ4Mzg3M2IwYjQ2Zg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzI5YmFkOTRhYmQ0NWMwZTc5YzZmM2MzMDk2N2Q0NTgxMjgzZGIxMGU0ZDhi
10
- YTk5ODU0YzU5YmI0MzM0NTUzNDJmNWQwMjMyMWNlZTAzZGEwNDEzZWQ0YzI5
11
- ZDQxNThkMWZiNzkxMDJjY2RkZjZlZWM4ZWVmM2FhMTQ5Njk3MDU=
9
+ MzM2YTVjNGQ4NTM3MjdlNDRkNWMyODZjNmYxMjI0NDJlMWQxNzZhYWQ5YmE4
10
+ YzVjMTJmY2M3Y2NlY2Q5ZmZjNWYxY2Q1OTVmYTJiNjE3YmU5NTJhOGZhMzQx
11
+ N2U3Y2VlOTE0ZDdjYzEzMmI1ODNiY2YwMjMyN2E4MTIyODgxMjY=
12
12
  data.tar.gz: !binary |-
13
- OTRhYzI3NjY0MjVhZmJmYWU4OWNhMjBiMDk2OTBjMDYwYTcxZTE3Y2M4MjZk
14
- Mzg5NTNlZjllMDA4M2ZlMGUzYmY2ODYwZGQ5OTJmMDNjOGM4YzhmNzVlMzFm
15
- MGVlZDFlNTk0ZjE3YmUzMGNkMWZiMmNkNzI3YTZhMmZlMzVlMDQ=
13
+ ZDZiODU1M2ZhMjU4NmQwOTM0OTE4NTE4YTM1OTMwZTczMzBmM2YyZWZiZTRk
14
+ ZWFjNjdlNjRjYmExZjgzNTZlMWExY2E2NjQyNTU1MjUyY2FjMTY2OTFiYTA2
15
+ OTdiYTMwZWFlZjEzMWFhMGQ3ZjRlZjE5YjRjY2JiZjU0OGZlOTk=
data/NOTICE ADDED
@@ -0,0 +1,2 @@
1
+ Ruboty::ToggleSwitch
2
+ Copyright 2016 Naoto Takai
data/README.md CHANGED
@@ -37,7 +37,7 @@ switch is off for good sleeping on Apr 27 at 06:30.
37
37
 
38
38
  ## API
39
39
 
40
- Use `Ruboty::ToggleSwitch::Storage` to get the state of switch from another handlers:
40
+ Use `Ruboty::ToggleSwitch::Storage` to get the state of switch from other handlers:
41
41
 
42
42
  ```ruby
43
43
  storage = Ruboty::ToggleSwitch::Storage.new(robot.brain)
@@ -1,3 +1,17 @@
1
+ # Copyright 2016 Naoto Takai
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
1
15
  module Ruboty
2
16
  module Handlers
3
17
  class ToggleSwitch < Base
@@ -1,3 +1,17 @@
1
+ # Copyright 2016 Naoto Takai
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
1
15
  require 'ruboty'
2
16
 
3
17
  require 'ruboty/toggle_switch/version'
@@ -1,3 +1,17 @@
1
+ # Copyright 2016 Naoto Takai
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
1
15
  module Ruboty
2
16
  module ToggleSwitch
3
17
  class Storage
@@ -1,5 +1,19 @@
1
+ # Copyright 2016 Naoto Takai
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
1
15
  module Ruboty
2
16
  module ToggleSwitch
3
- VERSION = '0.4.1'
17
+ VERSION = '0.4.2'
4
18
  end
5
19
  end
@@ -13,6 +13,8 @@ Gem::Specification.new do |spec|
13
13
  spec.description = 'ruboty-toggle_switch allows you to toggle switch on/off.'
14
14
  spec.homepage = 'https://github.com/takai/ruboty-toggle_switch'
15
15
 
16
+ spec.license = 'Apache-2.0'
17
+
16
18
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
19
  spec.bindir = 'exe'
18
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-toggle_switch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naoto Takai
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-27 00:00:00.000000000 Z
11
+ date: 2016-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruboty
@@ -92,6 +92,7 @@ files:
92
92
  - .travis.yml
93
93
  - Gemfile
94
94
  - LICENSE
95
+ - NOTICE
95
96
  - README.md
96
97
  - Rakefile
97
98
  - bin/console
@@ -102,7 +103,8 @@ files:
102
103
  - lib/ruboty/toggle_switch/version.rb
103
104
  - ruboty-toggle_switch.gemspec
104
105
  homepage: https://github.com/takai/ruboty-toggle_switch
105
- licenses: []
106
+ licenses:
107
+ - Apache-2.0
106
108
  metadata: {}
107
109
  post_install_message:
108
110
  rdoc_options: []