bartt-ssl_requirement 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ *.gem
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.3.1
@@ -1,40 +1,42 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bartt-ssl_requirement}
8
- s.version = "1.2.7"
8
+ s.version = "1.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["RailsJedi", "David Heinemeier Hansson", "jcnetdev", "bcurren", "bmpercy", "revo", "nathany", "bartt", "Thorben Schröder"]
12
- s.date = %q{2011-05-27}
11
+ s.authors = ["RailsJedi", "David Heinemeier Hansson", "jcnetdev", "bcurren", "bmpercy", "revo", "nathany", "bartt", "Thorben Schr\303\266der"]
12
+ s.date = %q{2011-09-06}
13
13
  s.description = %q{SSL requirement adds a declarative way of specifying that certain actions should only be allowed to run under SSL, and if they're accessed without it, they should be redirected.}
14
14
  s.email = %q{bart@thecodemill.biz}
15
15
  s.extra_rdoc_files = [
16
16
  "README"
17
17
  ]
18
18
  s.files = [
19
- "README",
20
- "Rakefile",
21
- "VERSION",
22
- "bartt-ssl_requirement.gemspec",
23
- "init.rb",
24
- "lib/ssl_requirement.rb",
25
- "lib/url_for.rb",
26
- "rails/init.rb",
27
- "shoulda_macros/ssl_requirement_macros.rb",
28
- "test/ssl_requirement_test.rb",
29
- "test/url_for_test.rb"
19
+ ".gitignore",
20
+ "README",
21
+ "Rakefile",
22
+ "VERSION",
23
+ "bartt-ssl_requirement.gemspec",
24
+ "init.rb",
25
+ "lib/ssl_requirement.rb",
26
+ "lib/url_for.rb",
27
+ "rails/init.rb",
28
+ "shoulda_macros/ssl_requirement_macros.rb",
29
+ "test/ssl_requirement_test.rb",
30
+ "test/url_for_test.rb"
30
31
  ]
31
32
  s.homepage = %q{http://github.com/bartt/ssl_requirement}
33
+ s.rdoc_options = ["--charset=UTF-8"]
32
34
  s.require_paths = ["lib"]
33
35
  s.rubygems_version = %q{1.6.2}
34
36
  s.summary = %q{Allow controller actions to force SSL on specific parts of the site.}
35
37
  s.test_files = [
36
38
  "test/ssl_requirement_test.rb",
37
- "test/url_for_test.rb"
39
+ "test/url_for_test.rb"
38
40
  ]
39
41
 
40
42
  if s.respond_to? :specification_version then
@@ -29,7 +29,7 @@ module SslRequirement
29
29
  end
30
30
 
31
31
  def self.ssl_port
32
- @@ssl_port
32
+ @@ssl_port ||= 433
33
33
  end
34
34
 
35
35
  def self.non_ssl_host
@@ -152,4 +152,4 @@ module SslRequirement
152
152
  def port_normal?(port)
153
153
  NORMAL_PORTS.include?(port)
154
154
  end
155
- end
155
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bartt-ssl_requirement
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 0
10
- version: 1.3.0
9
+ - 1
10
+ version: 1.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - RailsJedi
@@ -23,7 +23,8 @@ autorequire:
23
23
  bindir: bin
24
24
  cert_chain: []
25
25
 
26
- date: 2011-09-03 00:00:00 Z
26
+ date: 2011-09-06 00:00:00 -07:00
27
+ default_executable:
27
28
  dependencies: []
28
29
 
29
30
  description: SSL requirement adds a declarative way of specifying that certain actions should only be allowed to run under SSL, and if they're accessed without it, they should be redirected.
@@ -35,6 +36,7 @@ extensions: []
35
36
  extra_rdoc_files:
36
37
  - README
37
38
  files:
39
+ - .gitignore
38
40
  - README
39
41
  - Rakefile
40
42
  - VERSION
@@ -46,12 +48,13 @@ files:
46
48
  - shoulda_macros/ssl_requirement_macros.rb
47
49
  - test/ssl_requirement_test.rb
48
50
  - test/url_for_test.rb
51
+ has_rdoc: true
49
52
  homepage: http://github.com/bartt/ssl_requirement
50
53
  licenses: []
51
54
 
52
55
  post_install_message:
53
- rdoc_options: []
54
-
56
+ rdoc_options:
57
+ - --charset=UTF-8
55
58
  require_paths:
56
59
  - lib
57
60
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -75,9 +78,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
78
  requirements: []
76
79
 
77
80
  rubyforge_project:
78
- rubygems_version: 1.8.6
81
+ rubygems_version: 1.6.2
79
82
  signing_key:
80
83
  specification_version: 3
81
84
  summary: Allow controller actions to force SSL on specific parts of the site.
82
- test_files: []
83
-
85
+ test_files:
86
+ - test/ssl_requirement_test.rb
87
+ - test/url_for_test.rb