minitest-rails-capybara 2.1.1 → 2.1.2

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
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ff67a50266229316e88d9a93f5b0c7b9799907a
4
- data.tar.gz: fbede130e3020dec630db08554a6e76ec5867fd3
3
+ metadata.gz: 1049603d7867666946ed433c24da47c8d69aa047
4
+ data.tar.gz: 59ab135fd89cac280ec312f751ef219f22f0b1e0
5
5
  SHA512:
6
- metadata.gz: ac91960d848095dfc38e249d35ef53d1658ff63bd3f7f0450ab14de6977913a6bfb88c450acd2e51f1974a0fe09f31a15e5611e6b03293b3a306ae6d94c38111
7
- data.tar.gz: 45aafc6a5be395097fc3e6f64869f7ec6056ae1551e814edf81f7ce5b5c6c510c3060319652f2596181d48d7989cc342ea949f11a426ec2f0ac6e4bcab27303c
6
+ metadata.gz: 59b8c54312fc9ce91f2892bda8bbfdb56156498dd5a824f856c48b0bef2c40cf96510ec836574b07b92b1a3f3c3241726ff1f94fbe21fe9f61a851eeeccf5034
7
+ data.tar.gz: 91ac71a9a2fec3af5b910f274c2ec5e2af24ef018787733faf0a72a2ebf6f2838ef0c05b1d69bb13209cc7dd20e88d19490b3aaf7cf4cf922b1974a3a2fd8281
@@ -2,14 +2,15 @@
2
2
  before_install:
3
3
  - gem update --system
4
4
  - gem --version
5
+ - gem update bundler
5
6
  language: ruby
6
7
  notifications:
7
8
  email:
8
9
  - mike@blowmage.com
9
10
  rvm:
10
- - 2.1.1
11
- - 2.1.0
12
- - 2.0.0
11
+ - 2.1
12
+ - 2.0
13
13
  - 1.9.3
14
14
  env:
15
15
  - "RAILS_VERSION=4.1"
16
+ - "RAILS_VERSION=4.2"
@@ -1,3 +1,9 @@
1
+ === 2.1.2 / 2016-05-07
2
+
3
+ * Update dependencies (knightq, fbernier)
4
+ * Update bundler on TravisCI (RKushnir)
5
+ * Fix typo in generated test (switowski)
6
+
1
7
  === 2.1.1 / 2014-07-08
2
8
 
3
9
  * Fix bug with Capybara's DSL
@@ -80,4 +86,3 @@ https://github.com/blowmage/minitest-rails-capybara/compare/v0.0.1...v0.0.2
80
86
  * 1 major enhancement
81
87
 
82
88
  * Birthday!
83
-
data/Gemfile CHANGED
@@ -2,6 +2,6 @@ source "http://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- version = ENV["RAILS_VERSION"] || "4.1"
5
+ version = ENV["RAILS_VERSION"] || "4.2"
6
6
 
7
7
  eval_gemfile File.expand_path("../gemfiles/#{version}.gemfile", __FILE__)
@@ -8,6 +8,7 @@ Manifest.txt
8
8
  README.rdoc
9
9
  Rakefile
10
10
  gemfiles/4.1.gemfile
11
+ gemfiles/4.2.gemfile
11
12
  lib/generators/minitest/feature/feature_generator.rb
12
13
  lib/generators/minitest/feature/templates/feature_spec.rb
13
14
  lib/generators/minitest/feature/templates/feature_test.rb
data/Rakefile CHANGED
@@ -20,9 +20,9 @@ Hoe.spec "minitest-rails-capybara" do
20
20
  license "MIT"
21
21
 
22
22
  dependency "minitest-rails", "~> 2.1"
23
- dependency "capybara", "~> 2.0"
24
- dependency "minitest-capybara", "~> 0.7.0"
25
- dependency "minitest-metadata", "~> 0.5.0"
23
+ dependency "capybara", "~> 2.7"
24
+ dependency "minitest-capybara", "~> 0.8"
25
+ dependency "minitest-metadata", "~> 0.6"
26
26
  end
27
27
 
28
28
  Dir["tasks/**/*.rake"].each { |t| load t }
@@ -1,4 +1,5 @@
1
- source "http://rubygems.org"
2
-
3
- gem "rails", "~> 4.1.0"
4
- gem "rake"
1
+ source "http://rubygems.org" do
2
+ gem "rails", "~> 4.1.0"
3
+ gem "rake"
4
+ gem "mime-types", "< 3.0"
5
+ end
@@ -0,0 +1,5 @@
1
+ source "http://rubygems.org" do
2
+ gem "rails", "~> 4.2.0"
3
+ gem "rake"
4
+ gem "mime-types", "< 3.0"
5
+ end
@@ -4,6 +4,6 @@ feature "<%= class_name %>" do
4
4
  scenario "the test is sound" do
5
5
  visit root_path
6
6
  page.must_have_content "Hello World"
7
- page.wont_have_content "Goobye All!"
7
+ page.wont_have_content "Goodbye All!"
8
8
  end
9
9
  end
@@ -4,6 +4,6 @@ class <%= class_name %>Test < Capybara::Rails::TestCase
4
4
  test "sanity" do
5
5
  visit root_path
6
6
  assert_content page, "Hello World"
7
- refute_content page, "Goobye All!"
7
+ refute_content page, "Goodbye All!"
8
8
  end
9
9
  end
@@ -3,7 +3,7 @@ require "minitest-rails"
3
3
  module Minitest
4
4
  module Rails
5
5
  module Capybara
6
- VERSION = "2.1.1"
6
+ VERSION = "2.1.2"
7
7
  end
8
8
  end
9
9
  end
@@ -1,49 +1,48 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: minitest-rails-capybara 2.1.1.20140708223658 ruby lib
2
+ # stub: minitest-rails-capybara 2.1.2.20160507195331 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
- s.name = "minitest-rails-capybara"
6
- s.version = "2.1.1.20140708223658"
5
+ s.name = "minitest-rails-capybara".freeze
6
+ s.version = "2.1.2.20160507195331"
7
7
 
8
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
- s.require_paths = ["lib"]
10
- s.authors = ["Mike Moore"]
11
- s.date = "2014-07-09"
12
- s.description = "Adds Capybara feature tests in Minitest and Rails."
13
- s.email = ["mike@blowmage.com"]
14
- s.extra_rdoc_files = ["CHANGELOG.rdoc", "Manifest.txt", "README.rdoc"]
15
- s.files = [".autotest", ".gemtest", ".travis.yml", "CHANGELOG.rdoc", "Gemfile", "LICENSE", "Manifest.txt", "README.rdoc", "Rakefile", "gemfiles/4.1.gemfile", "lib/generators/minitest/feature/feature_generator.rb", "lib/generators/minitest/feature/templates/feature_spec.rb", "lib/generators/minitest/feature/templates/feature_test.rb", "lib/minitest-rails-capybara.rb", "lib/minitest/rails/capybara.rb", "minitest-rails-capybara.gemspec", "tasks/test.rake", "test/rails_helper.rb", "test/test_assertions_expectation.rb", "test/test_dsl.rb", "test/test_sanity.rb", "test/test_spec.rb", "test/test_spec_type.rb"]
16
- s.homepage = "http://blowmage.com/minitest-rails-capybara"
17
- s.licenses = ["MIT"]
18
- s.rdoc_options = ["--main", "README.rdoc"]
19
- s.rubygems_version = "2.2.2"
20
- s.summary = "Capybara integration for Minitest and Rails"
21
- s.test_files = ["test/test_assertions_expectation.rb", "test/test_dsl.rb", "test/test_sanity.rb", "test/test_spec.rb", "test/test_spec_type.rb"]
8
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
+ s.require_paths = ["lib".freeze]
10
+ s.authors = ["Mike Moore".freeze]
11
+ s.date = "2016-05-08"
12
+ s.description = "Adds Capybara feature tests in Minitest and Rails.".freeze
13
+ s.email = ["mike@blowmage.com".freeze]
14
+ s.extra_rdoc_files = ["CHANGELOG.rdoc".freeze, "Manifest.txt".freeze, "README.rdoc".freeze]
15
+ s.files = [".autotest".freeze, ".gemtest".freeze, ".travis.yml".freeze, "CHANGELOG.rdoc".freeze, "Gemfile".freeze, "LICENSE".freeze, "Manifest.txt".freeze, "README.rdoc".freeze, "Rakefile".freeze, "gemfiles/4.1.gemfile".freeze, "gemfiles/4.2.gemfile".freeze, "lib/generators/minitest/feature/feature_generator.rb".freeze, "lib/generators/minitest/feature/templates/feature_spec.rb".freeze, "lib/generators/minitest/feature/templates/feature_test.rb".freeze, "lib/minitest-rails-capybara.rb".freeze, "lib/minitest/rails/capybara.rb".freeze, "minitest-rails-capybara.gemspec".freeze, "tasks/test.rake".freeze, "test/rails_helper.rb".freeze, "test/test_assertions_expectation.rb".freeze, "test/test_dsl.rb".freeze, "test/test_sanity.rb".freeze, "test/test_spec.rb".freeze, "test/test_spec_type.rb".freeze]
16
+ s.homepage = "http://blowmage.com/minitest-rails-capybara".freeze
17
+ s.licenses = ["MIT".freeze]
18
+ s.rdoc_options = ["--main".freeze, "README.rdoc".freeze]
19
+ s.rubygems_version = "2.6.4".freeze
20
+ s.summary = "Capybara integration for Minitest and Rails".freeze
22
21
 
23
22
  if s.respond_to? :specification_version then
24
23
  s.specification_version = 4
25
24
 
26
25
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
27
- s.add_runtime_dependency(%q<minitest-rails>, ["~> 2.1"])
28
- s.add_runtime_dependency(%q<capybara>, ["~> 2.0"])
29
- s.add_runtime_dependency(%q<minitest-capybara>, ["~> 0.7.0"])
30
- s.add_runtime_dependency(%q<minitest-metadata>, ["~> 0.5.0"])
31
- s.add_development_dependency(%q<rdoc>, ["~> 4.0"])
32
- s.add_development_dependency(%q<hoe>, ["~> 3.12"])
26
+ s.add_runtime_dependency(%q<minitest-rails>.freeze, ["~> 2.1"])
27
+ s.add_runtime_dependency(%q<capybara>.freeze, ["~> 2.7"])
28
+ s.add_runtime_dependency(%q<minitest-capybara>.freeze, ["~> 0.8"])
29
+ s.add_runtime_dependency(%q<minitest-metadata>.freeze, ["~> 0.6"])
30
+ s.add_development_dependency(%q<rdoc>.freeze, ["~> 4.0"])
31
+ s.add_development_dependency(%q<hoe>.freeze, ["~> 3.15"])
33
32
  else
34
- s.add_dependency(%q<minitest-rails>, ["~> 2.1"])
35
- s.add_dependency(%q<capybara>, ["~> 2.0"])
36
- s.add_dependency(%q<minitest-capybara>, ["~> 0.7.0"])
37
- s.add_dependency(%q<minitest-metadata>, ["~> 0.5.0"])
38
- s.add_dependency(%q<rdoc>, ["~> 4.0"])
39
- s.add_dependency(%q<hoe>, ["~> 3.12"])
33
+ s.add_dependency(%q<minitest-rails>.freeze, ["~> 2.1"])
34
+ s.add_dependency(%q<capybara>.freeze, ["~> 2.7"])
35
+ s.add_dependency(%q<minitest-capybara>.freeze, ["~> 0.8"])
36
+ s.add_dependency(%q<minitest-metadata>.freeze, ["~> 0.6"])
37
+ s.add_dependency(%q<rdoc>.freeze, ["~> 4.0"])
38
+ s.add_dependency(%q<hoe>.freeze, ["~> 3.15"])
40
39
  end
41
40
  else
42
- s.add_dependency(%q<minitest-rails>, ["~> 2.1"])
43
- s.add_dependency(%q<capybara>, ["~> 2.0"])
44
- s.add_dependency(%q<minitest-capybara>, ["~> 0.7.0"])
45
- s.add_dependency(%q<minitest-metadata>, ["~> 0.5.0"])
46
- s.add_dependency(%q<rdoc>, ["~> 4.0"])
47
- s.add_dependency(%q<hoe>, ["~> 3.12"])
41
+ s.add_dependency(%q<minitest-rails>.freeze, ["~> 2.1"])
42
+ s.add_dependency(%q<capybara>.freeze, ["~> 2.7"])
43
+ s.add_dependency(%q<minitest-capybara>.freeze, ["~> 0.8"])
44
+ s.add_dependency(%q<minitest-metadata>.freeze, ["~> 0.6"])
45
+ s.add_dependency(%q<rdoc>.freeze, ["~> 4.0"])
46
+ s.add_dependency(%q<hoe>.freeze, ["~> 3.15"])
48
47
  end
49
48
  end
@@ -7,8 +7,17 @@ namespace :test do
7
7
  sh "rm -f Gemfile.lock"
8
8
  end
9
9
 
10
+ desc "Run tests for Rails 4.2"
11
+ task "4.2" do
12
+ sh "rm -f Gemfile.lock"
13
+ ENV["RAILS_VERSION"] = "4.2"
14
+ sh "bundle && bundle exec rake test"
15
+ sh "rm -f Gemfile.lock"
16
+ end
17
+
10
18
  desc "Run tests for all Rails versions"
11
19
  task "all" do
12
20
  sh "rake test:4.1"
21
+ sh "rake test:4.2"
13
22
  end
14
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-rails-capybara
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-09 00:00:00.000000000 Z
11
+ date: 2016-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest-rails
@@ -30,42 +30,42 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.0'
33
+ version: '2.7'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '2.0'
40
+ version: '2.7'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest-capybara
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.7.0
47
+ version: '0.8'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.7.0
54
+ version: '0.8'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest-metadata
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.5.0
61
+ version: '0.6'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.5.0
68
+ version: '0.6'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rdoc
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '3.12'
89
+ version: '3.15'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '3.12'
96
+ version: '3.15'
97
97
  description: Adds Capybara feature tests in Minitest and Rails.
98
98
  email:
99
99
  - mike@blowmage.com
@@ -114,6 +114,7 @@ files:
114
114
  - README.rdoc
115
115
  - Rakefile
116
116
  - gemfiles/4.1.gemfile
117
+ - gemfiles/4.2.gemfile
117
118
  - lib/generators/minitest/feature/feature_generator.rb
118
119
  - lib/generators/minitest/feature/templates/feature_spec.rb
119
120
  - lib/generators/minitest/feature/templates/feature_test.rb
@@ -149,13 +150,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
150
  version: '0'
150
151
  requirements: []
151
152
  rubyforge_project:
152
- rubygems_version: 2.2.2
153
+ rubygems_version: 2.6.4
153
154
  signing_key:
154
155
  specification_version: 4
155
156
  summary: Capybara integration for Minitest and Rails
156
- test_files:
157
- - test/test_assertions_expectation.rb
158
- - test/test_dsl.rb
159
- - test/test_sanity.rb
160
- - test/test_spec.rb
161
- - test/test_spec_type.rb
157
+ test_files: []