gravatar-ultimate 1.0.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +10 -6
- data/Gemfile.lock +46 -15
- data/README.rdoc +8 -21
- data/environments/rails-3.1/config/environments/development.rb +2 -1
- data/gemfiles/{rails-3.1.3 → rails-3.1} +1 -1
- data/gemfiles/{rails-2.3.14 → rails-3.2} +1 -1
- data/gemfiles/rails-4.0 +5 -0
- data/gemfiles/rails-4.0.lock +123 -0
- data/gravatar-ultimate.gemspec +4 -2
- data/lib/gravatar.rb +10 -1
- data/lib/gravatar/version.rb +1 -1
- data/spec/lib/gravatar/cache_spec.rb +4 -4
- data/spec/lib/gravatar_spec.rb +9 -1
- data/spec/spec_helper.rb +16 -3
- metadata +124 -170
- data/environments/rails-2.3/README +0 -243
- data/environments/rails-2.3/Rakefile +0 -10
- data/environments/rails-2.3/app/controllers/application_controller.rb +0 -10
- data/environments/rails-2.3/app/helpers/application_helper.rb +0 -3
- data/environments/rails-2.3/config/boot.rb +0 -114
- data/environments/rails-2.3/config/database.yml +0 -22
- data/environments/rails-2.3/config/environment.rb +0 -43
- data/environments/rails-2.3/config/environments/development.rb +0 -17
- data/environments/rails-2.3/config/environments/production.rb +0 -28
- data/environments/rails-2.3/config/environments/test.rb +0 -28
- data/environments/rails-2.3/config/initializers/backtrace_silencers.rb +0 -7
- data/environments/rails-2.3/config/initializers/cookie_verification_secret.rb +0 -7
- data/environments/rails-2.3/config/initializers/inflections.rb +0 -10
- data/environments/rails-2.3/config/initializers/mime_types.rb +0 -5
- data/environments/rails-2.3/config/initializers/new_rails_defaults.rb +0 -21
- data/environments/rails-2.3/config/initializers/session_store.rb +0 -15
- data/environments/rails-2.3/config/locales/en.yml +0 -5
- data/environments/rails-2.3/config/routes.rb +0 -43
- data/environments/rails-2.3/db/seeds.rb +0 -7
- data/environments/rails-2.3/doc/README_FOR_APP +0 -2
- data/environments/rails-2.3/public/404.html +0 -30
- data/environments/rails-2.3/public/422.html +0 -30
- data/environments/rails-2.3/public/500.html +0 -30
- data/environments/rails-2.3/public/favicon.ico +0 -0
- data/environments/rails-2.3/public/images/rails.png +0 -0
- data/environments/rails-2.3/public/index.html +0 -275
- data/environments/rails-2.3/public/javascripts/application.js +0 -2
- data/environments/rails-2.3/public/javascripts/controls.js +0 -963
- data/environments/rails-2.3/public/javascripts/dragdrop.js +0 -973
- data/environments/rails-2.3/public/javascripts/effects.js +0 -1128
- data/environments/rails-2.3/public/javascripts/prototype.js +0 -4320
- data/environments/rails-2.3/public/robots.txt +0 -5
- data/environments/rails-2.3/script/about +0 -4
- data/environments/rails-2.3/script/console +0 -3
- data/environments/rails-2.3/script/dbconsole +0 -3
- data/environments/rails-2.3/script/destroy +0 -3
- data/environments/rails-2.3/script/generate +0 -3
- data/environments/rails-2.3/script/performance/benchmarker +0 -3
- data/environments/rails-2.3/script/performance/profiler +0 -3
- data/environments/rails-2.3/script/plugin +0 -3
- data/environments/rails-2.3/script/runner +0 -3
- data/environments/rails-2.3/script/server +0 -3
- data/environments/rails-2.3/test/performance/browsing_test.rb +0 -9
- data/environments/rails-2.3/test/test_helper.rb +0 -38
- data/gemfiles/rails-2.3.14.lock +0 -55
- data/gemfiles/rails-3.1.3.lock +0 -110
- data/lib/gravatar_ultimate.rb +0 -1
@@ -1,38 +0,0 @@
|
|
1
|
-
ENV["RAILS_ENV"] = "test"
|
2
|
-
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
|
3
|
-
require 'test_help'
|
4
|
-
|
5
|
-
class ActiveSupport::TestCase
|
6
|
-
# Transactional fixtures accelerate your tests by wrapping each test method
|
7
|
-
# in a transaction that's rolled back on completion. This ensures that the
|
8
|
-
# test database remains unchanged so your fixtures don't have to be reloaded
|
9
|
-
# between every test method. Fewer database queries means faster tests.
|
10
|
-
#
|
11
|
-
# Read Mike Clark's excellent walkthrough at
|
12
|
-
# http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting
|
13
|
-
#
|
14
|
-
# Every Active Record database supports transactions except MyISAM tables
|
15
|
-
# in MySQL. Turn off transactional fixtures in this case; however, if you
|
16
|
-
# don't care one way or the other, switching from MyISAM to InnoDB tables
|
17
|
-
# is recommended.
|
18
|
-
#
|
19
|
-
# The only drawback to using transactional fixtures is when you actually
|
20
|
-
# need to test transactions. Since your test is bracketed by a transaction,
|
21
|
-
# any transactions started in your code will be automatically rolled back.
|
22
|
-
self.use_transactional_fixtures = true
|
23
|
-
|
24
|
-
# Instantiated fixtures are slow, but give you @david where otherwise you
|
25
|
-
# would need people(:david). If you don't want to migrate your existing
|
26
|
-
# test cases which use the @david style and don't mind the speed hit (each
|
27
|
-
# instantiated fixtures translates to a database query per test method),
|
28
|
-
# then set this back to true.
|
29
|
-
self.use_instantiated_fixtures = false
|
30
|
-
|
31
|
-
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
32
|
-
#
|
33
|
-
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
34
|
-
# -- they do not yet inherit this setting
|
35
|
-
fixtures :all
|
36
|
-
|
37
|
-
# Add more helper methods to be used by all tests here...
|
38
|
-
end
|
data/gemfiles/rails-2.3.14.lock
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: /Users/colin/projects/gems/gravatar
|
3
|
-
specs:
|
4
|
-
gravatar-ultimate (1.0.2)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: http://rubygems.org/
|
8
|
-
specs:
|
9
|
-
actionmailer (2.3.14)
|
10
|
-
actionpack (= 2.3.14)
|
11
|
-
actionpack (2.3.14)
|
12
|
-
activesupport (= 2.3.14)
|
13
|
-
rack (~> 1.1.0)
|
14
|
-
activerecord (2.3.14)
|
15
|
-
activesupport (= 2.3.14)
|
16
|
-
activeresource (2.3.14)
|
17
|
-
activesupport (= 2.3.14)
|
18
|
-
activesupport (2.3.14)
|
19
|
-
diff-lcs (1.1.3)
|
20
|
-
fakeweb (1.3.0)
|
21
|
-
i18n (0.6.0)
|
22
|
-
json (1.6.1)
|
23
|
-
rack (1.1.3)
|
24
|
-
rails (2.3.14)
|
25
|
-
actionmailer (= 2.3.14)
|
26
|
-
actionpack (= 2.3.14)
|
27
|
-
activerecord (= 2.3.14)
|
28
|
-
activeresource (= 2.3.14)
|
29
|
-
activesupport (= 2.3.14)
|
30
|
-
rake (>= 0.8.3)
|
31
|
-
rake (0.9.2.2)
|
32
|
-
rdoc (3.11)
|
33
|
-
json (~> 1.4)
|
34
|
-
rspec (2.8.0)
|
35
|
-
rspec-core (~> 2.8.0)
|
36
|
-
rspec-expectations (~> 2.8.0)
|
37
|
-
rspec-mocks (~> 2.8.0)
|
38
|
-
rspec-core (2.8.0)
|
39
|
-
rspec-expectations (2.8.0)
|
40
|
-
diff-lcs (~> 1.1.2)
|
41
|
-
rspec-mocks (2.8.0)
|
42
|
-
|
43
|
-
PLATFORMS
|
44
|
-
ruby
|
45
|
-
|
46
|
-
DEPENDENCIES
|
47
|
-
activesupport (>= 2.3.14)
|
48
|
-
fakeweb (>= 1.2.8)
|
49
|
-
gravatar-ultimate!
|
50
|
-
i18n (~> 0.6.0)
|
51
|
-
jruby-openssl
|
52
|
-
rails (= 2.3.14)
|
53
|
-
rake (~> 0.9.2.2)
|
54
|
-
rdoc (~> 3.11)
|
55
|
-
rspec (>= 1.3.0)
|
data/gemfiles/rails-3.1.3.lock
DELETED
@@ -1,110 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: /Users/colin/projects/gems/gravatar
|
3
|
-
specs:
|
4
|
-
gravatar-ultimate (1.0.2)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: http://rubygems.org/
|
8
|
-
specs:
|
9
|
-
actionmailer (3.1.3)
|
10
|
-
actionpack (= 3.1.3)
|
11
|
-
mail (~> 2.3.0)
|
12
|
-
actionpack (3.1.3)
|
13
|
-
activemodel (= 3.1.3)
|
14
|
-
activesupport (= 3.1.3)
|
15
|
-
builder (~> 3.0.0)
|
16
|
-
erubis (~> 2.7.0)
|
17
|
-
i18n (~> 0.6)
|
18
|
-
rack (~> 1.3.5)
|
19
|
-
rack-cache (~> 1.1)
|
20
|
-
rack-mount (~> 0.8.2)
|
21
|
-
rack-test (~> 0.6.1)
|
22
|
-
sprockets (~> 2.0.3)
|
23
|
-
activemodel (3.1.3)
|
24
|
-
activesupport (= 3.1.3)
|
25
|
-
builder (~> 3.0.0)
|
26
|
-
i18n (~> 0.6)
|
27
|
-
activerecord (3.1.3)
|
28
|
-
activemodel (= 3.1.3)
|
29
|
-
activesupport (= 3.1.3)
|
30
|
-
arel (~> 2.2.1)
|
31
|
-
tzinfo (~> 0.3.29)
|
32
|
-
activeresource (3.1.3)
|
33
|
-
activemodel (= 3.1.3)
|
34
|
-
activesupport (= 3.1.3)
|
35
|
-
activesupport (3.1.3)
|
36
|
-
multi_json (~> 1.0)
|
37
|
-
arel (2.2.1)
|
38
|
-
builder (3.0.0)
|
39
|
-
diff-lcs (1.1.3)
|
40
|
-
erubis (2.7.0)
|
41
|
-
fakeweb (1.3.0)
|
42
|
-
hike (1.2.1)
|
43
|
-
i18n (0.6.0)
|
44
|
-
json (1.6.1)
|
45
|
-
mail (2.3.0)
|
46
|
-
i18n (>= 0.4.0)
|
47
|
-
mime-types (~> 1.16)
|
48
|
-
treetop (~> 1.4.8)
|
49
|
-
mime-types (1.17.2)
|
50
|
-
multi_json (1.0.4)
|
51
|
-
polyglot (0.3.3)
|
52
|
-
rack (1.3.6)
|
53
|
-
rack-cache (1.1)
|
54
|
-
rack (>= 0.4)
|
55
|
-
rack-mount (0.8.3)
|
56
|
-
rack (>= 1.0.0)
|
57
|
-
rack-ssl (1.3.2)
|
58
|
-
rack
|
59
|
-
rack-test (0.6.1)
|
60
|
-
rack (>= 1.0)
|
61
|
-
rails (3.1.3)
|
62
|
-
actionmailer (= 3.1.3)
|
63
|
-
actionpack (= 3.1.3)
|
64
|
-
activerecord (= 3.1.3)
|
65
|
-
activeresource (= 3.1.3)
|
66
|
-
activesupport (= 3.1.3)
|
67
|
-
bundler (~> 1.0)
|
68
|
-
railties (= 3.1.3)
|
69
|
-
railties (3.1.3)
|
70
|
-
actionpack (= 3.1.3)
|
71
|
-
activesupport (= 3.1.3)
|
72
|
-
rack-ssl (~> 1.3.2)
|
73
|
-
rake (>= 0.8.7)
|
74
|
-
rdoc (~> 3.4)
|
75
|
-
thor (~> 0.14.6)
|
76
|
-
rake (0.9.2.2)
|
77
|
-
rdoc (3.11)
|
78
|
-
json (~> 1.4)
|
79
|
-
rspec (2.8.0)
|
80
|
-
rspec-core (~> 2.8.0)
|
81
|
-
rspec-expectations (~> 2.8.0)
|
82
|
-
rspec-mocks (~> 2.8.0)
|
83
|
-
rspec-core (2.8.0)
|
84
|
-
rspec-expectations (2.8.0)
|
85
|
-
diff-lcs (~> 1.1.2)
|
86
|
-
rspec-mocks (2.8.0)
|
87
|
-
sprockets (2.0.3)
|
88
|
-
hike (~> 1.2)
|
89
|
-
rack (~> 1.0)
|
90
|
-
tilt (~> 1.1, != 1.3.0)
|
91
|
-
thor (0.14.6)
|
92
|
-
tilt (1.3.3)
|
93
|
-
treetop (1.4.10)
|
94
|
-
polyglot
|
95
|
-
polyglot (>= 0.3.1)
|
96
|
-
tzinfo (0.3.31)
|
97
|
-
|
98
|
-
PLATFORMS
|
99
|
-
ruby
|
100
|
-
|
101
|
-
DEPENDENCIES
|
102
|
-
activesupport (>= 2.3.14)
|
103
|
-
fakeweb (>= 1.2.8)
|
104
|
-
gravatar-ultimate!
|
105
|
-
i18n (~> 0.6.0)
|
106
|
-
jruby-openssl
|
107
|
-
rails (= 3.1.3)
|
108
|
-
rake (~> 0.9.2.2)
|
109
|
-
rdoc (~> 3.11)
|
110
|
-
rspec (>= 1.3.0)
|
data/lib/gravatar_ultimate.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require File.expand_path("../gravatar", __FILE__)
|