onfleet 1.0.0 → 1.0.1
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.
- data/README.md +1 -1
- data/lib/onfleet/api_category.rb +2 -1
- data/lib/onfleet/version.rb +1 -1
- data/onfleet.gemspec +6 -4
- metadata +7 -8
data/README.md
CHANGED
data/lib/onfleet/api_category.rb
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
require 'onfleet/api'
|
|
2
|
+
require 'uri'
|
|
2
3
|
|
|
3
4
|
module Onfleet
|
|
4
5
|
class APICategory
|
|
@@ -51,7 +52,7 @@ module Onfleet
|
|
|
51
52
|
end
|
|
52
53
|
|
|
53
54
|
def set_api_url
|
|
54
|
-
@api_url = @api_endpoint + @category_name
|
|
55
|
+
@api_url = URI.encode(@api_endpoint + @category_name)
|
|
55
56
|
end
|
|
56
57
|
|
|
57
58
|
def raise_error_with_message(parsed_response={})
|
data/lib/onfleet/version.rb
CHANGED
data/onfleet.gemspec
CHANGED
|
@@ -4,14 +4,16 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
require 'onfleet/version'
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
|
+
spec.platform = Gem::Platform::RUBY
|
|
7
8
|
spec.name = "onfleet"
|
|
8
9
|
spec.version = Onfleet::VERSION
|
|
9
10
|
spec.authors = ["Siddharth Sharma"]
|
|
10
|
-
spec.email =
|
|
11
|
-
spec.summary = %q{
|
|
12
|
-
spec.description =
|
|
13
|
-
spec.homepage =
|
|
11
|
+
spec.email = "info@vinsol.com"
|
|
12
|
+
spec.summary = %q{Onfleet is an API wrapper for Onfleet's API (http://docs.onfleet.com).}
|
|
13
|
+
spec.description = spec.summary
|
|
14
|
+
spec.homepage = 'http://vinsol.com'
|
|
14
15
|
spec.license = "MIT"
|
|
16
|
+
spec.required_ruby_version = '>= 1.9.3'
|
|
15
17
|
|
|
16
18
|
spec.files = `git ls-files -z`.split("\x0")
|
|
17
19
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: onfleet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-06
|
|
12
|
+
date: 2015-07-06 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httparty
|
|
@@ -75,9 +75,8 @@ dependencies:
|
|
|
75
75
|
- - ~>
|
|
76
76
|
- !ruby/object:Gem::Version
|
|
77
77
|
version: '10.0'
|
|
78
|
-
description:
|
|
79
|
-
email:
|
|
80
|
-
- siddharth@vinsol.com
|
|
78
|
+
description: Onfleet is an API wrapper for Onfleet's API (http://docs.onfleet.com).
|
|
79
|
+
email: info@vinsol.com
|
|
81
80
|
executables: []
|
|
82
81
|
extensions: []
|
|
83
82
|
extra_rdoc_files: []
|
|
@@ -94,7 +93,7 @@ files:
|
|
|
94
93
|
- lib/onfleet/onfleet_error.rb
|
|
95
94
|
- lib/onfleet/version.rb
|
|
96
95
|
- onfleet.gemspec
|
|
97
|
-
homepage:
|
|
96
|
+
homepage: http://vinsol.com
|
|
98
97
|
licenses:
|
|
99
98
|
- MIT
|
|
100
99
|
post_install_message:
|
|
@@ -106,7 +105,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
106
105
|
requirements:
|
|
107
106
|
- - ! '>='
|
|
108
107
|
- !ruby/object:Gem::Version
|
|
109
|
-
version:
|
|
108
|
+
version: 1.9.3
|
|
110
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
110
|
none: false
|
|
112
111
|
requirements:
|
|
@@ -118,5 +117,5 @@ rubyforge_project:
|
|
|
118
117
|
rubygems_version: 1.8.23
|
|
119
118
|
signing_key:
|
|
120
119
|
specification_version: 3
|
|
121
|
-
summary:
|
|
120
|
+
summary: Onfleet is an API wrapper for Onfleet's API (http://docs.onfleet.com).
|
|
122
121
|
test_files: []
|