pgbackups-archive 0.2.1 → 0.2.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: 66159d34051e8b3601dd2e6127efa3fabfc8fed8
4
- data.tar.gz: 4887b601937eac8dbb67cb6eef1f11bc32136498
3
+ metadata.gz: 774d65d6b5f6cca33840b124e025b4420bfb176b
4
+ data.tar.gz: 172dffa43d082e1642ffef17937283ef88a6336c
5
5
  SHA512:
6
- metadata.gz: 3606f30de997bf25e907b15d3acfc8dffeced918ce196cc049425faa26cea98f5fda77705039f2e32790ea1c38d7c423de14d0bf780f272d45860b1eef994c2a
7
- data.tar.gz: 553b6b98e34b0cacfad4f296b20756dec5504ec2264a4ec79642e25075864d323140aaaa24cb469c7deb678f735a7058a9905220e30c4422b74ffc9d2962e440
6
+ metadata.gz: 8e46f20796e4339a10b697383229938bbf9af0fd5e98f47ff55f79d334cd9db7e711e06319dd6ff168bc8077815126d4107090896c9e3b0d1184decd12126009
7
+ data.tar.gz: 43d3c389031cdfe4b4aa5dc0735948fa450f82db392a22984b97cdcc1e3a625161a64395decdd7e3cb78b8c3084c7fc1720b7f4c444fa6916da9974b9f14a223
@@ -0,0 +1,20 @@
1
+ Copyright 2014 Kenny Johnston
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -92,6 +92,8 @@ Many thanks go to the following who have contributed to making this gem even bet
92
92
  * [Karl Baum (@kbaum)](https://github.com/kbaum)
93
93
  * Custom setting for database to backup.
94
94
  * Streaming support to handle large backup files.
95
+ * [Conroy Whitney (@conroywhitney)](https://github.com/conroywhitney)
96
+ * Use S3 server-side encryption by default
95
97
 
96
98
  ## License
97
99
 
data/Rakefile CHANGED
@@ -3,3 +3,14 @@
3
3
  require "bundler/gem_tasks"
4
4
 
5
5
  load "tasks/pgbackups_archive.rake"
6
+
7
+ require "rake/testtask"
8
+
9
+ Rake::TestTask.new(:test) do |t|
10
+ t.libs << "lib"
11
+ t.libs << "test"
12
+ t.pattern = "test/**/*_test.rb"
13
+ t.verbose = false
14
+ end
15
+
16
+ task default: :test
@@ -23,7 +23,7 @@ class PgbackupsArchive::Storage
23
23
  end
24
24
 
25
25
  def store
26
- bucket.files.create :key => @key, :body => @file, :public => false
26
+ bucket.files.create :key => @key, :body => @file, :public => false, :encryption => "AES256"
27
27
  end
28
28
 
29
29
  end
@@ -1,3 +1,3 @@
1
1
  module PgbackupsArchive
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -1,4 +1,4 @@
1
- require "minitest_helper"
1
+ require "test_helper"
2
2
  require "heroku/client"
3
3
 
4
4
  describe Heroku::Client::PgbackupsArchive do
@@ -90,10 +90,9 @@ describe Heroku::Client::PgbackupsArchive do
90
90
  before do
91
91
  backup.instance_eval do
92
92
  @pgbackup = {
93
- "public_url" => "https://raw.github.com/kjohnston/pgbackups-archive/master/pgbackups-archive.gemspec"
93
+ "public_url" => "https://raw.githubusercontent.com/kjohnston/pgbackups-archive/master/pgbackups-archive.gemspec"
94
94
  }
95
95
  end
96
-
97
96
  backup.download
98
97
  end
99
98
 
@@ -130,28 +129,6 @@ describe Heroku::Client::PgbackupsArchive do
130
129
  end
131
130
  end
132
131
 
133
- describe "#environment" do
134
- describe "when Rails is not present" do
135
- it "should default to nil" do
136
- backup.send(:environment).must_equal nil
137
- end
138
- end
139
-
140
- describe "when Rails is present" do
141
- before do
142
- class Rails
143
- def self.env
144
- "test"
145
- end
146
- end
147
- end
148
-
149
- it "should use Rails.env" do
150
- backup.send(:environment).must_equal "test"
151
- end
152
- end
153
- end
154
-
155
132
  describe "#file" do
156
133
  let(:temp_file) { "temp-file" }
157
134
 
@@ -173,7 +150,9 @@ describe Heroku::Client::PgbackupsArchive do
173
150
  end
174
151
 
175
152
  it "should be composed properly" do
176
- backup.send(:key).must_equal "pgbackups/test/timestamp.dump"
153
+ path = ["pgbackups", backup.send(:environment), "timestamp.dump"]
154
+ .compact.join("/")
155
+ backup.send(:key).must_equal path
177
156
  end
178
157
  end
179
158
 
@@ -1,4 +1,4 @@
1
- require "minitest_helper"
1
+ require "test_helper"
2
2
 
3
3
  describe PgbackupsArchive::Storage do
4
4
  let(:connection) {
@@ -0,0 +1,17 @@
1
+ Dir[File.dirname(__FILE__) + "/../lib/**/*.rb"].each { |f| require f }
2
+
3
+ IS_RAKE_TASK = (!! ($0 =~ /rake/))
4
+
5
+ if IS_RAKE_TASK
6
+ require "simplecov"
7
+ SimpleCov.start "rails" do
8
+ add_filter "db"
9
+ add_filter "test"
10
+ add_filter "config"
11
+ end
12
+ end
13
+
14
+ require "minitest/autorun"
15
+ require "minitest/pride"
16
+
17
+ Dir[File.join("./test/support/**/*.rb")].sort.each { |f| require f }
metadata CHANGED
@@ -1,71 +1,175 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgbackups-archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenny Johnston
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-06 00:00:00.000000000 Z
11
+ date: 2014-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.2'
20
+ - - ">="
18
21
  - !ruby/object:Gem::Version
19
22
  version: 1.2.3
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - '>='
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.2'
30
+ - - ">="
25
31
  - !ruby/object:Gem::Version
26
32
  version: 1.2.3
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: fog
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - '>='
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.4'
40
+ - - ">="
32
41
  - !ruby/object:Gem::Version
33
42
  version: 1.4.0
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
- - - '>='
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '1.4'
50
+ - - ">="
39
51
  - !ruby/object:Gem::Version
40
52
  version: 1.4.0
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: heroku
43
55
  requirement: !ruby/object:Gem::Requirement
44
56
  requirements:
45
- - - '>='
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '2.34'
60
+ - - ">="
46
61
  - !ruby/object:Gem::Version
47
62
  version: 2.34.0
48
63
  type: :runtime
49
64
  prerelease: false
50
65
  version_requirements: !ruby/object:Gem::Requirement
51
66
  requirements:
52
- - - '>='
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '2.34'
70
+ - - ">="
53
71
  - !ruby/object:Gem::Version
54
72
  version: 2.34.0
55
73
  - !ruby/object:Gem::Dependency
56
74
  name: rake
57
75
  requirement: !ruby/object:Gem::Requirement
58
76
  requirements:
59
- - - '>='
77
+ - - "~>"
78
+ - !ruby/object:Gem::Version
79
+ version: 0.9.2
80
+ - - ">="
60
81
  - !ruby/object:Gem::Version
61
82
  version: 0.9.2.2
62
83
  type: :runtime
63
84
  prerelease: false
64
85
  version_requirements: !ruby/object:Gem::Requirement
65
86
  requirements:
66
- - - '>='
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.9.2
90
+ - - ">="
67
91
  - !ruby/object:Gem::Version
68
92
  version: 0.9.2.2
93
+ - !ruby/object:Gem::Dependency
94
+ name: guard-minitest
95
+ requirement: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '2.3'
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 2.3.2
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '2.3'
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: 2.3.2
113
+ - !ruby/object:Gem::Dependency
114
+ name: minitest-rails
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - "~>"
118
+ - !ruby/object:Gem::Version
119
+ version: '2.1'
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: 2.1.0
123
+ type: :development
124
+ prerelease: false
125
+ version_requirements: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '2.1'
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: 2.1.0
133
+ - !ruby/object:Gem::Dependency
134
+ name: mocha
135
+ requirement: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '1.1'
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: 1.1.0
143
+ type: :development
144
+ prerelease: false
145
+ version_requirements: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: '1.1'
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: 1.1.0
153
+ - !ruby/object:Gem::Dependency
154
+ name: simplecov
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '0.9'
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: 0.9.1
163
+ type: :development
164
+ prerelease: false
165
+ version_requirements: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - "~>"
168
+ - !ruby/object:Gem::Version
169
+ version: '0.9'
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: 0.9.1
69
173
  description: A means of automating Heroku's pgbackups and archiving them to Amazon
70
174
  S3 via the fog gem.
71
175
  email:
@@ -74,13 +178,7 @@ executables: []
74
178
  extensions: []
75
179
  extra_rdoc_files: []
76
180
  files:
77
- - .gitignore
78
- - .ruby-gemset
79
- - .ruby-version
80
- - .travis.yml
81
- - Gemfile
82
- - Gemfile.lock
83
- - Guardfile
181
+ - MIT-LICENSE
84
182
  - README.md
85
183
  - Rakefile
86
184
  - lib/pgbackups-archive.rb
@@ -90,16 +188,15 @@ files:
90
188
  - lib/pgbackups-archive/version.rb
91
189
  - lib/tasks/pgbackups_archive.rake
92
190
  - lib/tasks/test.rake
93
- - pgbackups-archive.gemspec
94
191
  - test/ci/before_script.sh
95
192
  - test/ci/ci_runner.sh
96
193
  - test/lib/pgbackups-archive/heroku/client/pgbackups_archive_test.rb
97
194
  - test/lib/pgbackups-archive/storage_test.rb
98
- - test/minitest_helper.rb
99
- - test/support/minitest_reporters.rb
100
195
  - test/support/mocha.rb
196
+ - test/test_helper.rb
101
197
  homepage: http://github.com/kjohnston/pgbackups-archive
102
- licenses: []
198
+ licenses:
199
+ - MIT
103
200
  metadata: {}
104
201
  post_install_message:
105
202
  rdoc_options: []
@@ -107,26 +204,24 @@ require_paths:
107
204
  - lib
108
205
  required_ruby_version: !ruby/object:Gem::Requirement
109
206
  requirements:
110
- - - '>='
207
+ - - ">="
111
208
  - !ruby/object:Gem::Version
112
209
  version: '0'
113
210
  required_rubygems_version: !ruby/object:Gem::Requirement
114
211
  requirements:
115
- - - '>='
212
+ - - ">="
116
213
  - !ruby/object:Gem::Version
117
214
  version: '0'
118
215
  requirements: []
119
216
  rubyforge_project:
120
- rubygems_version: 2.1.11
217
+ rubygems_version: 2.2.2
121
218
  signing_key:
122
219
  specification_version: 4
123
- summary: A means of automating Heroku's pgbackups and archiving them to Amazon S3
124
- via the fog gem.
220
+ summary: Automates archival of Heroku's pgbackups to S3
125
221
  test_files:
126
222
  - test/ci/before_script.sh
127
223
  - test/ci/ci_runner.sh
128
224
  - test/lib/pgbackups-archive/heroku/client/pgbackups_archive_test.rb
129
225
  - test/lib/pgbackups-archive/storage_test.rb
130
- - test/minitest_helper.rb
131
- - test/support/minitest_reporters.rb
132
226
  - test/support/mocha.rb
227
+ - test/test_helper.rb
data/.gitignore DELETED
@@ -1,3 +0,0 @@
1
- .DS_Store
2
- *.gem
3
- coverage
@@ -1 +0,0 @@
1
- pgbackups-archive
@@ -1 +0,0 @@
1
- ruby-1.9.3
@@ -1,12 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 1.9.2
4
- - 1.9.3
5
- - jruby-19mode
6
- - rbx-19mode
7
- env:
8
- - CI=true RAILS_ENV=test JRUBY_OPTS=--1.9 RBXOPT=-X19
9
- before_script: "./test/ci/before_script.sh"
10
- script: "./test/ci/ci_runner.sh"
11
- notifications:
12
- flowdock: 1ec5c0efa5a264c67c6ba3b2e6574a70
data/Gemfile DELETED
@@ -1,8 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec
4
-
5
- group :test do
6
- gem "thincloud-test", github: "newleaders/thincloud-test", branch: "rails4"
7
- gem "minitest-reporters", "~> 1.0.0"
8
- end
@@ -1,125 +0,0 @@
1
- GIT
2
- remote: git://github.com/newleaders/thincloud-test.git
3
- revision: 98a0dc247ef25b85379514309f8ff1cf1be239ac
4
- branch: rails4
5
- specs:
6
- thincloud-test (2.0.0.alpha2)
7
- cane (~> 2.6.0)
8
- guard (~> 1.8.0)
9
- guard-minitest (~> 1.0.0.rc.2)
10
- minitest (>= 4.2)
11
- mocha (~> 0.14.0)
12
- simplecov (~> 0.8.0.pre)
13
- terminal-notifier-guard (~> 1.5.3)
14
- thor (~> 0.18.1)
15
-
16
- PATH
17
- remote: .
18
- specs:
19
- pgbackups-archive (0.2.1)
20
- bundler (>= 1.2.3)
21
- fog (>= 1.4.0)
22
- heroku (>= 2.34.0)
23
- rake (>= 0.9.2.2)
24
-
25
- GEM
26
- remote: https://rubygems.org/
27
- specs:
28
- addressable (2.3.5)
29
- ansi (1.4.3)
30
- builder (3.2.2)
31
- cane (2.6.1)
32
- parallel
33
- coderay (1.1.0)
34
- docile (1.1.1)
35
- excon (0.25.3)
36
- ffi (1.9.3)
37
- fog (1.15.0)
38
- builder
39
- excon (~> 0.25.0)
40
- formatador (~> 0.2.0)
41
- mime-types
42
- multi_json (~> 1.0)
43
- net-scp (~> 1.1)
44
- net-ssh (>= 2.1.3)
45
- nokogiri (~> 1.5)
46
- ruby-hmac
47
- formatador (0.2.4)
48
- guard (1.8.3)
49
- formatador (>= 0.2.4)
50
- listen (~> 1.3)
51
- lumberjack (>= 1.0.2)
52
- pry (>= 0.9.10)
53
- thor (>= 0.14.6)
54
- guard-minitest (1.0.1)
55
- guard (>= 1.8)
56
- minitest (>= 2.1)
57
- hashie (2.0.5)
58
- heroku (3.1.0)
59
- heroku-api (~> 0.3.7)
60
- launchy (>= 0.3.2)
61
- netrc (~> 0.7.7)
62
- rest-client (~> 1.6.1)
63
- rubyzip
64
- heroku-api (0.3.15)
65
- excon (~> 0.25.1)
66
- launchy (2.4.2)
67
- addressable (~> 2.3)
68
- listen (1.3.1)
69
- rb-fsevent (>= 0.9.3)
70
- rb-inotify (>= 0.9)
71
- rb-kqueue (>= 0.2)
72
- lumberjack (1.0.4)
73
- metaclass (0.0.1)
74
- method_source (0.8.2)
75
- mime-types (2.0)
76
- mini_portile (0.5.2)
77
- minitest (5.1.0)
78
- minitest-reporters (1.0.0)
79
- ansi
80
- builder
81
- minitest (>= 5.0)
82
- powerbar
83
- mocha (0.14.0)
84
- metaclass (~> 0.0.1)
85
- multi_json (1.8.2)
86
- net-scp (1.1.2)
87
- net-ssh (>= 2.6.5)
88
- net-ssh (2.7.0)
89
- netrc (0.7.7)
90
- nokogiri (1.6.0)
91
- mini_portile (~> 0.5.0)
92
- parallel (0.9.1)
93
- powerbar (1.0.11)
94
- ansi (~> 1.4.0)
95
- hashie (>= 1.1.0)
96
- pry (0.9.12.4)
97
- coderay (~> 1.0)
98
- method_source (~> 0.8)
99
- slop (~> 3.4)
100
- rake (10.1.0)
101
- rb-fsevent (0.9.3)
102
- rb-inotify (0.9.2)
103
- ffi (>= 0.5.0)
104
- rb-kqueue (0.2.0)
105
- ffi (>= 0.5.0)
106
- rest-client (1.6.7)
107
- mime-types (>= 1.16)
108
- ruby-hmac (0.4.0)
109
- rubyzip (1.1.0)
110
- simplecov (0.8.2)
111
- docile (~> 1.1.0)
112
- multi_json
113
- simplecov-html (~> 0.8.0)
114
- simplecov-html (0.8.0)
115
- slop (3.4.7)
116
- terminal-notifier-guard (1.5.3)
117
- thor (0.18.1)
118
-
119
- PLATFORMS
120
- ruby
121
-
122
- DEPENDENCIES
123
- minitest-reporters (~> 1.0.0)
124
- pgbackups-archive!
125
- thincloud-test!
data/Guardfile DELETED
@@ -1,17 +0,0 @@
1
- # A sample Guardfile
2
- # More info at https://github.com/guard/guard#readme
3
-
4
- guard "minitest" do
5
- # with Minitest::Spec
6
- watch(%r|^test/(.*)_test\.rb|)
7
- watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "test/#{m[1]}#{m[2]}_test.rb" }
8
- watch(%r|^test/minitest_helper\.rb|) { "test" }
9
- watch(%r|^test/support/|) { "test" }
10
-
11
- # Rails 3.2
12
- watch(%r|^app/controllers/(.*)\.rb|) { |m| "test/controllers/#{m[1]}_test.rb" }
13
- watch(%r|^app/mailers/(.*)\.rb|) { |m| "test/mailers/#{m[1]}_test.rb" }
14
- watch(%r|^app/helpers/(.*)\.rb|) { |m| "test/helpers/#{m[1]}_test.rb" }
15
- watch(%r|^app/models/(.*)\.rb|) { |m| "test/models/#{m[1]}_test.rb" }
16
- end
17
-
@@ -1,24 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "pgbackups-archive/version"
4
-
5
- Gem::Specification.new do |s|
6
- s.name = "pgbackups-archive"
7
- s.version = PgbackupsArchive::VERSION
8
- s.platform = Gem::Platform::RUBY
9
- s.authors = ["Kenny Johnston"]
10
- s.email = ["kjohnston.ca@gmail.com"]
11
- s.homepage = "http://github.com/kjohnston/pgbackups-archive"
12
- s.summary = %q{A means of automating Heroku's pgbackups and archiving them to Amazon S3 via the fog gem.}
13
- s.description = %q{A means of automating Heroku's pgbackups and archiving them to Amazon S3 via the fog gem.}
14
-
15
- s.add_dependency "bundler", ">= 1.2.3"
16
- s.add_dependency "fog", ">= 1.4.0"
17
- s.add_dependency "heroku", ">= 2.34.0"
18
- s.add_dependency "rake", ">= 0.9.2.2"
19
-
20
- s.files = `git ls-files`.split("\n")
21
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
22
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
23
- s.require_paths = ["lib"]
24
- end
@@ -1,22 +0,0 @@
1
- Dir[File.dirname(__FILE__) + "/../lib/**/*.rb"].each { |f| require f }
2
-
3
- if RUBY_ENGINE == "ruby"
4
- begin
5
- require "simplecov"
6
- SimpleCov.start do
7
- add_filter "test"
8
- add_filter "config"
9
- command_name "MiniTest"
10
- end
11
- rescue LoadError
12
- warn "unable to load SimpleCov"
13
- end
14
- end
15
-
16
- require "thincloud/test"
17
-
18
-
19
-
20
- # Requires supporting ruby files with custom matchers and macros, etc,
21
- # in spec/support/ and its subdirectories.
22
- Dir[File.join("./test/support/**/*.rb")].sort.each { |f| require f }
@@ -1,4 +0,0 @@
1
- unless ENV["CI"]
2
- require "minitest/reporters"
3
- MiniTest::Reporters.use! MiniTest::Reporters::ProgressReporter.new
4
- end