action_logic 0.2.7 → 0.2.8

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: a6f591fb9cd6d0e84c0698efb746c1c621a96faf
4
- data.tar.gz: 8c2fab7ad7162d3d2c5daced41e921070dc7ad7a
3
+ metadata.gz: 19b4824f31ca1ffe3d22502fce6ce674f5fffc37
4
+ data.tar.gz: 16d5f9e7a00b95f6e2678c5fd2a0d68821161374
5
5
  SHA512:
6
- metadata.gz: 5e2acd75f307a744541eec0693f800031daa4334083fdc379a33660d8ea5e92fe7d45b1e1d608d54edc4df1152d8df2b56a4f3fb5767fba3839577bf7fa9cd63
7
- data.tar.gz: 579349af94eb607489ea9dddd669d13fd811527d39bd45d250ce4da507b0d78d3ce94e329ccfd664e272a5263faf361122400969ba2b051976d44a4af0227a90
6
+ metadata.gz: 23f4be5534c06e0864af1a61c08595b2410ddcbc19f3d877691b9183e1675a290402daa18f7e9635e72464ab84fab81c77ae43f43e69f7fb908a64b1e7590c2e
7
+ data.tar.gz: 14b9bcd6c0e2a089f944d78e469db97c2d3034d76a63b4e2d4aa1ca24dba006014c41fadc300c542119d5b35162f887097ff7943a862a70e5ae73397ff1d0909
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- action_logic (0.2.6)
4
+ action_logic (0.2.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -961,7 +961,7 @@ by specifying a log file. To do this, you configure `ActionLogic` to use a `File
961
961
  ```ruby
962
962
  ActionLogic.configure do |config|
963
963
  config.benchmark = true
964
- config.benchmark_log = File.open("benchmark.log", "w")
964
+ config.benchmark_log = File.open("benchmark.log", "w")
965
965
  end
966
966
  ```
967
967
 
@@ -981,8 +981,8 @@ allowing you to provide your own formatter:
981
981
  ```ruby
982
982
  ActionLogic.configure do |config|
983
983
  config.benchmark = true
984
- config.benchmark_log = File.open("benchmark.log", "w")
985
- config.benchmark_formatter = YourCustomFormatter
984
+ config.benchmark_log = File.open("benchmark.log", "w")
985
+ config.benchmark_formatter = YourCustomFormatter
986
986
  end
987
987
  ```
988
988
 
@@ -992,15 +992,15 @@ Where `YourCustomFormatter` subclasses `ActionLogic::ActionBenchmark::DefaultFor
992
992
  class CustomFormatter < ActionLogic::ActionBenchmark::DefaultFormatter
993
993
 
994
994
  def log_coordinator(benchmark_result, execution_context_name)
995
- benchmark_log.puts("The ActionCoordinator #{execution_context_name} took #{benchmark_result.real} to complete.")
995
+ benchmark_log.puts("The ActionCoordinator #{execution_context_name} took #{benchmark_result.real} to complete.")
996
996
  end
997
997
 
998
998
  def log_use_case(benchmark_result, execution_context_name)
999
- benchmark_log.puts("The ActionUseCase #{execution_context_name} took #{benchmark_result.real} to complete.")
999
+ benchmark_log.puts("The ActionUseCase #{execution_context_name} took #{benchmark_result.real} to complete.")
1000
1000
  end
1001
1001
 
1002
1002
  def log_task(benchmark_result, execution_context_name)
1003
- benchmark_log.puts("The ActionTask #{execution_context_name} took #{benchmark_result.real} to complete.")
1003
+ benchmark_log.puts("The ActionTask #{execution_context_name} took #{benchmark_result.real} to complete.")
1004
1004
  end
1005
1005
 
1006
1006
  end
@@ -1,3 +1,3 @@
1
1
  module ActionLogic
2
- VERSION = '0.2.7'
2
+ VERSION = '0.2.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_logic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rick Winfrey