rspec-padrino 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +48 -0
- data/.travis.yml +1 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +49 -39
- data/Rakefile +2 -26
- data/lib/rspec/padrino/matchers/routing_matchers.rb +3 -3
- data/lib/rspec/padrino/version.rb +5 -0
- data/rspec-padrino.gemspec +28 -88
- metadata +50 -82
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 716aaff460bc44ec48bb47d15c5e97ccaa6fc434
|
4
|
+
data.tar.gz: 02efe422e54090291777f64a2071862ccd4e8b50
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9602945e07b00d722d61da60ad54e2bd44426226e346e991ca0fec8bf9f87b495b14de9a795f9c0cd74b95f5a3dee8835348f5cdfd0d3b120d646d3eac3146b6
|
7
|
+
data.tar.gz: a51db515b0956a75bcfd734b9030c1d2f9259dd2eefafa008070c5f04001ca74e82050adf9d63d9730b31a145d671f4b9ee968ade16f7445e3e6440adb1b5a52
|
data/.gitignore
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
# rcov generated
|
2
|
+
coverage
|
3
|
+
|
4
|
+
# rdoc generated
|
5
|
+
rdoc
|
6
|
+
|
7
|
+
# yard generated
|
8
|
+
doc
|
9
|
+
.yardoc
|
10
|
+
|
11
|
+
# bundler
|
12
|
+
.bundle
|
13
|
+
|
14
|
+
# jeweler generated
|
15
|
+
pkg
|
16
|
+
|
17
|
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
18
|
+
#
|
19
|
+
# * Create a file at ~/.gitignore
|
20
|
+
# * Include files you want ignored
|
21
|
+
# * Run: git config --global core.excludesfile ~/.gitignore
|
22
|
+
#
|
23
|
+
# After doing this, these files will be ignored in all your git projects,
|
24
|
+
# saving you from having to 'pollute' every project you touch with them
|
25
|
+
#
|
26
|
+
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
|
27
|
+
#
|
28
|
+
# For MacOS:
|
29
|
+
#
|
30
|
+
#.DS_Store
|
31
|
+
|
32
|
+
# For TextMate
|
33
|
+
#*.tmproj
|
34
|
+
#tmtags
|
35
|
+
|
36
|
+
# For emacs:
|
37
|
+
*~
|
38
|
+
\#*
|
39
|
+
.\#*
|
40
|
+
|
41
|
+
# For vim:
|
42
|
+
*.swp
|
43
|
+
|
44
|
+
# For redcar:
|
45
|
+
#.redcar
|
46
|
+
|
47
|
+
# For rubinius:
|
48
|
+
#*.rbc
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -3,7 +3,7 @@ source "http://rubygems.org"
|
|
3
3
|
# Example:
|
4
4
|
# gem "activesupport", ">= 2.3.5"
|
5
5
|
gem "sinatra"
|
6
|
-
gem "padrino-core", "~> 0.
|
6
|
+
gem "padrino-core", "~> 0.12.0"
|
7
7
|
gem "rspec", ">= 2.0"
|
8
8
|
gem "rack-test", ">= 0"
|
9
9
|
|
@@ -14,7 +14,7 @@ end
|
|
14
14
|
# Add dependencies to develop your gem here.
|
15
15
|
# Include everything needed to run rake, tests, features, etc.
|
16
16
|
group :development do
|
17
|
-
gem "padrino-helpers", "~> 0.
|
17
|
+
gem "padrino-helpers", "~> 0.12.0"
|
18
18
|
gem 'rdoc'
|
19
19
|
gem "bundler"
|
20
20
|
gem "jeweler", "~> 1.6.4"
|
data/Gemfile.lock
CHANGED
@@ -1,64 +1,74 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activesupport (
|
5
|
-
i18n (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
4
|
+
activesupport (4.0.4)
|
5
|
+
i18n (~> 0.6, >= 0.6.9)
|
6
|
+
minitest (~> 4.2)
|
7
|
+
multi_json (~> 1.3)
|
8
|
+
thread_safe (~> 0.1)
|
9
|
+
tzinfo (~> 0.3.37)
|
10
|
+
atomic (1.1.16)
|
11
|
+
coderay (1.1.0)
|
12
|
+
diff-lcs (1.2.5)
|
13
|
+
docile (1.1.3)
|
14
|
+
git (1.2.6)
|
15
|
+
http_router (0.11.1)
|
11
16
|
rack (>= 1.0.0)
|
12
17
|
url_mount (~> 0.2.1)
|
13
|
-
i18n (0.6.
|
18
|
+
i18n (0.6.9)
|
14
19
|
jeweler (1.6.4)
|
15
20
|
bundler (~> 1.0)
|
16
21
|
git (>= 1.2.5)
|
17
22
|
rake
|
18
|
-
json (1.8.
|
19
|
-
method_source (0.8.
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
+
json (1.8.1)
|
24
|
+
method_source (0.8.2)
|
25
|
+
minitest (4.7.5)
|
26
|
+
multi_json (1.9.2)
|
27
|
+
padrino-core (0.12.0)
|
28
|
+
activesupport (>= 3.1)
|
23
29
|
http_router (~> 0.11.0)
|
24
30
|
rack-protection (>= 1.5.0)
|
25
31
|
sinatra (~> 1.4.2)
|
26
32
|
thor (~> 0.17.0)
|
27
|
-
tilt (~> 1.
|
28
|
-
padrino-helpers (0.
|
29
|
-
i18n (~> 0.6)
|
30
|
-
padrino-core (= 0.
|
31
|
-
pry (0.9.12.
|
32
|
-
coderay (~> 1.0
|
33
|
+
tilt (~> 1.4.1)
|
34
|
+
padrino-helpers (0.12.0)
|
35
|
+
i18n (~> 0.6, >= 0.6.7)
|
36
|
+
padrino-core (= 0.12.0)
|
37
|
+
pry (0.9.12.6)
|
38
|
+
coderay (~> 1.0)
|
33
39
|
method_source (~> 0.8)
|
34
40
|
slop (~> 3.4)
|
35
41
|
rack (1.5.2)
|
36
|
-
rack-protection (1.5.
|
42
|
+
rack-protection (1.5.2)
|
37
43
|
rack
|
38
44
|
rack-test (0.6.2)
|
39
45
|
rack (>= 1.0)
|
40
|
-
rake (10.
|
41
|
-
rdoc (4.
|
46
|
+
rake (10.2.2)
|
47
|
+
rdoc (4.1.1)
|
42
48
|
json (~> 1.4)
|
43
|
-
rspec (2.
|
44
|
-
rspec-core (~> 2.
|
45
|
-
rspec-expectations (~> 2.
|
46
|
-
rspec-mocks (~> 2.
|
47
|
-
rspec-core (2.
|
48
|
-
rspec-expectations (2.
|
49
|
+
rspec (2.14.1)
|
50
|
+
rspec-core (~> 2.14.0)
|
51
|
+
rspec-expectations (~> 2.14.0)
|
52
|
+
rspec-mocks (~> 2.14.0)
|
53
|
+
rspec-core (2.14.8)
|
54
|
+
rspec-expectations (2.14.5)
|
49
55
|
diff-lcs (>= 1.1.3, < 2.0)
|
50
|
-
rspec-mocks (2.
|
51
|
-
simplecov (0.
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
56
|
+
rspec-mocks (2.14.6)
|
57
|
+
simplecov (0.8.2)
|
58
|
+
docile (~> 1.1.0)
|
59
|
+
multi_json
|
60
|
+
simplecov-html (~> 0.8.0)
|
61
|
+
simplecov-html (0.8.0)
|
62
|
+
sinatra (1.4.4)
|
63
|
+
rack (~> 1.4)
|
57
64
|
rack-protection (~> 1.4)
|
58
65
|
tilt (~> 1.3, >= 1.3.4)
|
59
|
-
slop (3.
|
66
|
+
slop (3.5.0)
|
60
67
|
thor (0.17.0)
|
61
|
-
|
68
|
+
thread_safe (0.3.1)
|
69
|
+
atomic (>= 1.1.7, < 2)
|
70
|
+
tilt (1.4.1)
|
71
|
+
tzinfo (0.3.39)
|
62
72
|
url_mount (0.2.1)
|
63
73
|
rack
|
64
74
|
|
@@ -68,8 +78,8 @@ PLATFORMS
|
|
68
78
|
DEPENDENCIES
|
69
79
|
bundler
|
70
80
|
jeweler (~> 1.6.4)
|
71
|
-
padrino-core (~> 0.
|
72
|
-
padrino-helpers (~> 0.
|
81
|
+
padrino-core (~> 0.12.0)
|
82
|
+
padrino-helpers (~> 0.12.0)
|
73
83
|
pry
|
74
84
|
rack-test
|
75
85
|
rdoc
|
data/Rakefile
CHANGED
@@ -1,29 +1,5 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
require 'bundler'
|
5
|
-
begin
|
6
|
-
Bundler.setup(:default, :development)
|
7
|
-
rescue Bundler::BundlerError => e
|
8
|
-
$stderr.puts e.message
|
9
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
-
exit e.status_code
|
11
|
-
end
|
12
|
-
require 'rake'
|
13
|
-
|
14
|
-
require 'jeweler'
|
15
|
-
Jeweler::Tasks.new do |gem|
|
16
|
-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
|
-
gem.name = "rspec-padrino"
|
18
|
-
gem.homepage = "http://github.com/udzura/rspec-padrino"
|
19
|
-
gem.license = "MIT"
|
20
|
-
gem.summary = %Q{rspec-padrino is a gem including helpers for testing a Padrino app.}
|
21
|
-
gem.description = %Q{rspec-padrino is a gem including helpers for testing a Padrino app using RSpec. Taking much from rspec-rails.}
|
22
|
-
gem.email = "udzura@udzura.jp"
|
23
|
-
gem.authors = ["Uchio Kondo"]
|
24
|
-
# dependencies defined in Gemfile
|
25
|
-
end
|
26
|
-
Jeweler::RubygemsDotOrgTasks.new
|
1
|
+
# coding: utf-8
|
2
|
+
require "bundler/gem_tasks"
|
27
3
|
|
28
4
|
require 'rspec/core'
|
29
5
|
require 'rspec/core/rake_task'
|
@@ -25,18 +25,18 @@ module RSpec::Padrino::Matchers
|
|
25
25
|
end
|
26
26
|
last_route, last_params = *last_application.get_requested_routes_and_params
|
27
27
|
last_name = last_route ? last_route.name : nil
|
28
|
-
last_name == expected_names.join("
|
28
|
+
last_name == expected_names.join(" ").to_sym &&
|
29
29
|
last_params.symbolize_keys == expected_params.symbolize_keys
|
30
30
|
end
|
31
31
|
|
32
32
|
failure_message_for_should do |actual|
|
33
|
-
last_names = last_name.to_s.split("
|
33
|
+
last_names = last_name.to_s.split(" ", 2).map(&:to_sym)
|
34
34
|
last_names << last_params.symbolize_keys rescue nil
|
35
35
|
"expected #{actual.inspect} to route to #{expected_routes.inspect}, got #{last_names.inspect}"
|
36
36
|
end
|
37
37
|
|
38
38
|
failure_message_for_should_not do |actual|
|
39
|
-
last_names = last_name.to_s.split("
|
39
|
+
last_names = last_name.to_s.split(" ", 2).map(&:to_sym)
|
40
40
|
last_names << last_params.symbolize_keys rescue nil
|
41
41
|
"expected #{actual.inspect} not to route to #{expected.inspect}, got #{last_names.inspect}"
|
42
42
|
end
|
data/rspec-padrino.gemspec
CHANGED
@@ -1,93 +1,33 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'rspec/padrino/version'
|
5
5
|
|
6
|
-
Gem::Specification.new do |
|
7
|
-
|
8
|
-
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "rspec-padrino"
|
8
|
+
spec.version = RSpec::Padrino::VERSION
|
9
|
+
spec.authors = ["Uchio KONDO"]
|
10
|
+
spec.email = ["udzura@udzura.jp"]
|
11
|
+
spec.description = "rspec-padrino is a gem including helpers for testing a Padrino app using RSpec. Taking much from rspec-rails."
|
12
|
+
spec.summary = "rspec-padrino is a gem including helpers for testing a Padrino app using RSpec. Taking much from rspec-rails."
|
13
|
+
spec.homepage = "http://github.com/udzura/rspec-padrino"
|
14
|
+
spec.license = "MIT"
|
9
15
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
s.email = "udzura@udzura.jp"
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"LICENSE.txt",
|
17
|
-
"README.rdoc"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
".document",
|
21
|
-
".rspec",
|
22
|
-
".travis.yml",
|
23
|
-
"CHANGELOG.md",
|
24
|
-
"Gemfile",
|
25
|
-
"Gemfile.lock",
|
26
|
-
"LICENSE.txt",
|
27
|
-
"README.rdoc",
|
28
|
-
"Rakefile",
|
29
|
-
"VERSION",
|
30
|
-
"lib/rspec-padrino.rb",
|
31
|
-
"lib/rspec/padrino.rb",
|
32
|
-
"lib/rspec/padrino/initializers/last_application.rb",
|
33
|
-
"lib/rspec/padrino/matchers.rb",
|
34
|
-
"lib/rspec/padrino/matchers/routing_matchers.rb",
|
35
|
-
"lib/rspec/padrino/methods.rb",
|
36
|
-
"rspec-padrino.gemspec",
|
37
|
-
"spec/integrations/last_application_spec.rb",
|
38
|
-
"spec/integrations/matchers_spec.rb",
|
39
|
-
"spec/integrations/mock_app_helper.rb",
|
40
|
-
"spec/rspec-padrino_spec.rb",
|
41
|
-
"spec/rspec/padrino/methods_spec.rb",
|
42
|
-
"spec/spec.opts",
|
43
|
-
"spec/spec_helper.rb"
|
44
|
-
]
|
45
|
-
s.homepage = "http://github.com/udzura/rspec-padrino"
|
46
|
-
s.licenses = ["MIT"]
|
47
|
-
s.require_paths = ["lib"]
|
48
|
-
s.rubygems_version = "1.8.23"
|
49
|
-
s.summary = "rspec-padrino is a gem including helpers for testing a Padrino app."
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
50
20
|
|
51
|
-
|
52
|
-
|
21
|
+
spec.add_runtime_dependency "sinatra", ">= 0"
|
22
|
+
spec.add_runtime_dependency "padrino-core", "~> 0.12.0"
|
23
|
+
spec.add_runtime_dependency "rspec", ">= 2.0"
|
24
|
+
spec.add_runtime_dependency "rack-test", ">= 0"
|
53
25
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
s.add_runtime_dependency(%q<pry>, [">= 0"])
|
60
|
-
s.add_development_dependency(%q<padrino-helpers>, ["~> 0.11.0"])
|
61
|
-
s.add_development_dependency(%q<rdoc>, [">= 0"])
|
62
|
-
s.add_development_dependency(%q<bundler>, [">= 0"])
|
63
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
64
|
-
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
65
|
-
s.add_development_dependency(%q<pry>, [">= 0"])
|
66
|
-
else
|
67
|
-
s.add_dependency(%q<sinatra>, [">= 0"])
|
68
|
-
s.add_dependency(%q<padrino-core>, ["~> 0.11.0"])
|
69
|
-
s.add_dependency(%q<rspec>, [">= 2.0"])
|
70
|
-
s.add_dependency(%q<rack-test>, [">= 0"])
|
71
|
-
s.add_dependency(%q<pry>, [">= 0"])
|
72
|
-
s.add_dependency(%q<padrino-helpers>, ["~> 0.11.0"])
|
73
|
-
s.add_dependency(%q<rdoc>, [">= 0"])
|
74
|
-
s.add_dependency(%q<bundler>, [">= 0"])
|
75
|
-
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
76
|
-
s.add_dependency(%q<simplecov>, [">= 0"])
|
77
|
-
s.add_dependency(%q<pry>, [">= 0"])
|
78
|
-
end
|
79
|
-
else
|
80
|
-
s.add_dependency(%q<sinatra>, [">= 0"])
|
81
|
-
s.add_dependency(%q<padrino-core>, ["~> 0.11.0"])
|
82
|
-
s.add_dependency(%q<rspec>, [">= 2.0"])
|
83
|
-
s.add_dependency(%q<rack-test>, [">= 0"])
|
84
|
-
s.add_dependency(%q<pry>, [">= 0"])
|
85
|
-
s.add_dependency(%q<padrino-helpers>, ["~> 0.11.0"])
|
86
|
-
s.add_dependency(%q<rdoc>, [">= 0"])
|
87
|
-
s.add_dependency(%q<bundler>, [">= 0"])
|
88
|
-
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
89
|
-
s.add_dependency(%q<simplecov>, [">= 0"])
|
90
|
-
s.add_dependency(%q<pry>, [">= 0"])
|
91
|
-
end
|
92
|
-
end
|
26
|
+
spec.add_development_dependency "padrino-helpers", "~> 0.12.0"
|
27
|
+
spec.add_development_dependency "rdoc", ">= 0"
|
28
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
29
|
+
spec.add_development_dependency "simplecov", ">= 0"
|
30
|
+
spec.add_development_dependency "pry", ">= 0"
|
93
31
|
|
32
|
+
spec.add_development_dependency "rake"
|
33
|
+
end
|
metadata
CHANGED
@@ -1,202 +1,165 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-padrino
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
|
-
- Uchio
|
7
|
+
- Uchio KONDO
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-04-03 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: sinatra
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: padrino-core
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: 0.
|
33
|
+
version: 0.12.0
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
40
|
+
version: 0.12.0
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '2.0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '2.0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rack-test
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: pry
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ! '>='
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '0'
|
86
|
-
type: :runtime
|
87
|
-
prerelease: false
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ! '>='
|
66
|
+
- - '>='
|
92
67
|
- !ruby/object:Gem::Version
|
93
68
|
version: '0'
|
94
69
|
- !ruby/object:Gem::Dependency
|
95
70
|
name: padrino-helpers
|
96
71
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
72
|
requirements:
|
99
73
|
- - ~>
|
100
74
|
- !ruby/object:Gem::Version
|
101
|
-
version: 0.
|
75
|
+
version: 0.12.0
|
102
76
|
type: :development
|
103
77
|
prerelease: false
|
104
78
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
79
|
requirements:
|
107
80
|
- - ~>
|
108
81
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0.
|
82
|
+
version: 0.12.0
|
110
83
|
- !ruby/object:Gem::Dependency
|
111
84
|
name: rdoc
|
112
85
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
86
|
requirements:
|
115
|
-
- -
|
87
|
+
- - '>='
|
116
88
|
- !ruby/object:Gem::Version
|
117
89
|
version: '0'
|
118
90
|
type: :development
|
119
91
|
prerelease: false
|
120
92
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
93
|
requirements:
|
123
|
-
- -
|
94
|
+
- - '>='
|
124
95
|
- !ruby/object:Gem::Version
|
125
96
|
version: '0'
|
126
97
|
- !ruby/object:Gem::Dependency
|
127
98
|
name: bundler
|
128
99
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
100
|
requirements:
|
131
|
-
- -
|
101
|
+
- - ~>
|
132
102
|
- !ruby/object:Gem::Version
|
133
|
-
version: '
|
103
|
+
version: '1.3'
|
134
104
|
type: :development
|
135
105
|
prerelease: false
|
136
106
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
107
|
requirements:
|
139
|
-
- -
|
108
|
+
- - ~>
|
140
109
|
- !ruby/object:Gem::Version
|
141
|
-
version: '
|
110
|
+
version: '1.3'
|
142
111
|
- !ruby/object:Gem::Dependency
|
143
|
-
name:
|
112
|
+
name: simplecov
|
144
113
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
114
|
requirements:
|
147
|
-
- -
|
115
|
+
- - '>='
|
148
116
|
- !ruby/object:Gem::Version
|
149
|
-
version:
|
117
|
+
version: '0'
|
150
118
|
type: :development
|
151
119
|
prerelease: false
|
152
120
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
121
|
requirements:
|
155
|
-
- -
|
122
|
+
- - '>='
|
156
123
|
- !ruby/object:Gem::Version
|
157
|
-
version:
|
124
|
+
version: '0'
|
158
125
|
- !ruby/object:Gem::Dependency
|
159
|
-
name:
|
126
|
+
name: pry
|
160
127
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
128
|
requirements:
|
163
|
-
- -
|
129
|
+
- - '>='
|
164
130
|
- !ruby/object:Gem::Version
|
165
131
|
version: '0'
|
166
132
|
type: :development
|
167
133
|
prerelease: false
|
168
134
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
135
|
requirements:
|
171
|
-
- -
|
136
|
+
- - '>='
|
172
137
|
- !ruby/object:Gem::Version
|
173
138
|
version: '0'
|
174
139
|
- !ruby/object:Gem::Dependency
|
175
|
-
name:
|
140
|
+
name: rake
|
176
141
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
142
|
requirements:
|
179
|
-
- -
|
143
|
+
- - '>='
|
180
144
|
- !ruby/object:Gem::Version
|
181
145
|
version: '0'
|
182
146
|
type: :development
|
183
147
|
prerelease: false
|
184
148
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
149
|
requirements:
|
187
|
-
- -
|
150
|
+
- - '>='
|
188
151
|
- !ruby/object:Gem::Version
|
189
152
|
version: '0'
|
190
153
|
description: rspec-padrino is a gem including helpers for testing a Padrino app using
|
191
154
|
RSpec. Taking much from rspec-rails.
|
192
|
-
email:
|
155
|
+
email:
|
156
|
+
- udzura@udzura.jp
|
193
157
|
executables: []
|
194
158
|
extensions: []
|
195
|
-
extra_rdoc_files:
|
196
|
-
- LICENSE.txt
|
197
|
-
- README.rdoc
|
159
|
+
extra_rdoc_files: []
|
198
160
|
files:
|
199
161
|
- .document
|
162
|
+
- .gitignore
|
200
163
|
- .rspec
|
201
164
|
- .travis.yml
|
202
165
|
- CHANGELOG.md
|
@@ -212,6 +175,7 @@ files:
|
|
212
175
|
- lib/rspec/padrino/matchers.rb
|
213
176
|
- lib/rspec/padrino/matchers/routing_matchers.rb
|
214
177
|
- lib/rspec/padrino/methods.rb
|
178
|
+
- lib/rspec/padrino/version.rb
|
215
179
|
- rspec-padrino.gemspec
|
216
180
|
- spec/integrations/last_application_spec.rb
|
217
181
|
- spec/integrations/matchers_spec.rb
|
@@ -223,29 +187,33 @@ files:
|
|
223
187
|
homepage: http://github.com/udzura/rspec-padrino
|
224
188
|
licenses:
|
225
189
|
- MIT
|
190
|
+
metadata: {}
|
226
191
|
post_install_message:
|
227
192
|
rdoc_options: []
|
228
193
|
require_paths:
|
229
194
|
- lib
|
230
195
|
required_ruby_version: !ruby/object:Gem::Requirement
|
231
|
-
none: false
|
232
196
|
requirements:
|
233
|
-
- -
|
197
|
+
- - '>='
|
234
198
|
- !ruby/object:Gem::Version
|
235
199
|
version: '0'
|
236
|
-
segments:
|
237
|
-
- 0
|
238
|
-
hash: 2139666621066804611
|
239
200
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
|
-
none: false
|
241
201
|
requirements:
|
242
|
-
- -
|
202
|
+
- - '>='
|
243
203
|
- !ruby/object:Gem::Version
|
244
204
|
version: '0'
|
245
205
|
requirements: []
|
246
206
|
rubyforge_project:
|
247
|
-
rubygems_version:
|
207
|
+
rubygems_version: 2.0.14
|
248
208
|
signing_key:
|
249
|
-
specification_version:
|
250
|
-
summary: rspec-padrino is a gem including helpers for testing a Padrino app
|
251
|
-
|
209
|
+
specification_version: 4
|
210
|
+
summary: rspec-padrino is a gem including helpers for testing a Padrino app using
|
211
|
+
RSpec. Taking much from rspec-rails.
|
212
|
+
test_files:
|
213
|
+
- spec/integrations/last_application_spec.rb
|
214
|
+
- spec/integrations/matchers_spec.rb
|
215
|
+
- spec/integrations/mock_app_helper.rb
|
216
|
+
- spec/rspec-padrino_spec.rb
|
217
|
+
- spec/rspec/padrino/methods_spec.rb
|
218
|
+
- spec/spec.opts
|
219
|
+
- spec/spec_helper.rb
|