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 +4 -4
- data/.travis.yml +3 -0
- data/Gemfile +1 -1
- data/README.md +23 -5
- data/lib/rubygems_api/version.rb +1 -1
- data/rubygems_api.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25645e457498a8b877835cd317ea1ae8ca39af9b
|
4
|
+
data.tar.gz: 7a47647e1f15670086d7f184fb4363e5439d36f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5d77009aa3360ad4cd931c9ee3f7ec40486d6092dfc5e2bdfeef72e4c145b33e49f166ff83634c8207e8c41084525c378a4538f349ee3ce92e523430e0726b3
|
7
|
+
data.tar.gz: 634f49d53a6ad5c8b4b502eb0684f8249fe924485e1583946ecc41c56628e4203b6c3fdd86eed02fe735fa292416abe379beeccb791109977f3e7d5cf28bf384
|
data/.travis.yml
CHANGED
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
|
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
|
-
|
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/
|
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`)
|
data/lib/rubygems_api/version.rb
CHANGED
data/rubygems_api.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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.
|
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.
|
126
|
+
rubygems_version: 2.4.6
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: RubyGems v1 API client.
|