badgerkit 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +4 -0
- data/badgerkit.gemspec +1 -0
- data/lib/badgerkit.rb +3 -0
- data/lib/badgerkit/archive.rb +7 -0
- data/lib/badgerkit/client.rb +7 -3
- data/lib/badgerkit/version.rb +2 -1
- metadata +17 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee0809e3f5c17dbe9a141882641e975a006ceb69
|
4
|
+
data.tar.gz: a0ac6551aa9ec62352ee562c2eff4a2cbbcd1166
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0123f5ad45bbb1ef338a39c432c064626c1486f7ec87a35fc1f88206d75286dc87e076390ba8bbcb9664e8acb7883a4f88ec874dcf9277917c199237f520630
|
7
|
+
data.tar.gz: 167c71e85c37c54c77b2e789c1c23be09f745b68a95e703cd56ee7d596b5b456263ae584d009eb9cbe3497f4e719a1b5fda777698dc44d9ba274bac24ecb290a
|
data/.yardopts
ADDED
data/badgerkit.gemspec
CHANGED
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency "rake"
|
23
23
|
spec.add_development_dependency 'coveralls'
|
24
24
|
spec.add_development_dependency 'rspec', '>= 2.3'
|
25
|
+
spec.add_development_dependency 'yard'
|
25
26
|
|
26
27
|
spec.add_dependency "httmultiparty"
|
27
28
|
spec.add_dependency "hashie"
|
data/lib/badgerkit.rb
CHANGED
data/lib/badgerkit/archive.rb
CHANGED
data/lib/badgerkit/client.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
module Badgerkit
|
2
2
|
##
|
3
|
-
# Responsible for constructing a client
|
3
|
+
# Responsible for constructing a client
|
4
|
+
# which is able to post values to badgherhq.com
|
4
5
|
#
|
5
6
|
class Client
|
6
7
|
require 'httmultiparty'
|
@@ -8,10 +9,13 @@ module Badgerkit
|
|
8
9
|
|
9
10
|
attr_reader :path, :access_token, :source, :repo
|
10
11
|
|
12
|
+
##
|
13
|
+
# The base uri the perform requests to.
|
14
|
+
#
|
11
15
|
BASE_URI = 'http://badgerhq.com/'
|
12
16
|
|
13
17
|
##
|
14
|
-
# Construct a new
|
18
|
+
# Construct a new Badgerkit::Client
|
15
19
|
#
|
16
20
|
# @param options [Hash]
|
17
21
|
# @option token [String] :token
|
@@ -21,7 +25,7 @@ module Badgerkit
|
|
21
25
|
|
22
26
|
# @return [Badgerkit::Client]
|
23
27
|
# @example
|
24
|
-
# Badgerkit::Client.new(
|
28
|
+
# client = Badgerkit::Client.new(
|
25
29
|
# :access_token => '0dbce1478e94053d4282ccd4ace154c82a3475d5',
|
26
30
|
# :source => 'github',
|
27
31
|
# :repo => 'saladdays-nl/badgerkit'
|
data/lib/badgerkit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: badgerkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johan van Zonneveld
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '2.3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: yard
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: httmultiparty
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -131,6 +145,7 @@ extra_rdoc_files: []
|
|
131
145
|
files:
|
132
146
|
- ".gitignore"
|
133
147
|
- ".travis.yml"
|
148
|
+
- ".yardopts"
|
134
149
|
- Gemfile
|
135
150
|
- LICENSE.txt
|
136
151
|
- README.md
|
@@ -178,3 +193,4 @@ test_files:
|
|
178
193
|
- spec/fixtures/archive_folder/test.yml
|
179
194
|
- spec/spec_helper.rb
|
180
195
|
- spec/support/response_proxy.rb
|
196
|
+
has_rdoc:
|