effective_test_bot 0.5.12 → 0.6.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab8b4bc5a742ef7831a9aaaf26577401d51f6af4
|
|
4
|
+
data.tar.gz: c0aaca5d20bde05f4862fb0bda72007da9f343ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f17f8acc4b6cb252ca7a616c8cc2aeb0360a5458de2b7232cb0989ab15a81ffae7aa43d28e3c3cc35ff7b3d02f30a53affaaf8e926c336139d396c8a68a8c78c
|
|
7
|
+
data.tar.gz: f3bff170133a005203bbde722386e21cc0f9d6693325f03f4319ea023a576133d15ebc6f51dcf05b6f0bb2cb343d6209d7e3de13a7ddf6728aacc62b5d100e50
|
data/README.md
CHANGED
|
@@ -605,9 +605,6 @@ rake test:bot FAILS=true
|
|
|
605
605
|
|
|
606
606
|
MIT License. Copyright [Code and Effect Inc.](http://www.codeandeffect.com/)
|
|
607
607
|
|
|
608
|
-
Code and Effect is the product arm of [AgileStyle](http://www.agilestyle.com/), an Edmonton-based shop that specializes in building custom web applications with Ruby on Rails.
|
|
609
|
-
|
|
610
|
-
|
|
611
608
|
## Contributing
|
|
612
609
|
|
|
613
610
|
1. Fork it
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
# EffectiveTestBot Rails Engine
|
|
2
|
-
|
|
3
1
|
if Rails.env.test?
|
|
4
2
|
EffectiveTestBot.setup do |config|
|
|
5
3
|
|
|
@@ -58,6 +56,5 @@ if Rails.env.test?
|
|
|
58
56
|
# bottom area filled by this color
|
|
59
57
|
# For best appearance, have this match your site's background color
|
|
60
58
|
config.animated_gif_background_color = 'white'
|
|
61
|
-
|
|
62
59
|
end
|
|
63
60
|
end
|
|
@@ -9,7 +9,7 @@ module EffectiveTestBot
|
|
|
9
9
|
# Set up our default configuration options.
|
|
10
10
|
initializer "effective_test_bot.defaults", :before => :load_config_initializers do |app|
|
|
11
11
|
# Set up our defaults, as per our initializer template
|
|
12
|
-
eval File.read("#{config.root}/
|
|
12
|
+
eval File.read("#{config.root}/config/effective_test_bot.rb")
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
initializer 'effective_test_bot.test_suite' do |app|
|
|
@@ -5,7 +5,7 @@ module EffectiveTestBot
|
|
|
5
5
|
|
|
6
6
|
desc "Creates an EffectiveTestBot initializer in your application."
|
|
7
7
|
|
|
8
|
-
source_root File.expand_path(
|
|
8
|
+
source_root File.expand_path('../../templates', __FILE__)
|
|
9
9
|
|
|
10
10
|
def install_minitest
|
|
11
11
|
return if File.exists?('test/test_helper.rb')
|
|
@@ -14,7 +14,7 @@ module EffectiveTestBot
|
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
def copy_initializer
|
|
17
|
-
template
|
|
17
|
+
template ('../' * 3) + 'config/effective_test_bot.rb', 'config/initializers/effective_test_bot.rb'
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
def overwrite_minitest
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_test_bot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-12-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -247,12 +247,12 @@ files:
|
|
|
247
247
|
- Rakefile
|
|
248
248
|
- app/helpers/effective_test_bot_controller_helper.rb
|
|
249
249
|
- app/helpers/effective_test_bot_mailer_helper.rb
|
|
250
|
+
- config/effective_test_bot.rb
|
|
250
251
|
- lib/effective_test_bot.rb
|
|
251
252
|
- lib/effective_test_bot/engine.rb
|
|
252
253
|
- lib/effective_test_bot/middleware.rb
|
|
253
254
|
- lib/effective_test_bot/version.rb
|
|
254
255
|
- lib/generators/effective_test_bot/install_generator.rb
|
|
255
|
-
- lib/generators/templates/effective_test_bot.rb
|
|
256
256
|
- lib/generators/templates/test_helper.rb
|
|
257
257
|
- lib/tasks/effective_test_bot_tasks.rake
|
|
258
258
|
- test/concerns/test_botable/base_dsl.rb
|