cutter 0.8.3 → 0.8.4

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.
data/README.md CHANGED
@@ -103,7 +103,7 @@ is called on every variable.
103
103
  # method: `maximal' (maximal tracing)
104
104
  # called from class: RSpec::Core::ExampleGroup::Nested_1::Nested_1
105
105
  # local_variables:
106
- # args: [1, :two, "three", {:four=>5}]
106
+ # args: [1, :two, "three", {:four=>5}]
107
107
  # instance_variables:
108
108
  # @example: #<RSpec::Core::Example:0xa1d378 >
109
109
  # ...
@@ -142,6 +142,10 @@ Very! Very simple!
142
142
 
143
143
  ## II) #stamper
144
144
 
145
+ ```ruby
146
+ bundle exec rspec spec/stamper/demo_spec.rb
147
+ ```
148
+
145
149
  Description is coming...
146
150
 
147
151
  Acts as self.benchmark{} (in Rails) or Benchmark.measure{} (common Ruby) but with stamps in any position in block executed.
@@ -1,8 +1,5 @@
1
1
  require 'cutter/version'
2
2
 
3
- require 'cutter/array'
4
- require 'cutter/railtie' if defined?(Rails)
5
-
6
3
  require 'cutter/colored_outputs'
7
4
  require 'cutter/stamper'
8
5
  require 'cutter/inspection'
@@ -1,4 +1,3 @@
1
- require 'set'
2
1
  require 'active_support/core_ext/string/inflections.rb'
3
2
 
4
3
  class Object
@@ -1,3 +1,3 @@
1
1
  module Cutter
2
- VERSION="0.8.3"
2
+ VERSION="0.8.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cutter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -84,10 +84,8 @@ extra_rdoc_files:
84
84
  - README.md
85
85
  files:
86
86
  - lib/cutter.rb
87
- - lib/cutter/array.rb
88
87
  - lib/cutter/colored_outputs.rb
89
88
  - lib/cutter/inspection.rb
90
- - lib/cutter/railtie.rb
91
89
  - lib/cutter/stamper.rb
92
90
  - lib/cutter/version.rb
93
91
  - LICENSE.txt
@@ -107,7 +105,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
107
105
  version: '0'
108
106
  segments:
109
107
  - 0
110
- hash: -579611375
108
+ hash: 804264787
111
109
  required_rubygems_version: !ruby/object:Gem::Requirement
112
110
  none: false
113
111
  requirements:
@@ -1,6 +0,0 @@
1
- class Array
2
- def extract_options!
3
- last.is_a?(::Hash) ? pop : {}
4
- end unless defined? Array.new.extract_options!
5
- end
6
-
@@ -1,7 +0,0 @@
1
- module Cutter
2
- class Railtie < Rails::Railtie
3
- initializer "cutter" do |app|
4
- #puts "initializing cutter..."
5
- end
6
- end
7
- end