heroku-nav 0.1.22 → 0.1.23
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.
- data/Rakefile +1 -1
- data/heroku-nav.gemspec +14 -16
- data/lib/heroku/nav.rb +1 -1
- data/spec/api_spec.rb +1 -1
- data/spec/nav_spec.rb +2 -2
- metadata +3 -3
data/Rakefile
CHANGED
@@ -21,7 +21,7 @@ begin
|
|
21
21
|
gemspec.add_dependency(%q<rest-client>, [">= 1.0"])
|
22
22
|
gemspec.add_dependency(%q<json>, [">= 0"])
|
23
23
|
|
24
|
-
gemspec.version = '0.1.
|
24
|
+
gemspec.version = '0.1.23'
|
25
25
|
end
|
26
26
|
rescue LoadError
|
27
27
|
puts "Jeweler not available. Install it with: gem install jeweler"
|
data/heroku-nav.gemspec
CHANGED
@@ -1,39 +1,37 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{heroku-nav}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.22"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["David Dollar", "Pedro Belo", "Todd Matthews"]
|
12
|
-
s.date = %q{2011-
|
11
|
+
s.authors = ["David Dollar", "Pedro Belo", "Raul Murciano", "Todd Matthews"]
|
12
|
+
s.date = %q{2011-03-08}
|
13
13
|
s.description = %q{}
|
14
|
-
s.email = ["david@heroku.com", "pedro@heroku.com", "todd@heroku.com"]
|
14
|
+
s.email = ["david@heroku.com", "pedro@heroku.com", "raul@heroku.com", "todd@heroku.com"]
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"README.md"
|
17
17
|
]
|
18
18
|
s.files = [
|
19
|
-
".
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
"spec/nav_spec.rb"
|
19
|
+
"README.md",
|
20
|
+
"Rakefile",
|
21
|
+
"heroku-nav.gemspec",
|
22
|
+
"lib/heroku/nav.rb",
|
23
|
+
"spec/api_spec.rb",
|
24
|
+
"spec/base.rb",
|
25
|
+
"spec/nav_spec.rb"
|
27
26
|
]
|
28
27
|
s.homepage = %q{http://heroku.com}
|
29
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
30
28
|
s.require_paths = ["lib"]
|
31
29
|
s.rubygems_version = %q{1.3.6}
|
32
30
|
s.summary = %q{}
|
33
31
|
s.test_files = [
|
34
32
|
"spec/api_spec.rb",
|
35
|
-
|
36
|
-
|
33
|
+
"spec/base.rb",
|
34
|
+
"spec/nav_spec.rb"
|
37
35
|
]
|
38
36
|
|
39
37
|
if s.respond_to? :specification_version then
|
data/lib/heroku/nav.rb
CHANGED
data/spec/api_spec.rb
CHANGED
@@ -11,7 +11,7 @@ describe "Api" do
|
|
11
11
|
end
|
12
12
|
|
13
13
|
it "has a resource url based on the api url" do
|
14
|
-
Heroku::Nav::Header.resource_url.should == '
|
14
|
+
Heroku::Nav::Header.resource_url.should == 'https://nav.heroku.com/header'
|
15
15
|
end
|
16
16
|
|
17
17
|
it "doesn't raise" do
|
data/spec/nav_spec.rb
CHANGED
@@ -42,7 +42,7 @@ describe Heroku::Nav::Header do
|
|
42
42
|
|
43
43
|
it "adds the css right after the head" do
|
44
44
|
get '/', :body => '<html><head>... <body>'
|
45
|
-
last_response.body.should.equal "<html><head><link href='
|
45
|
+
last_response.body.should.equal "<html><head><link href='https://nav.heroku.com/header.css' media='all' rel='stylesheet' type='text/css' />... <body><!-- header -->"
|
46
46
|
end
|
47
47
|
|
48
48
|
it "doesn't add for non 200 responses" do
|
@@ -95,7 +95,7 @@ describe Heroku::Nav::Footer do
|
|
95
95
|
|
96
96
|
it "adds the css right after the head" do
|
97
97
|
get '/', :body => '<html><head>... <body>'
|
98
|
-
last_response.body.should.equal "<html><head><link href='
|
98
|
+
last_response.body.should.equal "<html><head><link href='https://nav.heroku.com/footer.css' media='all' rel='stylesheet' type='text/css' />... <body>"
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 23
|
9
|
+
version: 0.1.23
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- David Dollar
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2011-
|
20
|
+
date: 2011-10-06 00:00:00 -07:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|