ruckus-spot 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/ruckus-spot.rb +26 -0
  3. metadata +72 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cf458d046b81218b54dcfccd0ef217c781cea079
4
+ data.tar.gz: 8fffd86352fa74fca527ea4a4d7f27f96648eda4
5
+ SHA512:
6
+ metadata.gz: 60a1e80830bd9f4f58f8dc5c8e5f08dc7254d3106f6b321045b30b05168e883836f42afb3e5ad4e47c1ad3164e80cfd2bf9350aec30fa970fcdcc9befb9b787b
7
+ data.tar.gz: d299e54967b9a4c4b440238f2b8216f7af2b060d91dee8ef134ddb6ae778dfd9a5e053d5a3c527a9c6264a7bae36792f0527cd6e02d7576f1888087c470b51a1
@@ -0,0 +1,26 @@
1
+ module RuckusSpot
2
+ class << self
3
+ attr_accessor :configuration
4
+
5
+ def configure
6
+ self.configuration ||= Configuration.new
7
+ yield(configuration)
8
+ Base.site = configuration.site
9
+ Base.user = configuration.api_key
10
+ configuration
11
+ end
12
+ end
13
+
14
+ class Configuration
15
+ attr_accessor :api_key
16
+ attr_accessor :site
17
+
18
+ def initialize
19
+ @api_key = 'fake_api_key'
20
+ @site = 'https://sg-dev-sys.ruckuslbs.com/api/v1/'
21
+ end
22
+ end
23
+ end
24
+
25
+ require 'active_resource'
26
+ Dir[__dir__ + '/**/*.rb'].each { |f| require "#{File.dirname(f)}/#{File.basename(f)}" }
metadata ADDED
@@ -0,0 +1,72 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ruckus-spot
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Jimworm
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-31 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activeresource
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.2'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.2'
41
+ description: Library for the Ruckus Wireless SPoT API
42
+ email: jimworm@gmail.com
43
+ executables: []
44
+ extensions: []
45
+ extra_rdoc_files: []
46
+ files:
47
+ - lib/ruckus-spot.rb
48
+ homepage: http://github.com/jimworm/ruckus-spot
49
+ licenses:
50
+ - MIT
51
+ metadata: {}
52
+ post_install_message:
53
+ rdoc_options: []
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ requirements: []
67
+ rubyforge_project:
68
+ rubygems_version: 2.4.2
69
+ signing_key:
70
+ specification_version: 4
71
+ summary: Ruby library for the Ruckus Wireless SPoT API
72
+ test_files: []