pry-test 0.5.2 → 0.5.3

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: ed160e66193d544b6e2215fa446db6414a724a10
4
- data.tar.gz: 0712c8e93d4264215615a53f12af998d2d108c07
3
+ metadata.gz: a5e113811bad164e8c59a97cee83b3a0ca776816
4
+ data.tar.gz: e1483a47da0b021ccfe9d8e863c5cf370126f7ea
5
5
  SHA512:
6
- metadata.gz: 70a930d41e157d77150da5044af2ca8210562ab9a410f88b82d0e0a9f7eb0ee56fa3b8603132c72e92b76704027fca2c4064017a606ec74b86173be3c997cbb3
7
- data.tar.gz: 4b901ce75af030718be2c36b73f40582b06c73faf82b6f88768f24c0c0f150d40c8ee29559737e0d8b07884881da0e4b8c1c9b00bc2f12b7e70f9360bc5655d7
6
+ metadata.gz: 5b886ead4c73c9687ec17fa965f290fccee8a942f37fdd6287f251b0fab2eb56e2c5e2b04335cdf30a4ba263788dbe5824ef39495d3ffc10ddc6ce34aab7d88c
7
+ data.tar.gz: 6ab9b6b5a24c950d03bba1b763f8c238bb13b05e2539d1b0f21c00c7b35280fd865603b4c59370d08f5b69c26d035071b62c3e1e6e6fc63e5dc9548566d94c83
data/bin/pry-test CHANGED
@@ -41,7 +41,7 @@ parser = OptionParser.new do |opts|
41
41
  end
42
42
  parser.parse!
43
43
 
44
- ENV["MT_DEMO"] = "true" if options[:demo]
44
+ ENV["PRY_TEST_DEMO"] = "true" if options[:demo]
45
45
 
46
46
  # setup the test path ---------------------------------------------------------
47
47
  path = ARGV.last unless ARGV.last =~ /^-/
@@ -1,3 +1,4 @@
1
+ require "erb"
1
2
  require_relative "color"
2
3
 
3
4
  module PryTest
@@ -1,3 +1,3 @@
1
1
  module PryTest
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
data/test/color_test.rb CHANGED
@@ -1,4 +1,4 @@
1
- unless ENV["MT_DEMO"]
1
+ unless ENV["PRY_TEST_DEMO"]
2
2
  require_relative "test_helper"
3
3
 
4
4
  class ColorTest < PryTest::Test
@@ -1,4 +1,4 @@
1
- if ENV["MT_DEMO"]
1
+ if ENV["PRY_TEST_DEMO"]
2
2
  require_relative "test_helper"
3
3
 
4
4
  class TestCPULatency < PryTest::Test
data/test/fail_test.rb CHANGED
@@ -1,4 +1,4 @@
1
- if ENV["MT_DEMO"]
1
+ if ENV["PRY_TEST_DEMO"]
2
2
  require_relative "test_helper"
3
3
 
4
4
  class Fail < PryTest::Test
@@ -1,4 +1,4 @@
1
- if ENV["MT_DEMO"]
1
+ if ENV["PRY_TEST_DEMO"]
2
2
  require_relative "test_helper"
3
3
 
4
4
  class TestIOLatency < PryTest::Test
data/test/runner_test.rb CHANGED
@@ -1,4 +1,4 @@
1
- unless ENV["MT_DEMO"]
1
+ unless ENV["PRY_TEST_DEMO"]
2
2
  require_relative "test_helper"
3
3
 
4
4
  class TestRunner < PryTest::Test
data/test/test_helper.rb CHANGED
@@ -1,4 +1,6 @@
1
- require "coveralls"
2
- Coveralls.wear!
1
+ if !ENV["PRY_TEST_DEMO"].nil?
2
+ require "coveralls"
3
+ Coveralls.wear!
4
+ end
3
5
 
4
6
  require_relative "../lib/pry-test"
data/test/test_test.rb CHANGED
@@ -1,4 +1,4 @@
1
- unless ENV["MT_DEMO"]
1
+ unless ENV["PRY_TEST_DEMO"]
2
2
  require_relative "test_helper"
3
3
 
4
4
  class TestTest < PryTest::Test
@@ -1,4 +1,4 @@
1
- unless ENV["MT_DEMO"]
1
+ unless ENV["PRY_TEST_DEMO"]
2
2
  require_relative "test_helper"
3
3
 
4
4
  class TestWrapperTest < PryTest::Test
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Hopkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-17 00:00:00.000000000 Z
11
+ date: 2014-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: os
@@ -52,8 +52,8 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- description: A testing framework that supports debugging test failures & errors when
56
- they happen.
55
+ description: A testing framework that supports debugging test failures and errors
56
+ when they happen.
57
57
  email:
58
58
  - natehop@gmail.com
59
59
  executables:
@@ -111,8 +111,8 @@ rubyforge_project:
111
111
  rubygems_version: 2.2.2
112
112
  signing_key:
113
113
  specification_version: 4
114
- summary: A testing framework that supports debugging test failures & errors when they
115
- happen.
114
+ summary: A testing framework that supports debugging test failures and errors when
115
+ they happen.
116
116
  test_files:
117
117
  - test/color_test.rb
118
118
  - test/cpu_latency_test.rb