rspec-temp_dir 0.0.3 → 0.0.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d27fbdb45b2861ce8e64a2905bbea5dfd74b5bd2
4
- data.tar.gz: 89eae1fa8bb39a30c63f77f8593df5e7b8a500eb
3
+ metadata.gz: 5be2f7997dc53ad03df572dd36de2ec2c87a45e6
4
+ data.tar.gz: 82ea09a97aa690ba543c3a4151708f8c0f7a01e3
5
5
  SHA512:
6
- metadata.gz: 020b29befa987efeae9027e94ace463e4f499be858e0d75e2adba27e99f747caf173709357b9b3509071f0fabc5efe730aad3deaf629249b90feff59b27eb766
7
- data.tar.gz: 6b6bbd39fca2fb68443564075de964f8b2799ce4ed7836d2ead22fe075be3a2b5e80d838776bdec33d6d44bd134e5d6cf8973d8d8bb24ebf43967b784220482d
6
+ metadata.gz: e2eb75ffa8b50448869307da8bed4fb14908bd5e7efd030a4c10207a653f479e61e07855bcc57c3f012ffaacbfa24b69f50fd8f7bc413ee105f76838002a17c6
7
+ data.tar.gz: e9a97c6a9b623dd686a193a70d7644f8e9f2016d7cf1ee13bd586e138e940bc4b54c9f25ae5b6f13188941254d3fbe666315f2bc3ef54b069729ac37ab70ecf6
data/.tachikoma.yml ADDED
@@ -0,0 +1 @@
1
+ strategy: 'bundler'
data/.travis.yml CHANGED
@@ -1,15 +1,26 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
- - 2.0.0
5
- - 2.1.2
3
+ - 1.9
4
+ - 2.0
5
+ - 2.1
6
+ - 2.2
7
+ - ruby-head
6
8
  gemfile:
7
- - gemfiles/rspec2.gemfile
8
- - gemfiles/rspec3.gemfile
9
- bundler_args: --jobs=2
10
- script: CODECLIMATE_REPO_TOKEN=329887587f83c7ce5a1ab75f426c00830ba5ffac290c90bc486713c88baea900 bundle exec rspec
9
+ - gemfiles/rspec2.gemfile
10
+ - gemfiles/rspec3.gemfile
11
+ cache: bundler
12
+ bundler_args: "--jobs=2"
13
+ before_script:
14
+ - export CODECLIMATE_REPO_TOKEN=329887587f83c7ce5a1ab75f426c00830ba5ffac290c90bc486713c88baea900
15
+ - export COVERAGE=true
16
+ script: bundle exec rspec
11
17
  branches:
12
18
  only:
13
- - master
19
+ - master
14
20
  notifications:
15
21
  email: false
22
+ slack:
23
+ secure: FWlvqeogBihUPkAQh/2t9ajZXFEe6CXMxcHeH9uY/7GPPBX0e4gUf4RU0xt7Ep3eloa1dtYIGj4UCcE5wZGG6oDdXVTGCp+NDdfKcBCjHyncbynS475m8N4oGTyNJ7LiS7ksL1vjdixO+pJb+EZYHR+RI86M2aaaLRhQ8feOVCU=
24
+ matrix:
25
+ allow_failures:
26
+ - rvm: ruby-head
data/README.md CHANGED
@@ -12,7 +12,7 @@ This is inspired by Junit [TemporaryFolder](http://junit.org/javadoc/4.9/org/jun
12
12
 
13
13
  ## Requirements
14
14
  * ruby 1.9.3, 2.x
15
- * rspec 2.x, 3.0.0
15
+ * rspec 2.x, 3.0.0+
16
16
 
17
17
  ## Installation
18
18
 
@@ -62,13 +62,19 @@ end
62
62
 
63
63
  ## Changelog
64
64
  ### master
65
- [full changelog](http://github.com/sue445/rspec-temp_dir/compare/v0.0.3...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
66
72
 
67
73
  ### v0.0.3
68
74
  [full changelog](http://github.com/sue445/rspec-temp_dir/compare/v0.0.2...v0.0.3)
69
75
 
70
76
  * support `temp_dir_path`
71
- * https://github.com/sue445/rspec-temp_dir/pull/2g
77
+ * https://github.com/sue445/rspec-temp_dir/pull/2
72
78
 
73
79
  ### v0.0.2
74
80
  [full changelog](http://github.com/sue445/rspec-temp_dir/compare/v0.0.1...v0.0.2)
@@ -1,5 +1,6 @@
1
1
  require "tmpdir"
2
2
  require "rspec"
3
+ require "pathname"
3
4
 
4
5
  (RSpec.respond_to?(:shared_context) ? RSpec : Object).shared_context "uses temp dir" do
5
6
  around do |example|
@@ -1,5 +1,5 @@
1
1
  module Rspec
2
2
  module TempDir
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
data/spec/spec_helper.rb CHANGED
@@ -15,11 +15,13 @@
15
15
  #
16
16
  # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
17
 
18
- require "codeclimate-test-reporter"
19
- CodeClimate::TestReporter.start
18
+ if ENV["COVERAGE"]
19
+ require "codeclimate-test-reporter"
20
+ CodeClimate::TestReporter.start
20
21
 
21
- require 'coveralls'
22
- Coveralls.wear!
22
+ require 'coveralls'
23
+ Coveralls.wear!
24
+ end
23
25
 
24
26
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
25
27
  require 'rspec/temp_dir'
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.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-09 00:00:00.000000000 Z
11
+ date: 2015-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -90,6 +90,7 @@ files:
90
90
  - ".coveralls.yml"
91
91
  - ".gitignore"
92
92
  - ".rspec"
93
+ - ".tachikoma.yml"
93
94
  - ".travis.yml"
94
95
  - Gemfile
95
96
  - LICENSE.txt
@@ -123,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
124
  version: '0'
124
125
  requirements: []
125
126
  rubyforge_project:
126
- rubygems_version: 2.2.2
127
+ rubygems_version: 2.4.5
127
128
  signing_key:
128
129
  specification_version: 4
129
130
  summary: create automatically temporary directory at each examples