bats 0.0.2 → 0.0.3
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/README +7 -0
- data/lib/bats.rb +2 -2
- metadata +2 -2
data/README
CHANGED
data/lib/bats.rb
CHANGED
@@ -5,7 +5,7 @@ end
|
|
5
5
|
class Bats
|
6
6
|
extend Wizarding
|
7
7
|
|
8
|
-
traits :routes
|
8
|
+
traits :routes
|
9
9
|
|
10
10
|
def self.inherited c
|
11
11
|
c.traits *traits.keys
|
@@ -26,7 +26,7 @@ class Bats
|
|
26
26
|
i = ( isTemporary ) ? '307' : '301'
|
27
27
|
statusCode( i ).headers( :Location => l )
|
28
28
|
end
|
29
|
-
|
29
|
+
|
30
30
|
def self.statusCode i; ::HTTPResponse.const_get( "Status#{i}" ); end
|
31
31
|
def statusCode i; ::HTTPResponse.const_get( "Status#{i}" ); end
|
32
32
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hans Oksendahl
|
@@ -46,7 +46,7 @@ post_install_message:
|
|
46
46
|
rdoc_options: []
|
47
47
|
|
48
48
|
require_paths:
|
49
|
-
-
|
49
|
+
- lib
|
50
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|