assert-rack-test 1.0.5 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- SHA1:
3
- data.tar.gz: 78c243eb9282921b6fea2535598ad7798816650c
4
- metadata.gz: 275c50bb5dd7509b90260a29b59b4470aadf72f3
5
- SHA512:
6
- data.tar.gz: b2454f434e17674020f67c84107f503873923fa0c223cb30e209030e37d9d843d674191d6aeb3097afe7fd2c059c71489628ad905db4d37766e0aa76c4f0b6b2
7
- metadata.gz: cda093b5d11762f170292e954cd8530815284ccb0d82cb11a6e225e1ce8ad79ae96b685c558c07b219f2ede8e94c445f5382d6d551b146a42e8c5b27e39b874d
1
+ ---
2
+ SHA256:
3
+ metadata.gz: aac6a95da870c26e356087445a4f8638e5a4617f76e69581f6e9fea400bdea5a
4
+ data.tar.gz: eb87e14ffb1e061c8be4e48eac760331b7006b31e47f7f99b9f9bfdf9ea4e76e
5
+ SHA512:
6
+ metadata.gz: 41370665d50b23cbc2ee77d701b5c5ad425f8b9d5f90fc660949a3e147b53b5ab6a2c4326a52b36667233babf599b34a591ff6d5c86b4725e54e2a71997126ab
7
+ data.tar.gz: 442c548d94ed542cda32b5bae83c563066fc9bb79bd7a127ba2373831aaa42193719ad3a7fbc6b2aec93f3c56e7e14892459177aa5ca510faebe438c761a3005
@@ -0,0 +1 @@
1
+ 2.5.5
data/Gemfile CHANGED
@@ -1,5 +1,7 @@
1
1
  source "https://rubygems.org"
2
2
 
3
+ ruby "~> 2.5"
4
+
3
5
  gemspec
4
6
 
5
- gem 'pry', "~> 0.9.0"
7
+ gem "pry", "~> 0.12.2"
@@ -18,8 +18,10 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
- gem.add_dependency("assert", ["~> 2.16.1"])
22
- gem.add_dependency("rack-test", ["~> 0.6.3"])
21
+ gem.required_ruby_version = "~> 2.5"
22
+
23
+ gem.add_development_dependency("assert", ["~> 2.19.0"])
24
+ gem.add_dependency("rack-test", ["~> 1.1"])
23
25
 
24
26
  end
25
27
 
@@ -1,15 +1,13 @@
1
- require 'assert/context'
2
- require 'rack/test'
3
- require 'assert-rack-test/version'
1
+ require "assert/context"
2
+ require "rack/test"
3
+ require "assert-rack-test/version"
4
4
 
5
5
  module Assert::Rack::Test
6
-
7
6
  def self.included(klass)
8
7
  klass.class_eval do
9
8
  include ::Rack::Test::Methods
10
9
  end
11
10
  end
12
-
13
11
  end
14
12
 
15
13
  Assert::Context.class_eval do
@@ -1,5 +1,5 @@
1
1
  module Assert; end
2
2
  module Assert::Rack; end
3
3
  module Assert::Rack::Test
4
- VERSION = "1.0.5"
4
+ VERSION = "1.1.0"
5
5
  end
@@ -8,12 +8,3 @@ $LOAD_PATH.unshift(File.expand_path("../..", __FILE__))
8
8
  require 'pry'
9
9
 
10
10
  require 'test/support/factory'
11
-
12
- # 1.8.7 backfills
13
-
14
- # Array#sample
15
- if !(a = Array.new).respond_to?(:sample) && a.respond_to?(:choice)
16
- class Array
17
- alias_method :sample, :choice
18
- end
19
- end
@@ -1,6 +1,5 @@
1
- require 'assert/factory'
1
+ require "assert/factory"
2
2
 
3
3
  module Factory
4
4
  extend Assert::Factory
5
-
6
5
  end
@@ -1,19 +1,17 @@
1
- require 'assert'
2
- require 'assert-rack-test'
1
+ require "assert"
2
+ require "assert-rack-test"
3
3
 
4
4
  module Assert::Rack::Test
5
-
6
5
  class UnitTests < Assert::Context
7
6
  desc "Assert::Context"
7
+ subject{ @context_class }
8
+
8
9
  setup do
9
10
  @context_class = Assert::Context
10
11
  end
11
- subject{ @context_class }
12
12
 
13
13
  should "include the Rack::Test::Methods" do
14
- assert_includes Rack::Test::Methods, subject
14
+ assert_that(subject).includes(Rack::Test::Methods)
15
15
  end
16
-
17
16
  end
18
-
19
17
  end
metadata CHANGED
@@ -1,48 +1,53 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: assert-rack-test
3
- version: !ruby/object:Gem::Version
4
- version: 1.0.5
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.0
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Collin Redding
8
8
  - Kelly Redding
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2017-07-26 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2020-12-24 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: assert
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 2.19.0
21
+ type: :development
17
22
  prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
19
- requirements:
20
- - - ~>
21
- - !ruby/object:Gem::Version
22
- version: 2.16.1
23
- type: :runtime
24
- version_requirements: *id001
25
- - !ruby/object:Gem::Dependency
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 2.19.0
28
+ - !ruby/object:Gem::Dependency
26
29
  name: rack-test
27
- prerelease: false
28
- requirement: &id002 !ruby/object:Gem::Requirement
29
- requirements:
30
- - - ~>
31
- - !ruby/object:Gem::Version
32
- version: 0.6.3
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.1'
33
35
  type: :runtime
34
- version_requirements: *id002
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '1.1'
35
42
  description: Assert with Rack::Test
36
- email:
43
+ email:
37
44
  - collin.redding@me.com, kelly@kellyredding.com
38
45
  executables: []
39
-
40
46
  extensions: []
41
-
42
47
  extra_rdoc_files: []
43
-
44
- files:
45
- - .gitignore
48
+ files:
49
+ - ".gitignore"
50
+ - ".ruby-version"
46
51
  - Gemfile
47
52
  - LICENSE
48
53
  - README.md
@@ -55,32 +60,29 @@ files:
55
60
  - test/unit/assert-rack-test_tests.rb
56
61
  - tmp/.gitkeep
57
62
  homepage: https://github.com/redding/assert-rack-test
58
- licenses:
63
+ licenses:
59
64
  - MIT
60
65
  metadata: {}
61
-
62
66
  post_install_message:
63
67
  rdoc_options: []
64
-
65
- require_paths:
68
+ require_paths:
66
69
  - lib
67
- required_ruby_version: !ruby/object:Gem::Requirement
68
- requirements:
69
- - &id003
70
- - ">="
71
- - !ruby/object:Gem::Version
72
- version: "0"
73
- required_rubygems_version: !ruby/object:Gem::Requirement
74
- requirements:
75
- - *id003
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '2.5'
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
76
80
  requirements: []
77
-
78
- rubyforge_project:
79
- rubygems_version: 2.6.6
81
+ rubygems_version: 3.1.2
80
82
  signing_key:
81
83
  specification_version: 4
82
84
  summary: Assert with Rack::Test
83
- test_files:
85
+ test_files:
84
86
  - test/helper.rb
85
87
  - test/support/factory.rb
86
88
  - test/unit/assert-rack-test_tests.rb