jagg 0.1.0 → 0.1.1
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/lib/jagg.rb +7 -0
- data/lib/jagg/constants.rb +1 -1
- data/lib/jagg/gravatar/image.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0437e27ecde7468f0aea3ee706f0e647bfa7de16
|
|
4
|
+
data.tar.gz: 67652bf29d96f7171dff6d0e3f8f91ca82d99f72
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54bcc577120841ce57f5a22e839d94dd1ebe9e210dbc4329b68d14ef48a9075632fe2cb33e1658c0b957bd05b65af480503b9a4c4c90c7b78fabd671a9b1b2ca
|
|
7
|
+
data.tar.gz: b66345d2a0b3af22617a61cc9715fc06011f53ea3e163ca3c3789f6c71cf22599aa58c6a428061b98d9e7bd473505f0948f5424ffb9aea9d0371e51bf1dfbf51
|
data/lib/jagg.rb
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# JAGG is a Gravatar API client that supports both images and profiles.
|
|
2
|
+
#
|
|
3
|
+
# @example Get the URL for an email address
|
|
4
|
+
# JAGG::Gravatar::Image.url('user@example.com') #=> "https://www.gravatar.com/avatar/b58996c504c5638798eb6b511e6f49af"
|
|
5
|
+
# @example Fetch a user's profile
|
|
6
|
+
# JAGG::Gravatar::Profile.for('user@example.com') #=> #<JAGG::Gravatar::Profile:0x00000000000000 ...>
|
|
7
|
+
#
|
|
1
8
|
module JAGG
|
|
2
9
|
class << self
|
|
3
10
|
# Load the gem's dependencies
|
data/lib/jagg/constants.rb
CHANGED
data/lib/jagg/gravatar/image.rb
CHANGED