cradlepoint 0.2.1 → 0.2.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: fc0607e7966ce67469b3016b970518cb4f083fa1
4
- data.tar.gz: 89d811424d1b64f56a4e93e542e5abed215199a6
3
+ metadata.gz: 1373f6b332770fa6cf159c18db4a9b5464248a4c
4
+ data.tar.gz: 4c26ee69e2b22bd8d36214dab6cd0cca5632e37f
5
5
  SHA512:
6
- metadata.gz: b8bd523c938895c2e7d2c4f29fc1cc517e2da04a48251f18d651597246d9851c4aea5b10dc672c1d1159275bf30f7a38c82386cb825a6b5897fce4c398face2a
7
- data.tar.gz: ea2bdcdbf822b8dfd2a9448f122e5b6e301a6950dba010e7d12835280b47357e66f279525aed34084bd8fbbb99df846cdb9ff1c3d99302796ffeaf3401377907
6
+ metadata.gz: 29e20ab7f5c0d1ef0ba474505ebd35111b05f81170435914d93b191f2554ac59f925bd6255567f6460550f57cda146ec481fc1385480d21f920dc870ccadb730
7
+ data.tar.gz: 5872fc804609cb629a2024db15df877529261d570ac35b6a476617867ae9a60a9060d6c7a880d7bec3766a3a44fe6982757eb6fc53eaf81ad7dab2996f82d2d0
@@ -28,6 +28,11 @@ module Cradlepoint
28
28
  self.status_data = Cradlepoint.make_request(:get, build_new_url("#{ rel_url }/status"), params)
29
29
  end
30
30
 
31
+ def get_wan_devices
32
+ raise 'You must provide a mac' unless self.mac
33
+ Cradlepoint.make_request(:get, build_new_url("#{ rel_url }/status/wan/devices"), params)
34
+ end
35
+
31
36
  def params
32
37
  { params: { format: :json, mac: self.mac, limit: 1 } }
33
38
  end
@@ -1,3 +1,3 @@
1
1
  module Cradlepoint
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cradlepoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - uceem
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-29 00:00:00.000000000 Z
11
+ date: 2013-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -88,7 +88,6 @@ extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
90
  - .gitignore
91
- - .travis.yml
92
91
  - Gemfile
93
92
  - LICENSE.txt
94
93
  - README.md
@@ -133,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
132
  version: '0'
134
133
  requirements: []
135
134
  rubyforge_project:
136
- rubygems_version: 2.0.7
135
+ rubygems_version: 2.0.5
137
136
  signing_key:
138
137
  specification_version: 4
139
138
  summary: Cradlepoint ECM API gem
data/.travis.yml DELETED
@@ -1,9 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 1.9.3
4
- - 2.0.0
5
-
6
- notifications:
7
- email:
8
- - john@uceem.com
9
- - doug@uceem.com