pseudo_cleaner 0.0.31 → 0.0.32

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
- NjMyOGI1MjJmODFhYzMwZmJjMzY2NzA3MGMyY2U3ODNiMzEyOTc4Yg==
4
+ NmUzOGE1MTg1MTNmMjAyZGNjZDA0MjY4NzY1YTk4MWRlNDBlNzU2MQ==
5
5
  data.tar.gz: !binary |-
6
- OTM2ZmI1ZmViZmYzZTZhODBiMjA4MmNhMWNiNDIxMzFiNTQyYjZjMQ==
6
+ N2IzNDQzYzlkYmQ0MzFmMDBiN2I5NGJhODU2MTdkM2RjMTBiZDJkOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTRhNjIxN2Y1OWFkMGIxMDA4YTliOWRkM2RiNzgwNzM3Y2QzNjJkMzE1MTdm
10
- NDc5OGE5ODBjM2Q5MzZjM2QwYjkwYjA2MzIxMTVlOWIwZDg2M2VhNTU0ZGY0
11
- MzVmOTkxODI1YzQ3ZDAwZWZjMWQxYzJkNGQ1YzRlOWRiNGU2ODU=
9
+ ZTJkNGViOGVlMTY2ODI4Y2FjYTI4OGE1NWQzZGE3MmE3MDM4M2M3OTE3NWNk
10
+ MDI1ODRkZmU0NjNlODcyNDljZmYzNzFkOTY2MzBhNjczZDUyOGMyODU1YTQy
11
+ N2ZlMTQyZmIyY2U3ODhjN2U4NDU2YzZiYzBkNjY5YWRmZTNhYjk=
12
12
  data.tar.gz: !binary |-
13
- Zjg3NWQ1NGY1OTkyOTQxOWY5NzAyNzM2MDZkZjE4YzhlYjU2ZjhmMjFjNTNl
14
- MWVhM2E0NjAyOTY3ODQ2Mjg1MTcxYTgxYmZiOGM1MDRmYjgxMmUzN2E2YzM2
15
- NzI2OGM5N2FkMTVjMTA0OGM5NDI0YzU2YjM2OWY1YWU4ZDNlMWY=
13
+ MzIyODgzNjkwNTY2ZDUyZjQ3NmEzYTJhMWMwZDc2NWNlY2MyNTQ0YTQ0Y2Fm
14
+ YzBkNmM3ODUyMTQyYWM1ZjkwODEwMzE1MWI1N2E3MTJlODUzZTgyYTJlNGI4
15
+ OWEwYWZiZDc0OWEwZDNhMWE1YzQ5YzBjMzZjOWExYzBjMGU1ZTY=
@@ -16,21 +16,21 @@ Spinach.hooks.around_scenario do |scenario_data, step_definitions, &block|
16
16
  DatabaseCleaner.strategy = :transaction
17
17
  end
18
18
 
19
- strategy = if scenario.tags.include?("@none")
19
+ strategy = if scenario_data.tags.include?("@none")
20
20
  :none
21
- elsif scenario.tags.include?("@truncation")
21
+ elsif scenario_data.tags.include?("@truncation")
22
22
  :truncation
23
- elsif scenario.tags.include?("@deletion")
23
+ elsif scenario_data.tags.include?("@deletion")
24
24
  :deletion
25
25
  else
26
26
  :pseudo_delete
27
27
  end
28
- PseudoCleaner::MasterCleaner.start_example(scenario, strategy)
28
+ PseudoCleaner::MasterCleaner.start_example(scenario_data, strategy)
29
29
 
30
30
  begin
31
31
  block.call
32
32
  ensure
33
- PseudoCleaner::MasterCleaner.end_example(scenario)
33
+ PseudoCleaner::MasterCleaner.end_example(scenario_data)
34
34
  end
35
35
  end
36
36
 
@@ -1,3 +1,3 @@
1
1
  module PseudoCleaner
2
- VERSION = "0.0.31"
2
+ VERSION = "0.0.32"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pseudo_cleaner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.31
4
+ version: 0.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - RealNobody
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-06 00:00:00.000000000 Z
11
+ date: 2015-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize