assert-rack-test 1.0.0 → 1.0.1

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.
@@ -1,14 +1,22 @@
1
1
  require 'assert'
2
2
  require 'rack/test'
3
3
 
4
+ require 'assert-rack-test/version'
5
+
4
6
  module Assert
5
7
  module Rack
6
8
  module Test
7
- autoload :VERSION, "assert-rack-test/version"
9
+
10
+ def self.included(klass)
11
+ klass.class_eval do
12
+ include ::Rack::Test::Methods
13
+ end
14
+ end
15
+
8
16
  end
9
17
  end
10
18
  end
11
19
 
12
20
  Assert::Context.class_eval do
13
- include Rack::Test::Methods
21
+ include Assert::Rack::Test
14
22
  end
@@ -1,7 +1,7 @@
1
1
  module Assert
2
2
  module Rack
3
3
  module Test
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assert-rack-test
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kelly Redding