device_api 1.0.1 → 1.0.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: 55ea06db2435c33d959c62aab352305c35a32864
4
- data.tar.gz: 80d93f31e0607100e755fe6de7e97520a4486af9
3
+ metadata.gz: e7a7b5bdf93302ec152db1dbff698bf90532af91
4
+ data.tar.gz: bbf0220af586c7b03e86cc5d724c5b747072519b
5
5
  SHA512:
6
- metadata.gz: e87c848043acf6f36d74a72a1e0ac6c698de8bb7fe4018444a43b561049ba86a04da195c155c1180366d9984b0e6e748b07b86e6ba5363ae0823b017a02be13e
7
- data.tar.gz: 685aef3c25dcca463f9435146be72214eebfd7e61347bdbb52a12fad57db28bffe083923d503ffa177a365b4877aa6df47d2c0e2021da89965cd92f1727a861c
6
+ metadata.gz: 199a54bc7f753adfffedf17d9b3c4c16a7dfd1bc7f541cdbbc24fdb6117eb32fd325054648ffdd2872597c4993cf2e82a290f6a65ae53a55ad100eb15399cc3a
7
+ data.tar.gz: f2c5fcd7cd129cd1d25934c09267126ea6743efe79b81b83a4551c1214f6381d0f62cfff9bab05804016e66a4e75661fc36426124ea4133e6ca1ef76727887f4
data/README.md CHANGED
@@ -17,6 +17,7 @@ common execution and logging methods, and the base Device class.
17
17
  ## Testing
18
18
 
19
19
  Tests are written in rspec, you can run them with:
20
+
20
21
  bundle install
21
22
  bundle exec rspec
22
23
 
@@ -49,8 +50,6 @@ And also expose functionality through the same object:
49
50
 
50
51
  ## License
51
52
 
52
- ## License
53
-
54
53
  *DeviceAPI* is available to everyone under the terms of the MIT open source
55
54
  licence. Take a look at the LICENSE file in the code.
56
55
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'device_api'
3
- s.version = '1.0.1'
3
+ s.version = '1.0.2'
4
4
  s.date = Time.now.strftime("%Y-%m-%d")
5
5
  s.summary = 'Physical Device Management API'
6
6
  s.description = 'A common interface for physical devices'
@@ -3,6 +3,9 @@ require 'device_api/sys_log'
3
3
  module DeviceAPI
4
4
  attr_accessor :log
5
5
 
6
+ class UnauthorizedDevice < StandardError; end
7
+ class DeviceNotFound < StandardError; end
8
+
6
9
  @@log = DeviceAPI::SysLog.new
7
10
 
8
11
  def self.set_logger(log)
@@ -12,4 +15,4 @@ module DeviceAPI
12
15
  def self.log
13
16
  @@log
14
17
  end
15
- end
18
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: device_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - BBC
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-21 00:00:00.000000000 Z
12
+ date: 2016-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -62,9 +62,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  version: '0'
63
63
  requirements: []
64
64
  rubyforge_project:
65
- rubygems_version: 2.4.5
65
+ rubygems_version: 2.5.0
66
66
  signing_key:
67
67
  specification_version: 4
68
68
  summary: Physical Device Management API
69
69
  test_files: []
70
- has_rdoc: