d3api 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/d3api.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.email = ['phereford@gmail.com']
11
11
  gem.description = %q{Diablo 3 API ruby wrapper}
12
12
  gem.summary = %q{Blizzards D3 API}
13
- gem.homepage = ''
13
+ gem.homepage = 'https://github.com/phereford/d3api'
14
14
 
15
15
  gem.files = `git ls-files`.split($/)
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -19,6 +19,6 @@ Gem::Specification.new do |gem|
19
19
 
20
20
  gem.add_dependency 'faraday', '~> 0.8.4'
21
21
  gem.add_dependency 'faraday_middleware', '~> 0.9.0'
22
- gem.add_dependency 'pry'
22
+
23
23
  gem.add_development_dependency 'rspec', '2.12.0'
24
24
  end
data/lib/d3api.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  module D3api
2
2
  autoload :Configuration, 'd3api/configuration'
3
3
  autoload :Connection, 'd3api/connection'
4
- autoload :Endpoint, 'd3api/endpoint'
5
4
  autoload :Request, 'd3api/request'
6
5
 
7
6
  autoload :BaseModel, 'd3api/base_model'
@@ -1,4 +1,3 @@
1
- require 'pry'
2
1
  module D3api
3
2
  class BaseModel
4
3
  extend D3api::Request
data/lib/d3api/request.rb CHANGED
@@ -1,4 +1,3 @@
1
- require 'pry'
2
1
  module D3api
3
2
  module Request
4
3
  include D3api::Connection
data/lib/d3api/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module D3api
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: d3api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -43,22 +43,6 @@ dependencies:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
45
  version: 0.9.0
46
- - !ruby/object:Gem::Dependency
47
- name: pry
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
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: '0'
62
46
  - !ruby/object:Gem::Dependency
63
47
  name: rspec
64
48
  requirement: !ruby/object:Gem::Requirement
@@ -96,13 +80,12 @@ files:
96
80
  - lib/d3api/career.rb
97
81
  - lib/d3api/configuration.rb
98
82
  - lib/d3api/connection.rb
99
- - lib/d3api/endpoint.rb
100
83
  - lib/d3api/follower.rb
101
84
  - lib/d3api/hero.rb
102
85
  - lib/d3api/item.rb
103
86
  - lib/d3api/request.rb
104
87
  - lib/d3api/version.rb
105
- homepage: ''
88
+ homepage: https://github.com/phereford/d3api
106
89
  licenses: []
107
90
  post_install_message:
108
91
  rdoc_options: []
@@ -1,12 +0,0 @@
1
- module D3api
2
- module Endpoint
3
- def self.path(path, endpoint)
4
- append_endpoint_to_end_of_path(path, endpoint)
5
- end
6
-
7
- private
8
- def self.append_endpoint_to_end_of_path
9
- path += "/#{endpoint}"
10
- end
11
- end
12
- end