pry-larry 0.3.0 → 0.4.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8de86f32c7be4710144ba5781385d2114d7ca5ba
4
- data.tar.gz: 13b0cdda5e0351baba30e35b0c81ddaa65069955
3
+ metadata.gz: b46ebf1b8479ba74c8ffe149a236a120d72906a4
4
+ data.tar.gz: 2209036c88ba8daad19b9260b0a5cf667501319c
5
5
  SHA512:
6
- metadata.gz: 1e276eaf3307a5dae9f262153a7f4cc30d5eff36ce15dd0336a80700902d1c85b8e50cde33a3df0f13deaf55056f2e09d16cec338f3c1a04da50b9015780d2b5
7
- data.tar.gz: e1cc0f9f2f3b7f5a149dd400e236ac2bc1ab046a5688eb051295d8873ad439bb25af971daf66e10f184060b286d568ba10966228722055bbd43810a93d476bab
6
+ metadata.gz: 2721d415f1ff0d64bfc9523e8b02f0d8e0a7535fd8f1f8a06c454ddf213850515f5bb9cdce595037690939395467668c8914458b2c5fa8bfb84dd2c58febe987
7
+ data.tar.gz: a9ff657ab5c79523ba26e8069ec49dd15c94b97bc66ccd74c5684d6baf3c0f870727138b4201649b6d754d0d9d708ffae819363d1177191fc680fbc305f790a2
data/README.md CHANGED
@@ -15,7 +15,7 @@ yet(`Pry.configure`) but the old way is [still supported](https://github.com/pry
15
15
  ```ruby
16
16
  Pry.configure do |config|
17
17
  config.larry.auto_start = false # default is true
18
- config.larry.speak_if = ->(walltime) { # default is speak if walltime is > 0.1s
18
+ config.larry.speak_if = ->(walltime) { # default is speak if walltime is > 0
19
19
  walltime > 0.5
20
20
  }
21
21
  end
@@ -25,16 +25,20 @@ __Examples__
25
25
 
26
26
  __1.__
27
27
 
28
- ![Screenshot Example](http://i.imgur.com/iMEChec.png)
28
+ ![Screenshot Example](./screenshots/screenshot.png)
29
29
 
30
30
  __Install__
31
31
 
32
- There isn't a published gem on rubygems.org but there is a gemspec in the repository
33
- that can be used to build a gem from source. If you are using Bundler the git repository
34
- can be used to build a gem:
32
+ * Rubygems
33
+
34
+ ```
35
+ gem install pry-larry
36
+ ```
37
+
38
+ * Gemfile
35
39
 
36
40
  ```ruby
37
- gem "pry-larry", git: "https://github.com/jazzonmymind/pry-larry.rb.git", tag: "v0.3.0"
41
+ gem "pry-larry", "~> 0.4"
38
42
  ```
39
43
 
40
44
  __License__
@@ -72,5 +72,5 @@ module Pry::Larry
72
72
  end
73
73
  Pry::Commands.add_command(LarryCommand)
74
74
  Pry.config.hooks.add_hook :before_session, BEFORE_SESSION.hash, BEFORE_SESSION
75
- Pry.config.larry = Pry::Config.from_hash({auto_start: true, speak_if: ->(walltime){ walltime > 0.1 }}, nil)
75
+ Pry.config.larry = Pry::Config.from_hash({auto_start: true, speak_if: ->(walltime){ walltime > 0 }}, nil)
76
76
  end
@@ -1,5 +1,5 @@
1
1
  class Pry
2
2
  module Larry
3
- VERSION = "0.3.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
@@ -10,5 +10,5 @@ Gem::Specification.new do |spec|
10
10
  spec.homepage = "https://github.com/jazzonmymind/pry-larry.rb"
11
11
  spec.licenses = ['Nonstandard']
12
12
  spec.add_runtime_dependency "pry", "~> 0.10"
13
- spec.files = `git ls-files`.each_line.map {|s| s.strip.chomp }
13
+ spec.files = `git ls-files`.each_line.map {|s| s.strip.chomp }.reject {|s| s.start_with?("screenshots") }
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-larry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jazzonmymind
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-05 00:00:00.000000000 Z
11
+ date: 2016-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry