rspec-temp_dir 0.0.4 → 1.0.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
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5be2f7997dc53ad03df572dd36de2ec2c87a45e6
4
- data.tar.gz: 82ea09a97aa690ba543c3a4151708f8c0f7a01e3
3
+ metadata.gz: 35c477baeaf39f18b3c5a5bb9e719053425b6a98
4
+ data.tar.gz: 10d39374664715b15e5201710c8de0f7afc87e53
5
5
  SHA512:
6
- metadata.gz: e2eb75ffa8b50448869307da8bed4fb14908bd5e7efd030a4c10207a653f479e61e07855bcc57c3f012ffaacbfa24b69f50fd8f7bc413ee105f76838002a17c6
7
- data.tar.gz: e9a97c6a9b623dd686a193a70d7644f8e9f2016d7cf1ee13bd586e138e940bc4b54c9f25ae5b6f13188941254d3fbe666315f2bc3ef54b069729ac37ab70ecf6
6
+ metadata.gz: 3a9c6076d9479b98abe924a6a6c9de9a92ccdd09cddcd298e3c502baebad80bd76ef7d1898abe531fab490bd09eb0df28203546798251e34d76aec8c315968c3
7
+ data.tar.gz: 9aae4cc7e9f198f7bffecbba4b1ea9da6ae63bf550e769ac4908360c5af1c503dc0bbf907483e812889e7e873c1e293a6265c965c1b5848c0db60e771b1508e6
@@ -1,19 +1,18 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9
4
3
  - 2.0
5
4
  - 2.1
6
5
  - 2.2
6
+ - 2.3.2
7
7
  - ruby-head
8
- gemfile:
9
- - gemfiles/rspec2.gemfile
10
- - gemfiles/rspec3.gemfile
11
8
  cache: bundler
12
9
  bundler_args: "--jobs=2"
13
10
  before_script:
14
11
  - export CODECLIMATE_REPO_TOKEN=329887587f83c7ce5a1ab75f426c00830ba5ffac290c90bc486713c88baea900
15
12
  - export COVERAGE=true
16
- script: bundle exec rspec
13
+ script:
14
+ - bundle exec rspec
15
+ - bundle exec codeclimate-test-reporter
17
16
  branches:
18
17
  only:
19
18
  - master
@@ -24,3 +23,4 @@ notifications:
24
23
  matrix:
25
24
  allow_failures:
26
25
  - rvm: ruby-head
26
+ sudo: false
@@ -0,0 +1,32 @@
1
+ # Changelog
2
+ ## master
3
+ [full changelog](http://github.com/sue445/rspec-temp_dir/compare/v1.0.0...master)
4
+
5
+ ## v1.0.0
6
+ [full changelog](http://github.com/sue445/rspec-temp_dir/compare/v0.0.4...v1.0.0)
7
+
8
+ * Drop support ruby 1.9
9
+ * https://github.com/sue445/rspec-temp_dir/pull/10
10
+ * Drop support rspec 2.x
11
+ * https://github.com/sue445/rspec-temp_dir/pull/9
12
+
13
+ ## v0.0.4
14
+ [full changelog](http://github.com/sue445/rspec-temp_dir/compare/v0.0.3...v0.0.4)
15
+
16
+ * Fixed no method error for Pathname ruby 2.2.2
17
+ * https://github.com/sue445/rspec-temp_dir/pull/5
18
+
19
+ ## v0.0.3
20
+ [full changelog](http://github.com/sue445/rspec-temp_dir/compare/v0.0.2...v0.0.3)
21
+
22
+ * support `temp_dir_path`
23
+ * https://github.com/sue445/rspec-temp_dir/pull/2
24
+
25
+ ## v0.0.2
26
+ [full changelog](http://github.com/sue445/rspec-temp_dir/compare/v0.0.1...v0.0.2)
27
+
28
+ * bugfix: raise error when padrino and rspec3+
29
+ * https://github.com/sue445/rspec-temp_dir/pull/1
30
+
31
+ ## v0.0.1
32
+ * first release
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  create automatically temporary directory at each examples
4
4
 
5
- This is inspired by Junit [TemporaryFolder](http://junit.org/javadoc/4.9/org/junit/rules/TemporaryFolder.html)
5
+ This is inspired by Junit [TemporaryFolder](http://junit.org/apidocs/org/junit/rules/TemporaryFolder.html)
6
6
 
7
7
  [![Gem Version](https://badge.fury.io/rb/rspec-temp_dir.svg)](http://badge.fury.io/rb/rspec-temp_dir)
8
8
  [![Build Status](https://travis-ci.org/sue445/rspec-temp_dir.svg)](https://travis-ci.org/sue445/rspec-temp_dir)
@@ -11,8 +11,8 @@ This is inspired by Junit [TemporaryFolder](http://junit.org/javadoc/4.9/org/jun
11
11
  [![Dependency Status](https://gemnasium.com/sue445/rspec-temp_dir.svg)](https://gemnasium.com/sue445/rspec-temp_dir)
12
12
 
13
13
  ## Requirements
14
- * ruby 1.9.3, 2.x
15
- * rspec 2.x, 3.0.0+
14
+ * ruby 2.0+
15
+ * rspec 3.0.0+
16
16
 
17
17
  ## Installation
18
18
 
@@ -60,31 +60,6 @@ describe "uses temp dir" do
60
60
  end
61
61
  ```
62
62
 
63
- ## Changelog
64
- ### master
65
- [full changelog](http://github.com/sue445/rspec-temp_dir/compare/v0.0.4...master)
66
-
67
- ### v0.0.4
68
- [full changelog](http://github.com/sue445/rspec-temp_dir/compare/v0.0.3...v0.0.4)
69
-
70
- * Fixed no method error for Pathname ruby 2.2.2
71
- * https://github.com/sue445/rspec-temp_dir/pull/5
72
-
73
- ### v0.0.3
74
- [full changelog](http://github.com/sue445/rspec-temp_dir/compare/v0.0.2...v0.0.3)
75
-
76
- * support `temp_dir_path`
77
- * https://github.com/sue445/rspec-temp_dir/pull/2
78
-
79
- ### v0.0.2
80
- [full changelog](http://github.com/sue445/rspec-temp_dir/compare/v0.0.1...v0.0.2)
81
-
82
- * bugfix: raise error when padrino and rspec3+
83
- * https://github.com/sue445/rspec-temp_dir/pull/1
84
-
85
- ### v0.0.1
86
- * first release
87
-
88
63
  ## Contributing
89
64
 
90
65
  1. Fork it ( https://github.com/sue445/rspec-temp_dir/fork )
@@ -2,7 +2,7 @@ require "tmpdir"
2
2
  require "rspec"
3
3
  require "pathname"
4
4
 
5
- (RSpec.respond_to?(:shared_context) ? RSpec : Object).shared_context "uses temp dir" do
5
+ RSpec.shared_context "uses temp dir" do
6
6
  around do |example|
7
7
  Dir.mktmpdir("rspec-") do |dir|
8
8
  @temp_dir = dir
@@ -1,5 +1,5 @@
1
1
  module Rspec
2
2
  module TempDir
3
- VERSION = "0.0.4"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
@@ -18,11 +18,13 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "rspec"
21
+ spec.required_ruby_version = ">= 2.0.0"
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.6"
24
- spec.add_development_dependency "rake"
23
+ spec.add_dependency "rspec", ">= 3.0"
25
24
 
26
- spec.add_development_dependency "codeclimate-test-reporter"
25
+ spec.add_development_dependency "bundler"
26
+ spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0.0"
27
27
  spec.add_development_dependency "coveralls"
28
+ spec.add_development_dependency "rake"
29
+ spec.add_development_dependency "simplecov"
28
30
  end
@@ -16,11 +16,11 @@
16
16
  # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
17
 
18
18
  if ENV["COVERAGE"]
19
- require "codeclimate-test-reporter"
20
- CodeClimate::TestReporter.start
19
+ require "simplecov"
20
+ require "coveralls"
21
21
 
22
- require 'coveralls'
23
- Coveralls.wear!
22
+ SimpleCov.formatter = Coveralls::SimpleCov::Formatter
23
+ SimpleCov.start
24
24
  end
25
25
 
26
26
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-temp_dir
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-24 00:00:00.000000000 Z
11
+ date: 2016-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -16,30 +16,44 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '3.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: codeclimate-test-reporter
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: '1.6'
47
+ version: 1.0.0
34
48
  type: :development
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: '1.6'
54
+ version: 1.0.0
41
55
  - !ruby/object:Gem::Dependency
42
- name: rake
56
+ name: coveralls
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - ">="
@@ -53,7 +67,7 @@ dependencies:
53
67
  - !ruby/object:Gem::Version
54
68
  version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
- name: codeclimate-test-reporter
70
+ name: rake
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - ">="
@@ -67,7 +81,7 @@ dependencies:
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
- name: coveralls
84
+ name: simplecov
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - ">="
@@ -92,12 +106,11 @@ files:
92
106
  - ".rspec"
93
107
  - ".tachikoma.yml"
94
108
  - ".travis.yml"
109
+ - CHANGELOG.md
95
110
  - Gemfile
96
111
  - LICENSE.txt
97
112
  - README.md
98
113
  - Rakefile
99
- - gemfiles/rspec2.gemfile
100
- - gemfiles/rspec3.gemfile
101
114
  - lib/rspec/temp_dir.rb
102
115
  - lib/rspec/temp_dir/uses_temp_dir.rb
103
116
  - lib/rspec/temp_dir/version.rb
@@ -116,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
129
  requirements:
117
130
  - - ">="
118
131
  - !ruby/object:Gem::Version
119
- version: '0'
132
+ version: 2.0.0
120
133
  required_rubygems_version: !ruby/object:Gem::Requirement
121
134
  requirements:
122
135
  - - ">="
@@ -124,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
137
  version: '0'
125
138
  requirements: []
126
139
  rubyforge_project:
127
- rubygems_version: 2.4.5
140
+ rubygems_version: 2.5.1
128
141
  signing_key:
129
142
  specification_version: 4
130
143
  summary: create automatically temporary directory at each examples
@@ -1,5 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem 'rspec', "~> 2.14.1"
4
-
5
- gemspec path: '../'
@@ -1,5 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem 'rspec', "~> 3.0"
4
-
5
- gemspec path: '../'