cgi-spa 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/cgi-spa.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{cgi-spa}
5
- s.version = "0.3.1"
5
+ s.version = "0.3.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Sam Ruby"]
@@ -42,10 +42,10 @@ end
42
42
 
43
43
  # post specific logic (doesn't produce output)
44
44
  def $cgi.post
45
- yield unless $HTTP_POST
45
+ yield if $HTTP_POST
46
46
  end
47
47
 
48
48
  # post specific content (produces output)
49
49
  def $cgi.post! &block
50
- html!(&block) unless $HTTP_POST
50
+ html!(&block) if $HTTP_POST
51
51
  end
@@ -2,7 +2,7 @@ module CgiSpa
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cgi-spa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby