rspec-junklet 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- N2Q5N2M1NjhmZDQyMzcyM2ExODk5MGI3N2RlMTkwZmE2OGI4Yjc3OQ==
4
+ ZDRhMTA4YzAzZmE4ZDZkMzY3NmYzNjU3NzQzNTQ3YzJiOGIzODA3Nw==
5
5
  data.tar.gz: !binary |-
6
- NjA0NGZhNmIxMTRmMDE4MzA5Y2M2YTk2NDkyODQ0ZTE4YWE1ZTAyNA==
6
+ ODZjMjRiZDQ0MGNhNDI0YzMzNWMxNWIzMTViODY2ZGMwMDY3OWJmYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjU1MDhkMjdmNWQ4Njg5M2ZmNGU5ZGI0ZjYxYjA3MDk1NTYwMTllNDYxMzMz
10
- OWY3YjUyM2FmODIyMDA0YTJmMmMwMGMwM2Q4YzAyNTFkMzI0ZWE4YTZkM2Zi
11
- MzE3ODlkODMyNGUyYzUzZWNiZWUzNGQ1NThhOTE2MDFkOTM2ODA=
9
+ ZjFkZTY3NjY0MmU4MTFhOWFhYmViMDI5YjZkODEwZTM0MTEzYjI4NzI1YzI1
10
+ NWI3MmViMWJkMTExMWZjOWVjNjIzMTliMDk0NjlkYzc5ZDQwZGM2ZGFhMTgx
11
+ MmFjYjA2YzE3NTUwYjQxMmRlY2NkMzMxNTFjMWQ3MTc4MWIwYTA=
12
12
  data.tar.gz: !binary |-
13
- YmFlM2FhYTFhN2Y0ZGY3YTg2NjcyMTNlYmE1NGFlOGUzZWE5YjQ4NjUwNzJj
14
- MmY5NTQ1MjZjNDNhMzY5ZGRjZDc3NTdlODY2M2JlYjM2ZjU1MDc4MTUxZDNm
15
- ZDk5Y2FhZTA1YTg1NzNiYmIyNmNmYWU0NzNlNjc2NmRjZDNkZTA=
13
+ YzM4MzhlMzMxNWI0NDE4MmViZTQyNTk0YzJlZDY4ZDUwNTIxNGY4ZDI2NTk5
14
+ NjBkYzI4Zjg3ZTY1OTAxMTc5M2RkNjRlMGJkNmY4ZmY4MTcxMzA4ZWUzOWYz
15
+ NDAwM2I4YTUxNmI2Y2JlYjNjMzZlZWM0ZmE5MjIwYWU5N2M4YzE=
data/Gemfile.lock CHANGED
@@ -6,20 +6,9 @@ PATH
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- builder (3.2.2)
10
9
  coderay (1.1.0)
11
- cucumber (1.3.18)
12
- builder (>= 2.1.2)
13
- diff-lcs (>= 1.1.3)
14
- gherkin (~> 2.12)
15
- multi_json (>= 1.7.5, < 2.0)
16
- multi_test (>= 0.1.1)
17
10
  diff-lcs (1.2.5)
18
- gherkin (2.12.2)
19
- multi_json (~> 1.3)
20
11
  method_source (0.8.2)
21
- multi_json (1.10.1)
22
- multi_test (0.1.1)
23
12
  pry (0.10.1)
24
13
  coderay (~> 1.1.0)
25
14
  method_source (~> 0.8.1)
@@ -40,8 +29,7 @@ PLATFORMS
40
29
 
41
30
  DEPENDENCIES
42
31
  bundler (~> 1.7)
43
- cucumber
44
- pry
32
+ pry (~> 0.10)
45
33
  rake (~> 10.0)
46
34
  rspec (~> 2.0)
47
35
  rspec-junklet!
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module Junklet
3
- VERSION = "2.0.0"
3
+ VERSION = "2.0.1"
4
4
  end
5
5
  end
data/lib/rspec/junklet.rb CHANGED
@@ -2,8 +2,10 @@ require_relative "./junklet/version"
2
2
  require_relative "./junklet/junk"
3
3
  require_relative "./junklet/junklet"
4
4
 
5
- RSpec.configure do |config|
6
- config.extend(RSpec::Junklet::Junklet)
7
- config.extend(RSpec::Junklet::Junk) # when metaprogramming cases, you may need junk in ExampleGroups
8
- config.include(RSpec::Junklet::Junk)
5
+ if RSpec.respond_to?(:configure)
6
+ RSpec.configure do |config|
7
+ config.extend(RSpec::Junklet::Junklet)
8
+ config.extend(RSpec::Junklet::Junk) # when metaprogramming cases, you may need junk in ExampleGroups
9
+ config.include(RSpec::Junklet::Junk)
10
+ end
9
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-junklet
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Brady
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-03 00:00:00.000000000 Z
11
+ date: 2015-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler