onfleet 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Onfleet
1
+ # Onfleet <a href="http://badge.fury.io/rb/onfleet"><img src="https://badge.fury.io/rb/onfleet.svg" alt="Gem Version" height="18"></a>
2
2
 
3
3
  Onfleet is an API wrapper for [Onfleet's APIs](http://docs.onfleet.com).
4
4
 
@@ -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={})
@@ -1,3 +1,3 @@
1
1
  module Onfleet
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -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 = ["siddharth@vinsol.com"]
11
- spec.summary = %q{Write a short summary. Required.}
12
- spec.description = %q{Write a longer description. Optional.}
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.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-18 00:00:00.000000000 Z
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: Write a longer description. Optional.
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: '0'
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: Write a short summary. Required.
120
+ summary: Onfleet is an API wrapper for Onfleet's API (http://docs.onfleet.com).
122
121
  test_files: []