fleetly 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,18 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ spec/cassettes
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --color
2
+ --format documentation
3
+ --tty
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in fleetly.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Julius Francisco
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,43 @@
1
+ # Fleetly
2
+
3
+ API Wrapper for [Fleetly](http://www.fleetly.com/api/docs/quickstart)
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'fleetly'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install fleetly
20
+
21
+ ## Usage
22
+
23
+ ```ruby
24
+ require 'fleetly'
25
+
26
+ Fleetly.configure do |config|
27
+ config.api_url = 'https://api.fleetly.com'
28
+ config.token = 'your-token-here'
29
+ end
30
+
31
+ client = Fleetly::Client.new
32
+
33
+ activity = client.get_activity(<ACTIVITY_ID>) #=> returns a Mash of Activity
34
+
35
+ ```
36
+
37
+ ## Contributing
38
+
39
+ 1. Fork it
40
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
41
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
42
+ 4. Push to the branch (`git push origin my-new-feature`)
43
+ 5. Create new Pull Request
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,35 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'fleetly/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "fleetly"
8
+ spec.version = Fleetly::VERSION
9
+ spec.authors = ["Julius Francisco & Jay Balanay"]
10
+ spec.email = ["baldrailers@gmail.com & manolet.balanay@gmail.com"]
11
+ spec.description = %q{API Wrapper for Fleetly}
12
+ spec.summary = spec.description
13
+ spec.homepage = "http://www.motivationscience.com"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency 'faraday', '~> 0.8'
22
+ spec.add_dependency 'faraday_middleware', '~> 0.9'
23
+ spec.add_dependency 'hashie', '~> 2.0.3'
24
+ spec.add_dependency 'activesupport'
25
+
26
+ spec.add_development_dependency "bundler", "~> 1.3"
27
+ spec.add_development_dependency "rake"
28
+ spec.add_development_dependency "rspec"
29
+ spec.add_development_dependency "simplecov"
30
+ spec.add_development_dependency "simplecov-rcov"
31
+ spec.add_development_dependency "yard"
32
+ spec.add_development_dependency "vcr"
33
+ spec.add_development_dependency "shoulda"
34
+ spec.add_development_dependency "webmock"
35
+ end
@@ -0,0 +1,31 @@
1
+ require "faraday"
2
+ require "faraday_middleware"
3
+ require "fleetly/version"
4
+ require "fleetly/client"
5
+
6
+ directory = File.expand_path(File.dirname(__FILE__))
7
+
8
+ module Fleetly
9
+
10
+ class << self
11
+ attr_accessor :api_url, :token
12
+
13
+ ##
14
+ # Configure default
15
+ #
16
+ # @yield [Fleetly]
17
+ def configure
18
+ load_defaults
19
+ yield self
20
+ true
21
+ end
22
+
23
+ private
24
+
25
+ def load_defaults
26
+ self.api_url ||= 'https://www.fleetly.com'
27
+ self.token ||= 'ANONYMOUS_OAUTH_TOKEN'
28
+ end
29
+ end
30
+
31
+ end
@@ -0,0 +1,39 @@
1
+ # encoding: utf-8
2
+
3
+ module Fleetly
4
+ module Activity
5
+
6
+ ##
7
+ # Retrieve Activity details given the ID
8
+ #
9
+ # @param :id [String] Activity ID
10
+ #
11
+ # @return [Hashie::Mash] Activity
12
+ def get_activity(id)
13
+ options = {}
14
+ options[:oauth_token] = token
15
+ activity_response = get("/api/v1/activities/#{id}", options)
16
+
17
+ activity_response if activity_response.result?
18
+ end
19
+
20
+ ##
21
+ # Retrieve Activities
22
+ #
23
+ # @param :name [String] Name to match
24
+ # @param :type [String] Type of Activity
25
+ # @param :start [Integer] Desired starting point
26
+ # @param :limit [Integer] Maximum number of result
27
+ # @param :order [String] Order of result
28
+ #
29
+ # @return [Hashie::Mash] Activity
30
+ def get_activities(options={})
31
+ options = {}
32
+ options[:oauth_token] = token
33
+ activity_response = get("/api/v1/activities/search", options)
34
+
35
+ activity_response if activity_response.result?
36
+ end
37
+
38
+ end
39
+ end
@@ -0,0 +1,52 @@
1
+ # encoding: utf-8
2
+ require 'forwardable'
3
+ require 'fleetly/request'
4
+ require 'fleetly/user'
5
+ require 'fleetly/activity'
6
+ require 'fleetly/logitem'
7
+
8
+ module Fleetly
9
+ class Client
10
+ extend Forwardable
11
+
12
+ include Request
13
+ include User
14
+ include Activity
15
+ include Logitem
16
+
17
+ attr_reader :api_url, :token
18
+
19
+ ##
20
+ # Create a new Fleetly::Client object
21
+ #
22
+ # @params options[Hash]
23
+ def initialize(options={})
24
+ @api_url = options[:api_url] || Fleetly.api_url
25
+ @token = options[:token] || Fleetly.token
26
+ end
27
+
28
+ ##
29
+ # Create a Faraday::Connection object
30
+ #
31
+ # @return [Faraday::Connection]
32
+ def connection
33
+ params = {}
34
+ @connection = Faraday.new(url: api_url, params: params, headers: default_headers) do |faraday|
35
+ faraday.use FaradayMiddleware::Mashify
36
+ faraday.use FaradayMiddleware::ParseJson, content_type: /\bjson$/
37
+ faraday.use FaradayMiddleware::FollowRedirects
38
+ faraday.adapter Faraday.default_adapter
39
+ end
40
+ end
41
+
42
+ private
43
+
44
+ def default_headers
45
+ headers = {
46
+ accept: 'application/json',
47
+ content_type: 'application/json',
48
+ user_agent: "Ruby Gem by Validic #{Fleetly::VERSION}"
49
+ }
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,36 @@
1
+ # encoding: utf-8
2
+
3
+ module Fleetly
4
+ module Logitem
5
+
6
+ ##
7
+ # Retrieve Logitem details given the ID
8
+ #
9
+ # @param :id [String] Logitem ID
10
+ #
11
+ # @return [Hashie::Mash] Activity
12
+ def get_logitem_details(id)
13
+ options = {}
14
+ options[:oauth_token] = token
15
+ activity_response = get("/api/v1/logitems/#{id}", options)
16
+
17
+ activity_response if activity_response.result?
18
+ end
19
+
20
+ ##
21
+ # Retrieve Logitems
22
+ #
23
+ # @param :start [Integer] Starting point (default 0)
24
+ # @param :limit [Integer] Max number of result (default 20)
25
+ #
26
+ # @return [Hashie::Mash] Activity
27
+ def get_logitems(options={})
28
+ options = {}
29
+ options[:oauth_token] = token
30
+ activity_response = get("/api/v1/logitems/search", options)
31
+
32
+ activity_response if activity_response.result?
33
+ end
34
+
35
+ end
36
+ end
@@ -0,0 +1,30 @@
1
+ # encoding: utf-8
2
+ require 'active_support/core_ext'
3
+
4
+ module Fleetly
5
+ module Request
6
+
7
+ def get(path, options)
8
+ request(:get, path, options)
9
+ end
10
+
11
+ def post(path, options)
12
+ request(:post, path, options)
13
+ end
14
+
15
+ def request(method, path, options)
16
+ response = connection.send(method) do |request|
17
+ case method
18
+ when :get
19
+ request.url(path, options)
20
+ when :put, :post
21
+ request.path = path
22
+ request.body = MultiJson.encode(options) unless options.empty?
23
+ end
24
+ end
25
+
26
+ response.body
27
+ end
28
+
29
+ end
30
+ end
@@ -0,0 +1,40 @@
1
+ # encoding: utf-8
2
+
3
+ module Fleetly
4
+ module User
5
+
6
+ ##
7
+ # Retrieve information about `me`
8
+ # associated to the `oauth_token`
9
+ #
10
+ # @param :include_activities [Integer] (1,0) `0` default
11
+ # @param :include_challenges [Integer] (1,0) `0` default
12
+ # @param :include_friends [Integer] (1,0) `0` default
13
+ #
14
+ # @return [Hashie::Mash] User
15
+ def me(options={})
16
+ options[:oauth_token] = token
17
+ user_me_response = get('/api/v1/users/me', options)
18
+
19
+ user_me_response if user_me_response.result?
20
+ end
21
+
22
+ ##
23
+ # Retrieve users base on search params
24
+ # associated to the `oauth_token`
25
+ #
26
+ # @param :name [String] 'partial name of user you want to search'
27
+ # @param :include_activities [Integer] (1,0) `0` default
28
+ # @param :include_challenges [Integer] (1,0) `0` default
29
+ # @param :include_friends [Integer] (1,0) `0` default
30
+ #
31
+ # @return [Hashie::Mash] User
32
+ def user_search(options={})
33
+ options[:oauth_token] = token
34
+ user_me_response = get('/api/v1/users/search', options)
35
+
36
+ user_me_response if user_me_response.result?
37
+ end
38
+
39
+ end
40
+ end
@@ -0,0 +1,3 @@
1
+ module Fleetly
2
+ VERSION = "0.0.3"
3
+ end
@@ -0,0 +1,36 @@
1
+ # encoding: utf-8
2
+ require 'spec_helper'
3
+
4
+ describe Fleetly::Activity do
5
+
6
+ let(:client) { Fleetly::Client.new }
7
+
8
+ describe "#get_activity" do
9
+
10
+ before(:each) do
11
+ @activity = client.get_activity('4f448458bccfee0d4701f5f0')
12
+ end
13
+
14
+ it "returns a Mash of Activity", vcr: true do
15
+ @activity.should be_kind_of Hash
16
+ end
17
+
18
+ end
19
+
20
+ describe "#get_activities" do
21
+ before(:each) do
22
+ options = {
23
+ name: "Run",
24
+ type: 'workout',
25
+ start: 1,
26
+ limit: 1
27
+ }
28
+ @activities = client.get_activities options
29
+ end
30
+
31
+ it "returns a Mash of Activities", vcr: true do
32
+ @activities.should be_kind_of Hash
33
+ end
34
+ end
35
+ end
36
+
@@ -0,0 +1,11 @@
1
+ # encoding: utf-8
2
+ require 'spec_helper'
3
+
4
+ describe Fleetly::Client do
5
+
6
+ it "creates a Faraday::Connection" do
7
+ client = Fleetly::Client.new
8
+ client.connection.should be_kind_of Faraday::Connection
9
+ end
10
+
11
+ end
@@ -0,0 +1,35 @@
1
+ # encoding: utf-8
2
+ require 'spec_helper'
3
+
4
+ describe Fleetly::Logitem do
5
+
6
+ let(:client) { Fleetly::Client.new }
7
+
8
+ describe "#logitem_detail" do
9
+
10
+ before(:each) do
11
+ @log_detail = client.get_logitem_details('5169d0ceb102f341fc6695b6')
12
+ end
13
+
14
+ it "returns a Mash of Logitem Details", vcr: true do
15
+ @log_detail.should be_kind_of Hash
16
+ end
17
+
18
+ end
19
+
20
+ describe "#logitem_search" do
21
+ before(:each) do
22
+ options = {
23
+ start: 1,
24
+ limit: 1
25
+ }
26
+ @logitems = client.get_logitems options
27
+ end
28
+
29
+ it "returns a Mash of Logitems", vcr: true do
30
+ @logitems.should be_kind_of Hash
31
+ end
32
+ end
33
+
34
+ end
35
+
@@ -0,0 +1,44 @@
1
+ # encoding: utf-8
2
+ require 'spec_helper'
3
+
4
+ describe Fleetly::User do
5
+
6
+ let(:client) { Fleetly::Client.new }
7
+
8
+ describe "#me" do
9
+ before(:each) do
10
+ options = {
11
+ include_activities: 1,
12
+ include_challenges: 1,
13
+ include_friends: 1
14
+ }
15
+ @user = client.me options
16
+ end
17
+
18
+ it "returns a Mash of User", vcr: true do
19
+ @user.should be_kind_of Hash
20
+ end
21
+
22
+ end
23
+
24
+ describe "#user_search" do
25
+ before(:each) do
26
+ options = {
27
+ name: 'Man',
28
+ include_activities: 1,
29
+ include_challenges: 1,
30
+ include_friends: 1,
31
+ limit: 1
32
+ }
33
+ @users = client.user_search options
34
+ end
35
+
36
+ it "returns a Mash of Users", vcr: true do
37
+ @users.should be_kind_of Hash
38
+ # @users.users.size.should eq 1
39
+ end
40
+
41
+ end
42
+
43
+
44
+ end
@@ -0,0 +1,26 @@
1
+ # encoding: utf-8
2
+ require 'spec_helper'
3
+
4
+ describe Fleetly do
5
+
6
+ let(:client) { Fleetly::Client.new }
7
+
8
+ context "configure defaults" do
9
+ it "uses default URL" do
10
+ client.api_url.should eq 'https://api.fleetly.com'
11
+ end
12
+ it "uses default TOKEN" do
13
+ client.token.should eq 'ANONYMOUS_OAUTH_TOKEN'
14
+ end
15
+ end
16
+
17
+ context "handles custom configurations" do
18
+ it "allows override of credentials" do
19
+ new_client = Fleetly::Client.new(api_url: 'http://localhost:3000',
20
+ token: 'MYTOKEN')
21
+ new_client.api_url.should eq 'http://localhost:3000'
22
+ new_client.token.should eq 'MYTOKEN'
23
+ end
24
+ end
25
+
26
+ end
@@ -0,0 +1,38 @@
1
+ require 'fleetly'
2
+ require 'vcr'
3
+ require 'simplecov'
4
+ require 'simplecov-rcov'
5
+
6
+ class SimpleCov::Formatter::MergedFormatter
7
+ def format(result)
8
+ SimpleCov::Formatter::HTMLFormatter.new.format(result)
9
+ SimpleCov::Formatter::RcovFormatter.new.format(result)
10
+ end
11
+ end
12
+
13
+ SimpleCov.formatter = SimpleCov::Formatter::MergedFormatter
14
+ SimpleCov.start do
15
+ add_filter '/vendor'
16
+ end
17
+
18
+ VCR.configure do |c|
19
+ c.allow_http_connections_when_no_cassette = true
20
+ c.cassette_library_dir = 'spec/cassette'
21
+ c.hook_into :webmock
22
+ c.configure_rspec_metadata!
23
+ c.default_cassette_options = { record: :new_episodes }
24
+ end
25
+
26
+ RSpec.configure do |c|
27
+ c.treat_symbols_as_metadata_keys_with_true_values = true
28
+
29
+ ##
30
+ # Add gem specific configuration for easy access
31
+ #
32
+ c.before(:each) do
33
+ Fleetly.configure do |config|
34
+ config.api_url = 'https://api.fleetly.com'
35
+ config.token = 'YOUR-OAUTH-TOKEN'
36
+ end
37
+ end
38
+ end
metadata ADDED
@@ -0,0 +1,287 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fleetly
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Julius Francisco & Jay Balanay
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-04-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: faraday
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '0.8'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '0.8'
30
+ - !ruby/object:Gem::Dependency
31
+ name: faraday_middleware
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '0.9'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '0.9'
46
+ - !ruby/object:Gem::Dependency
47
+ name: hashie
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 2.0.3
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 2.0.3
62
+ - !ruby/object:Gem::Dependency
63
+ name: activesupport
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: bundler
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: '1.3'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '1.3'
94
+ - !ruby/object:Gem::Dependency
95
+ name: rake
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: rspec
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: simplecov
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
143
+ name: simplecov-rcov
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ - !ruby/object:Gem::Dependency
159
+ name: yard
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ - !ruby/object:Gem::Dependency
175
+ name: vcr
176
+ requirement: !ruby/object:Gem::Requirement
177
+ none: false
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ type: :development
183
+ prerelease: false
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
190
+ - !ruby/object:Gem::Dependency
191
+ name: shoulda
192
+ requirement: !ruby/object:Gem::Requirement
193
+ none: false
194
+ requirements:
195
+ - - ! '>='
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ type: :development
199
+ prerelease: false
200
+ version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
202
+ requirements:
203
+ - - ! '>='
204
+ - !ruby/object:Gem::Version
205
+ version: '0'
206
+ - !ruby/object:Gem::Dependency
207
+ name: webmock
208
+ requirement: !ruby/object:Gem::Requirement
209
+ none: false
210
+ requirements:
211
+ - - ! '>='
212
+ - !ruby/object:Gem::Version
213
+ version: '0'
214
+ type: :development
215
+ prerelease: false
216
+ version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
218
+ requirements:
219
+ - - ! '>='
220
+ - !ruby/object:Gem::Version
221
+ version: '0'
222
+ description: API Wrapper for Fleetly
223
+ email:
224
+ - baldrailers@gmail.com & manolet.balanay@gmail.com
225
+ executables: []
226
+ extensions: []
227
+ extra_rdoc_files: []
228
+ files:
229
+ - .gitignore
230
+ - .rspec
231
+ - Gemfile
232
+ - LICENSE.txt
233
+ - README.md
234
+ - Rakefile
235
+ - fleetly.gemspec
236
+ - lib/fleetly.rb
237
+ - lib/fleetly/activity.rb
238
+ - lib/fleetly/client.rb
239
+ - lib/fleetly/logitem.rb
240
+ - lib/fleetly/request.rb
241
+ - lib/fleetly/user.rb
242
+ - lib/fleetly/version.rb
243
+ - spec/fleetly/activity_spec.rb
244
+ - spec/fleetly/client_spec.rb
245
+ - spec/fleetly/logitem_spec.rb
246
+ - spec/fleetly/user_spec.rb
247
+ - spec/fleetly_spec.rb
248
+ - spec/spec_helper.rb
249
+ homepage: http://www.motivationscience.com
250
+ licenses:
251
+ - MIT
252
+ post_install_message:
253
+ rdoc_options: []
254
+ require_paths:
255
+ - lib
256
+ required_ruby_version: !ruby/object:Gem::Requirement
257
+ none: false
258
+ requirements:
259
+ - - ! '>='
260
+ - !ruby/object:Gem::Version
261
+ version: '0'
262
+ segments:
263
+ - 0
264
+ hash: -4260483002897082736
265
+ required_rubygems_version: !ruby/object:Gem::Requirement
266
+ none: false
267
+ requirements:
268
+ - - ! '>='
269
+ - !ruby/object:Gem::Version
270
+ version: '0'
271
+ segments:
272
+ - 0
273
+ hash: -4260483002897082736
274
+ requirements: []
275
+ rubyforge_project:
276
+ rubygems_version: 1.8.25
277
+ signing_key:
278
+ specification_version: 3
279
+ summary: API Wrapper for Fleetly
280
+ test_files:
281
+ - spec/fleetly/activity_spec.rb
282
+ - spec/fleetly/client_spec.rb
283
+ - spec/fleetly/logitem_spec.rb
284
+ - spec/fleetly/user_spec.rb
285
+ - spec/fleetly_spec.rb
286
+ - spec/spec_helper.rb
287
+ has_rdoc: