ruby-bitly 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +26 -26
- data/VERSION +1 -1
- data/bin/bitly +7 -7
- data/ruby-bitly.gemspec +1 -3
- metadata +3 -5
- data/README +0 -34
data/README.rdoc
CHANGED
@@ -1,34 +1,34 @@
|
|
1
1
|
= This app is a simple bitly ruby client.
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
== Examples
|
4
|
+
bitly -s http://rafael.xlii.com.br
|
5
|
+
bitly -e http://bit.ly/XLII42
|
6
|
+
bitly --user-clicks http://bit.ly/XLII42
|
7
|
+
bitly --global-clicks http://bit.ly/XLII42
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Other examples:
|
10
|
+
bitly -q -s http://rafael.xlii.com.br
|
11
|
+
bitly --verbose -e http://bit.ly/XLII42
|
12
12
|
|
13
|
-
|
14
|
-
|
13
|
+
== Usage
|
14
|
+
bitly [options] url
|
15
15
|
|
16
|
-
|
16
|
+
For help: bitly -h
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
18
|
+
== Options
|
19
|
+
-s, --shorten Shorten a long url
|
20
|
+
-e, --expand Expand a short bitly url
|
21
|
+
-u, --user-clicks Show user clicks from the short bitly url
|
22
|
+
-g, --global-clicks Show global clicks from the short bitly url
|
23
|
+
|
24
|
+
-h, --help Displays help message, then exit
|
25
|
+
-v, --version Display the version, then exit
|
26
|
+
-q, --quiet Output as little as possible, overrides verbose
|
27
|
+
-V, --verbose Verbose output
|
28
28
|
|
29
|
-
|
30
|
-
|
29
|
+
== Author
|
30
|
+
rafaeldx7 ~ rafaeldx7(a)gmail.com
|
31
31
|
|
32
|
-
|
33
|
-
|
34
|
-
|
32
|
+
== Copyright
|
33
|
+
Copyright (c) 2010 rafaeldx7. Licensed under the MIT License:
|
34
|
+
http://www.opensource.org/licenses/mit-license.php
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
data/bin/bitly
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
#
|
2
|
+
# = This app is a simple bitly ruby client.
|
3
3
|
#
|
4
4
|
# == Examples
|
5
|
-
# bitly -s http://
|
6
|
-
# bitly -e http://bit.ly/
|
7
|
-
# bitly --user-clicks http://bit.ly/
|
8
|
-
# bitly --global-clicks http://bit.ly/
|
5
|
+
# bitly -s http://rafael.xlii.com.br
|
6
|
+
# bitly -e http://bit.ly/XLII42
|
7
|
+
# bitly --user-clicks http://bit.ly/XLII42
|
8
|
+
# bitly --global-clicks http://bit.ly/XLII42
|
9
9
|
#
|
10
10
|
# Other examples:
|
11
|
-
# bitly -q -s http://
|
12
|
-
# bitly --verbose -e http://bit.ly/
|
11
|
+
# bitly -q -s http://rafael.xlii.com.br
|
12
|
+
# bitly --verbose -e http://bit.ly/XLII42
|
13
13
|
#
|
14
14
|
# == Usage
|
15
15
|
# bitly [options] url
|
data/ruby-bitly.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ruby-bitly}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["rafaeldx7"]
|
@@ -16,14 +16,12 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.executables = ["bitly"]
|
17
17
|
s.extra_rdoc_files = [
|
18
18
|
"LICENSE",
|
19
|
-
"README",
|
20
19
|
"README.rdoc"
|
21
20
|
]
|
22
21
|
s.files = [
|
23
22
|
".document",
|
24
23
|
".gitignore",
|
25
24
|
"LICENSE",
|
26
|
-
"README",
|
27
25
|
"README.rdoc",
|
28
26
|
"Rakefile",
|
29
27
|
"VERSION",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-bitly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- rafaeldx7
|
@@ -90,13 +90,11 @@ extensions: []
|
|
90
90
|
|
91
91
|
extra_rdoc_files:
|
92
92
|
- LICENSE
|
93
|
-
- README
|
94
93
|
- README.rdoc
|
95
94
|
files:
|
96
95
|
- .document
|
97
96
|
- .gitignore
|
98
97
|
- LICENSE
|
99
|
-
- README
|
100
98
|
- README.rdoc
|
101
99
|
- Rakefile
|
102
100
|
- VERSION
|
data/README
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
# This app is a simple bitly ruby client.
|
2
|
-
|
3
|
-
## Examples
|
4
|
-
bitly -s http://long-url.com.whatever/
|
5
|
-
bitly -e http://bit.ly/whatever
|
6
|
-
bitly --user-clicks http://bit.ly/whatever
|
7
|
-
bitly --global-clicks http://bit.ly/whatever
|
8
|
-
|
9
|
-
### Other examples:
|
10
|
-
bitly -q -s http://long-url.com.whatever/
|
11
|
-
bitly --verbose -e http://bit.ly/whatever
|
12
|
-
|
13
|
-
## Usage
|
14
|
-
bitly [options] url
|
15
|
-
|
16
|
-
For help: bitly -h
|
17
|
-
|
18
|
-
## Options
|
19
|
-
-s, --shorten Shorten a long url
|
20
|
-
-e, --expand Expand a short bitly url
|
21
|
-
-u, --user-clicks Show user clicks from the short bitly url
|
22
|
-
-g, --global-clicks Show global clicks from the short bitly url
|
23
|
-
|
24
|
-
-h, --help Displays help message, then exit
|
25
|
-
-v, --version Display the version, then exit
|
26
|
-
-q, --quiet Output as little as possible, overrides verbose
|
27
|
-
-V, --verbose Verbose output
|
28
|
-
|
29
|
-
## Author
|
30
|
-
rafaeldx7 ~ rafaeldx7(a)gmail.com
|
31
|
-
|
32
|
-
## Copyright
|
33
|
-
Copyright (c) 2010 rafaeldx7. Licensed under the MIT License:
|
34
|
-
http://www.opensource.org/licenses/mit-license.php
|