avataree 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bdf58ade2f4541a1f8b081a42a81d4174cf2440a
4
+ data.tar.gz: b03fe8c06212d590a801e9289fc27633f97ce00c
5
+ SHA512:
6
+ metadata.gz: 85f11cc7ea105e7acac2a924967b70ad62693933414db40a0f36c91a21284aebd82fe2d708bb9f7fd3f7b7fac8b82c676c963fac70f786e5776a05346a80d455
7
+ data.tar.gz: d44d8afe8fadb0483adcedc8d44260f80eee344c200620f86239438e1d80e8f1424f7222793b33fa9ac1b8329724686e044c31ae816e787406b7591d3bbf4206
@@ -0,0 +1,79 @@
1
+ # Avataree
2
+
3
+ [![Build Status](https://travis-ci.org/bagwanpankaj/avataree.svg?branch=master)](https://travis-ci.org/bagwanpankaj/avataree)
4
+ [![Gem Version](https://badge.fury.io/rb/avataree.png)](http://badge.fury.io/rb/avataree)
5
+
6
+ Ruby DSL for Gravatar profile and images.
7
+
8
+ # What is it?
9
+
10
+ Again I'll repeat that it's a "Ruby DSL for "Gravatar":http://en.gravatar.com profile and images."
11
+
12
+ # Getting Started
13
+
14
+ create a dependency in your Gemfile
15
+
16
+ ```ruby
17
+ gem 'avataree'
18
+ ```
19
+
20
+ then run
21
+
22
+ ```
23
+ bundle install
24
+ ```
25
+
26
+ and you avataree will be up and running.
27
+
28
+ ## How to use It
29
+
30
+ yeah that sound's a good question.
31
+
32
+ in your controller
33
+
34
+ for fetching gravatar image
35
+
36
+ ```ruby
37
+ gravatar(email)
38
+ ```
39
+
40
+ here are options and there possible values:
41
+
42
+ | **Options** | **What value do they take** |
43
+ |:----------------------|:--------------------------------------------------------------------|
44
+ | :extension | extension of image to be fetched(default => jpg) |
45
+ | :secure | boolean to/not to use https scheme (default => false) |
46
+ | :s or :size | size of image (e.g 100x100) (default => 80x80) |
47
+ | :d or :default | default image to be used(e.g. 404, mm, identicon ..) |
48
+ | :f or :forcedefault | takes 'y' or 'n' as argument. always force to load default image |
49
+ | :r or :rating | image rating (e.g. g, pg, r, x) |
50
+
51
+ for fetching gravatar profile
52
+
53
+ ```ruby
54
+ gravatar_profile(email)
55
+ ```
56
+
57
+ | **Options** | **What value do they take** |
58
+ |:------------|:------------------------------------------------------|
59
+ | :secure | boolean to/not to use https scheme (default => false) |
60
+
61
+ ## Credits
62
+
63
+ Credit for this gem goes to Gravatar team for making such a awesome application.
64
+
65
+ ## More Info
66
+
67
+ For detailed info visit my blog "http://BagwanPankaj.com":http://bagwanpankaj.com
68
+
69
+ For more info write me at bagwanpankaj[at]gmail.com or me[at]bagwanpankaj.com
70
+
71
+ Copyright (c) 2010 Bagwan Pankaj: http://bagwanpankaj.com, released under the MIT license
72
+
73
+ ## Contributing to avataree
74
+
75
+ Fork, Implement and then send across a pull request.
76
+
77
+ ## Copyright
78
+
79
+ Copyright (c) 2010 [Bagwan Pankaj]. See LICENSE.txt for further details.
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2010 [Bagwan Pankaj]
2
- #
2
+ #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
5
5
  # "Software"), to deal in the Software without restriction, including
@@ -7,10 +7,10 @@
7
7
  # distribute, sublicense, and/or sell copies of the Software, and to
8
8
  # permit persons to whom the Software is furnished to do so, subject to
9
9
  # the following conditions:
10
- #
10
+ #
11
11
  # The above copyright notice and this permission notice shall be
12
12
  # included in all copies or substantial portions of the Software.
13
- #
13
+ #
14
14
  # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
15
  # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
16
  # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@@ -25,34 +25,34 @@ require 'digest/md5'
25
25
 
26
26
  module Avataree
27
27
  module Helper
28
-
28
+
29
29
  class << self
30
- attr_accessor :secure_url_services, :url_services
30
+ attr_accessor :secure_url_services, :url_services
31
31
  end
32
-
32
+
33
33
  def self.included(base)
34
34
  self.secure_url_services = "https://secure.gravatar.com/"
35
35
  self.url_services = "http://www.gravatar.com/"
36
36
  MonkeyPatches.activate!
37
37
  end
38
-
38
+
39
39
  #makes MD5 hash of given email
40
40
  def make_digest(email)
41
41
  Digest::MD5.hexdigest(email)
42
42
  end
43
-
43
+
44
44
  def self.url_for_request(ssl = false)
45
45
  ssl ? self.secure_url_services : self.url_services
46
46
  end
47
-
47
+
48
48
  def prepare_url_with_params(url, options)
49
49
  [url, get_params(options)].compact.join("?")
50
50
  end
51
-
51
+
52
52
  def get_params(options)
53
53
  options.to_param.presence
54
54
  end
55
-
55
+
56
56
  #fallback method if not defined(i.e if not used with rails)
57
57
  #to_param for hash if hash does not respond to it
58
58
  Hash.class_eval do
@@ -60,39 +60,39 @@ module Avataree
60
60
  self.collect{|k,v| "#{k}=#{v}"}.join("&")
61
61
  end unless Hash.respond_to?(:to_param)
62
62
  end
63
-
63
+
64
64
  module MonkeyPatches
65
-
65
+
66
66
  def self.activate!
67
67
  Hash.send(:include, MonkeyHash)
68
68
  Object.send(:include, MonkeyObject)
69
69
  end
70
-
70
+
71
71
  module MonkeyHash
72
-
72
+
73
73
  #monkey patch for hash
74
74
  def to_param
75
75
  self.collect{|k,v| "#{k}=#{v}"}.join("&")
76
76
  end unless Hash.respond_to?(:to_param)
77
-
77
+
78
78
  end
79
-
79
+
80
80
  module MonkeyObject
81
-
81
+
82
82
  def blank?
83
- instance_of? Array ? empty? : nil?
83
+ instance_of?(Array) ? empty? : nil?
84
84
  end unless Object.respond_to?(:blank?)
85
-
85
+
86
86
  def present?
87
87
  !blank?
88
88
  end unless Object.respond_to?(:present?)
89
-
89
+
90
90
  def presence
91
91
  present? ? self : nil
92
92
  end unless Object.respond_to?(:presence)
93
-
93
+
94
94
  end
95
95
  end
96
-
96
+
97
97
  end
98
- end
98
+ end
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2010 [Bagwan Pankaj]
2
- #
2
+ #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
5
5
  # "Software"), to deal in the Software without restriction, including
@@ -7,10 +7,10 @@
7
7
  # distribute, sublicense, and/or sell copies of the Software, and to
8
8
  # permit persons to whom the Software is furnished to do so, subject to
9
9
  # the following conditions:
10
- #
10
+ #
11
11
  # The above copyright notice and this permission notice shall be
12
12
  # included in all copies or substantial portions of the Software.
13
- #
13
+ #
14
14
  # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
15
  # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
16
  # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@@ -22,11 +22,11 @@
22
22
  # encoding: utf-8
23
23
 
24
24
  module Avataree
25
-
25
+
26
26
  module ImageServices
27
-
27
+
28
28
  include Avataree::Helper
29
-
29
+
30
30
  #this method returns resulted path to be requested to gravatar. takes all argument as a hash
31
31
  #options:
32
32
  #<tt>extension</tt> takes image type(e.g. jpg, png ...) :default => jpg
@@ -47,7 +47,7 @@ module Avataree
47
47
  # x: may contain hardcore sexual imagery or extremely disturbing violence.
48
48
  #in addition to these it also takes extension as options that lets you define the image type you want.
49
49
  # <tt>extension</tt> default => jpg
50
-
50
+
51
51
  def gravatar_image_path(email, options = {})
52
52
  email = make_digest(email)
53
53
  services_url = Helper.url_for_request(options.delete(:secure))
@@ -56,7 +56,7 @@ module Avataree
56
56
  prepare_url_with_params(resulted_path, options)
57
57
  end
58
58
  alias_method :gravatar, :gravatar_image_path
59
-
59
+
60
60
  end
61
-
62
- end
61
+
62
+ end
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2010 [Bagwan Pankaj]
2
- #
2
+ #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
5
5
  # "Software"), to deal in the Software without restriction, including
@@ -7,10 +7,10 @@
7
7
  # distribute, sublicense, and/or sell copies of the Software, and to
8
8
  # permit persons to whom the Software is furnished to do so, subject to
9
9
  # the following conditions:
10
- #
10
+ #
11
11
  # The above copyright notice and this permission notice shall be
12
12
  # included in all copies or substantial portions of the Software.
13
- #
13
+ #
14
14
  # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
15
  # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
16
  # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@@ -25,11 +25,11 @@ require 'json'
25
25
  require 'open-uri'
26
26
 
27
27
  module Avataree
28
-
28
+
29
29
  module ProfileServices
30
-
30
+
31
31
  include Avataree::Helper
32
-
32
+
33
33
  #options:
34
34
  # <tt>secure</tt> takes boolean values to use https or not :default => false
35
35
  # this method returns hash full of information provided by Gravatar.
@@ -37,10 +37,10 @@ module Avataree
37
37
  # Email address marked up with class=email (only available via JS/client-side parsing due to spam-protection measures)
38
38
  # IM accounts (some values only available via JS/client-side parsing due to spam-protection measures)
39
39
  # Phone numbers
40
- # Verified accounts
41
- # Name
40
+ # Verified accounts
41
+ # Name
42
42
  # Personal Links
43
- # Image (main Gravatar)
43
+ # Image (main Gravatar)
44
44
  def gravatar_profile(email, options = {})
45
45
  services_url = Helper.url_for_request(options.delete(:secure))
46
46
  email = make_digest(email)
@@ -54,7 +54,7 @@ module Avataree
54
54
  provided email or some server side error. do check it out.", "errorTrace" => "#{e}"}
55
55
  end
56
56
  end
57
-
57
+
58
58
  end
59
-
60
- end
59
+
60
+ end
@@ -1,38 +1,38 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
3
  describe "Avataree" do
4
-
4
+
5
5
  #tests for client googl
6
6
  describe "Helper" do
7
7
  before(:all) do
8
8
  @klass = Struct.new(:class)
9
- @klass.instance_eval { include Helper }
9
+ @klass.instance_eval { include Avataree::Helper }
10
10
  @email = "test@test.com"
11
11
  @expected_digest = "b642b4217b34b1e8d3bd915fc65c4452"
12
12
  @hash = {:email => @email, :name => "testing"}
13
13
  end
14
-
15
- it "should make a proper md5 digest for given email" do
14
+
15
+ it ".make_digest" do
16
16
  digest = @klass.new.make_digest(@email)
17
- digest.should_not be_empty
18
- digest.should == @expected_digest
17
+ expect(digest).not_to be_empty
18
+ expect(digest).to eq @expected_digest
19
19
  end
20
-
21
- it "should be able to convert a hash into params" do
22
- Hash.new.should respond_to :to_param
23
- @hash.to_param.should == "name=testing&email=test@test.com"
20
+
21
+ it "#to_param" do
22
+ expect(Hash.new).to respond_to :to_param
23
+ expect(@hash.to_param).to include("email=test@test.com")
24
24
  end
25
-
26
- it "should respond to (secure) url services" do
27
- Helper.should respond_to :url_services
28
- Helper.should respond_to :secure_url_services
25
+
26
+ it "@secure_url_services and @url_services" do
27
+ expect(Avataree::Helper).to respond_to :url_services
28
+ expect(Avataree::Helper).to respond_to :secure_url_services
29
29
  end
30
-
31
- it "should gives default (secure) url if not changed" do
32
- Helper.secure_url_services.should == "https://secure.gravatar.com/"
33
- Helper.url_services.should == "http://www.gravatar.com/"
30
+
31
+ it "default @secure_url_services and @url_services" do
32
+ expect(Avataree::Helper.secure_url_services).to eq "https://secure.gravatar.com/"
33
+ expect(Avataree::Helper.url_services).to eq "http://www.gravatar.com/"
34
34
  end
35
-
35
+
36
36
  # it "should allow to change (secure)urls" do
37
37
  # Helper.url_services = "http://google.com"
38
38
  # Helper.secure_url_services = "https://google.com"
@@ -40,44 +40,45 @@ describe "Avataree" do
40
40
  # Helper.url_services.should == "http://google.com"
41
41
  # end
42
42
  end
43
-
43
+
44
44
  describe "Image Services" do
45
-
46
- before(:all) do
45
+
46
+ before(:all) do
47
47
  @email = "beau@automattic.com"
48
48
  @klass = Struct.new(:class)
49
49
  @klass.instance_eval{ include Avataree::ImageServices }
50
50
  @options = {:extension => "jpg", :size => "100x100", :rating => "g"}
51
51
  end
52
-
53
- it "should respond to methods if included" do
54
- @klass.new.should respond_to :gravatar
55
- @klass.new.should respond_to :gravatar_image_path
52
+
53
+ it "#respond_to" do
54
+ expect(@klass.new).to respond_to :gravatar
55
+ expect(@klass.new).to respond_to :gravatar_image_path
56
56
  end
57
-
58
- it "should return a valid gravatar url provided email" do
57
+
58
+ it "#gravatar" do
59
59
  response = @klass.new.gravatar(@email)
60
- response.should == "http://www.gravatar.com/avatar/22bd03ace6f176bfe0c593650bcf45d8"
60
+ expect(response).to eq "http://www.gravatar.com/avatar/22bd03ace6f176bfe0c593650bcf45d8?"
61
61
  end
62
-
63
- it "should return a valid gravatar url provided email and options" do
62
+
63
+ it "#include" do
64
64
  response = @klass.new.gravatar(@email, @options)
65
- response.should == "#{Helper.url_services}avatar/22bd03ace6f176bfe0c593650bcf45d8.jpg?rating=g&size=100x100"
65
+ expect(response).to include("size=100x100")
66
+ expect(response).to include("rating=g")
66
67
  end
67
-
68
- it "should return a secure url if given in options" do
68
+
69
+ it "#scheme" do
69
70
  response = @klass.new.gravatar(@email, @options.merge({:secure => true}))
70
71
  uri = URI.parse(response)
71
- uri.scheme.should == "https"
72
+ expect(uri.scheme).to eq "https"
72
73
  end
73
-
74
- it "should return a normal url if secure option set to false" do
74
+
75
+ it "#scheme" do
75
76
  response = @klass.new.gravatar(@email, @options.merge({:secure => false}))
76
77
  uri = URI.parse(response)
77
- uri.scheme.should_not == "https"
78
- uri.scheme.should == "http"
78
+ expect(uri.scheme).not_to eq "https"
79
+ expect(uri.scheme).to eq "http"
79
80
  end
80
-
81
+
81
82
  end
82
-
83
+
83
84
  end
metadata CHANGED
@@ -1,126 +1,53 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: avataree
3
- version: !ruby/object:Gem::Version
4
- hash: 1
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 6
9
- - 3
10
- version: 0.6.3
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.6.4
11
5
  platform: ruby
12
- authors:
13
- - Bagwan Pankaj (a.k.a modulo9)
6
+ authors:
7
+ - Bagwan Pankaj
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2011-01-23 00:00:00 +05:30
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- type: :runtime
23
- prerelease: false
11
+ date: 2016-01-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
24
14
  name: activesupport
25
- version_requirements: &id001 !ruby/object:Gem::Requirement
26
- none: false
27
- requirements:
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
28
17
  - - ">="
29
- - !ruby/object:Gem::Version
30
- hash: 9
31
- segments:
32
- - 2
33
- - 3
34
- - 5
18
+ - !ruby/object:Gem::Version
35
19
  version: 2.3.5
36
- requirement: *id001
37
- - !ruby/object:Gem::Dependency
38
20
  type: :runtime
39
21
  prerelease: false
40
- name: json
41
- version_requirements: &id002 !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
44
24
  - - ">="
45
- - !ruby/object:Gem::Version
46
- hash: 3
47
- segments:
48
- - 0
49
- version: "0"
50
- requirement: *id002
51
- - !ruby/object:Gem::Dependency
52
- type: :development
53
- prerelease: false
54
- name: rspec
55
- version_requirements: &id003 !ruby/object:Gem::Requirement
56
- none: false
57
- requirements:
58
- - - ~>
59
- - !ruby/object:Gem::Version
60
- hash: 11
61
- segments:
62
- - 2
63
- - 1
64
- - 0
65
- version: 2.1.0
66
- requirement: *id003
67
- - !ruby/object:Gem::Dependency
68
- type: :development
69
- prerelease: false
70
- name: bundler
71
- version_requirements: &id004 !ruby/object:Gem::Requirement
72
- none: false
73
- requirements:
74
- - - ~>
75
- - !ruby/object:Gem::Version
76
- hash: 23
77
- segments:
78
- - 1
79
- - 0
80
- - 0
81
- version: 1.0.0
82
- requirement: *id004
83
- - !ruby/object:Gem::Dependency
84
- type: :development
85
- prerelease: false
86
- name: jeweler
87
- version_requirements: &id005 !ruby/object:Gem::Requirement
88
- none: false
89
- requirements:
90
- - - ~>
91
- - !ruby/object:Gem::Version
92
- hash: 1
93
- segments:
94
- - 1
95
- - 5
96
- - 1
97
- version: 1.5.1
98
- requirement: *id005
99
- - !ruby/object:Gem::Dependency
100
- type: :development
25
+ - !ruby/object:Gem::Version
26
+ version: 2.3.5
27
+ - !ruby/object:Gem::Dependency
28
+ name: json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">"
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
101
35
  prerelease: false
102
- name: rcov
103
- version_requirements: &id006 !ruby/object:Gem::Requirement
104
- none: false
105
- requirements:
106
- - - ">="
107
- - !ruby/object:Gem::Version
108
- hash: 3
109
- segments:
110
- - 0
111
- version: "0"
112
- requirement: *id006
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">"
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
113
41
  description: Ruby DSL for Gravatar profile and images
114
42
  email: bagwanpankaj@gmail.com
115
43
  executables: []
116
-
117
44
  extensions: []
118
-
119
- extra_rdoc_files:
45
+ extra_rdoc_files:
120
46
  - LICENSE.txt
121
- - README.textile
122
- files:
47
+ - README.markdown
48
+ files:
123
49
  - LICENSE.txt
50
+ - README.markdown
124
51
  - VERSION
125
52
  - lib/avataree.rb
126
53
  - lib/avataree/helper.rb
@@ -128,43 +55,33 @@ files:
128
55
  - lib/avataree/profile.rb
129
56
  - lib/avataree/railtie.rb
130
57
  - lib/avataree/switch.rb
131
- - README.textile
132
58
  - spec/avataree_spec.rb
133
59
  - spec/spec_helper.rb
134
- has_rdoc: true
135
60
  homepage: http://github.com/bagwanpankaj/avataree
136
- licenses:
61
+ licenses:
137
62
  - MIT
63
+ metadata: {}
138
64
  post_install_message:
139
65
  rdoc_options: []
140
-
141
- require_paths:
66
+ require_paths:
142
67
  - lib
143
- required_ruby_version: !ruby/object:Gem::Requirement
144
- none: false
145
- requirements:
68
+ required_ruby_version: !ruby/object:Gem::Requirement
69
+ requirements:
146
70
  - - ">="
147
- - !ruby/object:Gem::Version
148
- hash: 3
149
- segments:
150
- - 0
151
- version: "0"
152
- required_rubygems_version: !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
73
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
+ requirements:
155
75
  - - ">="
156
- - !ruby/object:Gem::Version
157
- hash: 3
158
- segments:
159
- - 0
160
- version: "0"
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
161
78
  requirements: []
162
-
163
79
  rubyforge_project:
164
- rubygems_version: 1.3.7
80
+ rubygems_version: 2.4.5
165
81
  signing_key:
166
82
  specification_version: 3
167
83
  summary: Ruby DSL for Gravatar profile and images
168
- test_files:
84
+ test_files:
169
85
  - spec/avataree_spec.rb
170
86
  - spec/spec_helper.rb
87
+ has_rdoc:
@@ -1,72 +0,0 @@
1
- h1. Avataree
2
-
3
- Ruby DSL for Gravatar profile and images.
4
-
5
- h2. What is it?
6
-
7
- Again I'll repeat that it's a "Ruby DSL for "Gravatar":http://en.gravatar.com profile and images."
8
-
9
- h2. Getting Started
10
-
11
- create a dependency in your Gemfile
12
-
13
- @gem 'avataree'@
14
-
15
- then run
16
-
17
- @bundle install@
18
-
19
- and you avataree will be up and running.
20
-
21
- h2. How to use It
22
-
23
- yeah that sound's a good question.
24
-
25
- in your controller
26
-
27
- for fetching gravatar image
28
-
29
- @gravatar(email)@
30
-
31
- here are options and there possible values:
32
-
33
- | *Options* | *What value do they take* |
34
- | :extension | extension of image to be fetched(default => jpg) |
35
- | :secure | boolean to/not to use https scheme (default => false) |
36
- | :s or :size | size of image (e.g 100x100) (default => 80x80) |
37
- | :d or :default | default image to be used(e.g. 404, mm, identicon ..) |
38
- | :f or :forcedefault | takes 'y' or 'n' as argument. always force to load default image |
39
- | :r or :rating | image rating (e.g. g, pg, r, x) |
40
-
41
- for fetching gravatar profile
42
-
43
- @gravatar_profile(email)@
44
-
45
- | *Options* | *What value do they take* |
46
- | :secure | boolean to/not to use https scheme (default => false) |
47
-
48
- h2. Credits
49
-
50
- Credit for this gem goes to Gravatar team for making such a awesome application.
51
-
52
- h2. More Info
53
-
54
- For detailed info visit my blog "http://BagwanPankaj.com":http://bagwanpankaj.com
55
-
56
- For more info write me at bagwanpankaj[at]gmail.com or me[at]bagwanpankaj.com
57
-
58
- Copyright (c) 2010 Bagwan Pankaj: http://bagwanpankaj.com, released under the MIT license
59
-
60
- h2. Contributing to avataree
61
-
62
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
63
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
64
- * Fork the project
65
- * Start a feature/bugfix branch
66
- * Commit and push until you are happy with your contribution
67
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
68
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
69
-
70
- h2. Copyright
71
-
72
- Copyright (c) 2010 [Bagwan Pankaj]. See LICENSE.txt for further details.