lazy-head-gen 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "lazy-head-gen"
8
- s.version = "0.5.0"
8
+ s.version = "0.5.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Stuart Chinery"]
@@ -25,4 +25,30 @@ module LazyHeadGen
25
25
  assert_equal 302, last_response.status
26
26
  assert_equal "http://example.org/admin/sessions/new", last_response.original_headers["Location"]
27
27
  end
28
+
29
+ # Removing due to conflicts when testing.
30
+ #
31
+ # def path
32
+ # last_request.path
33
+ # end
34
+
35
+ # def session
36
+ # last_request.env['rack.session']
37
+ # end
38
+
39
+ # def body
40
+ # last_response.body
41
+ # end
42
+
43
+ # def status
44
+ # last_response.status
45
+ # end
46
+
47
+ # def location
48
+ # last_response.original_headers["Location"]
49
+ # end
50
+
51
+ # def ok?
52
+ # last_response.ok?
53
+ # end
28
54
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lazy-head-gen
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ version: 0.5.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stuart Chinery