rubygems_api 1.0.0 → 1.0.1

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: 27da6ad6aae93b4412daae9e006b1e51b6baa45c
4
- data.tar.gz: 043e7279ebfb21b1843e365d5dd462fa7e6739ab
3
+ metadata.gz: 25645e457498a8b877835cd317ea1ae8ca39af9b
4
+ data.tar.gz: 7a47647e1f15670086d7f184fb4363e5439d36f5
5
5
  SHA512:
6
- metadata.gz: 49409118881ff6116982b27de9e5b565400d9b164a9e4f0bc18fa631fee5d2f5b141139aa1514b29a621054cd5e6f29b21b64959f01d960e63b1244ff7834ba6
7
- data.tar.gz: 999d9d3680cc11d071ee944bef1fccc8e4512345dbda624bf7c2f792e1eaee7f70e4ff1e1125035889474567e3a161f7f0ed02378bae2f85cf7c6c895b68520d
6
+ metadata.gz: f5d77009aa3360ad4cd931c9ee3f7ec40486d6092dfc5e2bdfeef72e4c145b33e49f166ff83634c8207e8c41084525c378a4538f349ee3ce92e523430e0726b3
7
+ data.tar.gz: 634f49d53a6ad5c8b4b502eb0684f8249fe924485e1583946ecc41c56628e4203b6c3fdd86eed02fe735fa292416abe379beeccb791109977f3e7d5cf28bf384
@@ -5,6 +5,9 @@ rvm:
5
5
  - 2.1.5
6
6
  - 2.2.0
7
7
  - 2.2.1
8
+ - 2.2.2
9
+ - ruby-head
10
+ - jruby-head
8
11
 
9
12
  before_install:
10
13
  - gem update --system
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in rubygems_api.gemspec
4
4
  gemspec
5
5
  gem 'rake', group: :test, require: nil
6
- gem 'minitest', group: :test, require: nil
6
+ gem 'minitest', '~> 5.6', group: :test, require: nil
7
7
  gem 'bundler', group: :test, require: nil
8
8
  gem 'codeclimate-test-reporter', group: :test, require: nil
9
9
  gem 'hurley'
data/README.md CHANGED
@@ -2,9 +2,7 @@
2
2
 
3
3
  # RubyGems API Client
4
4
 
5
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rubygems_api`. To experiment with that code, run `bin/console` for an interactive prompt.
6
-
7
- TODO: Delete this and the text above, and describe your gem
5
+ Welcome to the RubyGems API gem! In this repository, you'll find the files you need to be able to interact with the RubyGems API quickly and easily.
8
6
 
9
7
  ## Installation
10
8
 
@@ -24,7 +22,27 @@ Or install it yourself as:
24
22
 
25
23
  ## Usage
26
24
 
27
- TODO: Write usage instructions here
25
+ Add this line to your application's Gemfile:
26
+
27
+ ```ruby
28
+ gem 'rubygems_api'
29
+ ```
30
+
31
+ Require the gem:
32
+
33
+ ```ruby
34
+ require 'rubygems_api'
35
+ ```
36
+
37
+ And then begin working:
38
+
39
+ ```ruby
40
+ rubygems = Rubygems::API::Client.new 'myAPIKey'
41
+ # If you don't want to include the API key when creating the client, you can retrieve it with HTTP basic auth.
42
+ rubygems.set_api_key('username', 'password')
43
+
44
+ # Begin working with the api
45
+ ```
28
46
 
29
47
  ## Development
30
48
 
@@ -34,7 +52,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
34
52
 
35
53
  ## Contributing
36
54
 
37
- 1. Fork it ( https://github.com/[my-github-username]/rubygems_api/fork )
55
+ 1. Fork it ( https://github.com/kkirsche/rubygems_api/fork )
38
56
  2. Create your feature branch (`git checkout -b my-new-feature`)
39
57
  3. Commit your changes (`git commit -am 'Add some feature'`)
40
58
  4. Push to the branch (`git push origin my-new-feature`)
@@ -1,5 +1,5 @@
1
1
  module Rubygems
2
2
  module API
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_development_dependency 'bundler', '~> 1.9'
23
23
  spec.add_development_dependency 'rake', '~> 10.4'
24
- spec.add_development_dependency 'minitest', '~> 5.5'
24
+ spec.add_development_dependency 'minitest', '~> 5.6'
25
25
  spec.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
26
26
  spec.add_runtime_dependency 'hurley', '~> 0'
27
- end
27
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Kirsche
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-04-03 00:00:00.000000000 Z
11
+ date: 2015-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '5.5'
47
+ version: '5.6'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '5.5'
54
+ version: '5.6'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: codeclimate-test-reporter
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  version: '0'
124
124
  requirements: []
125
125
  rubyforge_project:
126
- rubygems_version: 2.4.3
126
+ rubygems_version: 2.4.6
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: RubyGems v1 API client.