pryable 0.1.1 → 0.1.2

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.
Files changed (3) hide show
  1. data/lib/pryable.rb +7 -9
  2. data/pryable.gemspec +1 -1
  3. metadata +3 -3
@@ -3,7 +3,7 @@ module Pryable
3
3
  module Version
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- PATCH = 1
6
+ PATCH = 2
7
7
  #BUILD = ''
8
8
 
9
9
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
@@ -14,14 +14,12 @@ module Pryable
14
14
  end
15
15
 
16
16
  def pry_open
17
- binding do |b|
18
- start_time = DateTime.now
19
- Rails.logger.info "====== Beginning Pry Session ====== Binding: #{self.inspect} ======"
20
- b.pry
21
- end_time = DateTime.now
22
- elapsed = end_time - start_time
23
- Rails.logger.info "====== Ending Pry Session ====== Time Elapsed: #{elapsed} ======"
24
- end
17
+ start_time = DateTime.now
18
+ Rails.logger.info "====== Beginning Pry Session ====== Binding: #{self.inspect} ======"
19
+ binding.pry
20
+ end_time = DateTime.now
21
+ elapsed = end_time - start_time
22
+ Rails.logger.info "====== Ending Pry Session ====== Time Elapsed: #{elapsed} ======"
25
23
  end
26
24
 
27
25
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pryable}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Mark Coates (oddlyzen)"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mark Coates (oddlyzen)
@@ -120,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - ">="
122
122
  - !ruby/object:Gem::Version
123
- hash: 206139912071441986
123
+ hash: 1738991906964473810
124
124
  segments:
125
125
  - 0
126
126
  version: "0"