gitwrap 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -11
- data/gitwrap-0.5.0.gem +0 -0
- data/lib/gitwrap/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfc67cbd955d38aabc273ba1e2037cc600116bfe
|
4
|
+
data.tar.gz: 6593764d5efa75b3e97207add5d6e3f6c3a416d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a98a47ff2556530b73157d6838fda2ffafc63ab48656aac3ee628dd10e49aec5ed48d3b698a8d411e343e0589dad649e5a5d7d3aa5b5f40b5c7cfb0a0acf06b
|
7
|
+
data.tar.gz: a2b91bb80a0f4f0b74878de81e80e2af4e2bebc1ab863edaf67181a35b610b31f1e85a178d3f7f98300a8bd7b6e360a260a252729acb0929bc84c0748d1e18f9
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# Gitwrap
|
2
2
|
|
3
|
-
Welcome to
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Welcome to GitWrap! A simple client wrapepr that interacts with the GitHub API. What does it do? It basically renders public data from Users, Repositories and Organizations. These include name, email, location, stars, etc.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -22,13 +20,13 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
After installing the gem just
|
23
|
+
After installing the gem just include it in your gemfile and off you go!
|
26
24
|
|
27
25
|
The obejcts generated Automatically have a base url to connect to and retrieve data via the DataCreator module, which parses and returns corresponding obejcts to the method calls.
|
28
26
|
|
29
27
|
Each object method is listed here:
|
30
28
|
|
31
|
-
##
|
29
|
+
## Users
|
32
30
|
```
|
33
31
|
user = User.fetch_single_user(username)
|
34
32
|
user = User.fetch_all_users
|
@@ -90,16 +88,15 @@ repo.stars
|
|
90
88
|
|
91
89
|
It is worth noting that due to the Github API format, not all attributes are available to every method call. Such examples are included in the fetch.rb file.
|
92
90
|
|
93
|
-
## Development
|
94
|
-
|
95
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
96
|
-
|
97
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
98
91
|
|
99
92
|
## Contributing
|
100
93
|
|
101
|
-
|
94
|
+
1. Fork it!
|
95
|
+
2. Commit your changes.
|
96
|
+
3. Create a pull request.
|
102
97
|
|
98
|
+
##Current Version
|
99
|
+
Version 0.6.0
|
103
100
|
|
104
101
|
## License
|
105
102
|
|
data/gitwrap-0.5.0.gem
ADDED
Binary file
|
data/lib/gitwrap/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitwrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- oscarmarcelo95
|
@@ -53,6 +53,7 @@ files:
|
|
53
53
|
- Rakefile
|
54
54
|
- bin/console
|
55
55
|
- bin/setup
|
56
|
+
- gitwrap-0.5.0.gem
|
56
57
|
- gitwrap.gemspec
|
57
58
|
- lib/gitwrap.rb
|
58
59
|
- lib/gitwrap/.DS_Store
|