shortybit 0.1.4 → 0.1.5
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 +3 -2
- data/lib/shortybit/version.rb +1 -1
- data/shortybit-0.1.4.gem +0 -0
- 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: 0b81662088bbbf30c6830d014da114b35bea24ab
|
|
4
|
+
data.tar.gz: 5847cab385d8ebb5ddf19a1c1652bb2e05bae2c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0dd72acfa6b72f1d84bc4a5413da00b7401be61894e2f530baad2ac3d5acc40cc5fae0bef08658a3b1bd15bcf2a1a367b4106e74d4242bfdb56190d3840ff147
|
|
7
|
+
data.tar.gz: 62016859b9d09f5b77d2268ccabceb10d3ca13e4b981104e256fb9779c33e8ae4c4d2a350315fca37a4eeb5c84ecebf06925a724c9ddceac42cd98111e814035
|
data/README.md
CHANGED
|
@@ -16,6 +16,7 @@ If you already have a bit.ly account:
|
|
|
16
16
|
- Put in your password then click the orange 'Generate Token' button at the bottom
|
|
17
17
|
|
|
18
18
|
## Dependencies
|
|
19
|
+
- [Ruby 2.2.5](https://www.ruby-lang.org/en/downloads/)
|
|
19
20
|
- [bundler](http://bundler.io/)
|
|
20
21
|
- [RubyGems](https://github.com/rubygems/rubygems)
|
|
21
22
|
## Installation
|
|
@@ -98,7 +99,7 @@ You can now use that client to expose the data from the API:
|
|
|
98
99
|
|
|
99
100
|
```
|
|
100
101
|
# Get amount of clicks for a specific link
|
|
101
|
-
client.get_clicks("http://bit.ly/2GQBVJn") #=> Returns a Fixnum
|
|
102
|
+
client.get_clicks(client, "http://bit.ly/2GQBVJn") #=> Returns a Fixnum
|
|
102
103
|
|
|
103
104
|
# Result
|
|
104
105
|
2
|
|
@@ -118,7 +119,7 @@ You can now use that client to expose the data from the API:
|
|
|
118
119
|
```
|
|
119
120
|
## Tests
|
|
120
121
|
|
|
121
|
-
Tests can be run with this command:
|
|
122
|
+
Tests can be run with this command from the root of the project in terminal:
|
|
122
123
|
$bundle exec ruby test/shortybit/client_test.rb
|
|
123
124
|
|
|
124
125
|
## License
|
data/lib/shortybit/version.rb
CHANGED
data/shortybit-0.1.4.gem
ADDED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shortybit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lani Berry
|
|
@@ -145,6 +145,7 @@ files:
|
|
|
145
145
|
- shortybit-0.1.1.gem
|
|
146
146
|
- shortybit-0.1.2.gem
|
|
147
147
|
- shortybit-0.1.3.gem
|
|
148
|
+
- shortybit-0.1.4.gem
|
|
148
149
|
- shortybit.gemspec
|
|
149
150
|
homepage: https://github.com/Lani1321/shortybit
|
|
150
151
|
licenses:
|