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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef4d5b0fc6e60ac2ce01bcc9d382ad68594f7f8c
4
- data.tar.gz: 3d179b99e463f475c8eaf5d8d30373e9de0d12a0
3
+ metadata.gz: ee0809e3f5c17dbe9a141882641e975a006ceb69
4
+ data.tar.gz: a0ac6551aa9ec62352ee562c2eff4a2cbbcd1166
5
5
  SHA512:
6
- metadata.gz: 66ba1da53b8df8f79cfcc4d950fafa6ee3b4e5317c7572856e3aa80d1a6c48fcd42f2b564ab48c3806e5b24733a060d184e4982ee446e88cf06c9b9ca513507b
7
- data.tar.gz: e101973ccd5bf6cb313c6f17a6dd4e5e3906187c4e332ce426457d2f97743de9508b69c3cd721991ac9c8d7050c8e445984c7cccbea7fb9087675dc2f058b457
6
+ metadata.gz: d0123f5ad45bbb1ef338a39c432c064626c1486f7ec87a35fc1f88206d75286dc87e076390ba8bbcb9664e8acb7883a4f88ec874dcf9277917c199237f520630
7
+ data.tar.gz: 167c71e85c37c54c77b2e789c1c23be09f745b68a95e703cd56ee7d596b5b456263ae584d009eb9cbe3497f4e719a1b5fda777698dc44d9ba274bac24ecb290a
@@ -0,0 +1,4 @@
1
+ --no-private
2
+ --title=""
3
+ --markup=markdown
4
+ --charset utf-8
@@ -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"
@@ -2,6 +2,9 @@ require "badgerkit/version"
2
2
  require "badgerkit/client"
3
3
  require "badgerkit/archive"
4
4
 
5
+ ##
6
+ # Ruby toolkit for the Badgerkit api.
7
+ #
5
8
  module Badgerkit
6
9
 
7
10
  ### Class methods
@@ -1,4 +1,11 @@
1
1
  module Badgerkit
2
+ ##
3
+ # Adds ability to archive directories to {Badgerkit}.
4
+ #
5
+ # @see Badgerkit.archive
6
+ # @example
7
+ # Badgerkit.archive('js-doc/')
8
+ #
2
9
  class Archive
3
10
  require 'rubygems'
4
11
  require 'zip'
@@ -1,6 +1,7 @@
1
1
  module Badgerkit
2
2
  ##
3
- # Responsible for constructing a client which is able to post values.
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 Badgekit::Client
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'
@@ -1,4 +1,5 @@
1
+ # @private
1
2
  module Badgerkit
2
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
3
4
  end # Badgerkit
4
5
 
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.6
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: