pry-highlight 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/README.markdown +1 -1
  3. data/lib/pry-highlight.rb +1 -3
  4. metadata +69 -89
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e23c4d4606fc10af526d817f4486afb7bb309ffc
4
+ data.tar.gz: f69adc85d9a883a27243da94b724e0966d9f631d
5
+ SHA512:
6
+ metadata.gz: bac3553c232e3f1122989219d76c6f330ba8f0c50f266a23f0d6132d7c9dbfbee70a543ef7e9d7b9998d3dcd737f44ef1a2730005173c1b4782ff16767f6452d
7
+ data.tar.gz: 62df206dae480b0c9e26d3107780a1282ef005fb1189005d0f13f1b39c9ffdf1580e68d1ba471b42537ffdfa87883f7b0dc61a129e43e283f9f951ae23ac7758
@@ -1,4 +1,4 @@
1
- The Pry-higlight gem (`gem install pry-highlight`) adds a `higlight` command (aka. `>>`) to Pry.
1
+ The Pry-higlight gem (`gem install pry-highlight`) adds a `highlight` command (aka. `>>`) to Pry.
2
2
 
3
3
  This intelligently formats and colourizes the result, so you don't have to.
4
4
 
@@ -10,7 +10,7 @@ Pry::Commands.command ">>", "highlight string output", :shellwords => false do |
10
10
  opt.on :h, :help do
11
11
  puts opt.help
12
12
  end
13
- opt.on :t, :type, true
13
+ opt.on :t, :type=
14
14
  end
15
15
  next if opts[:h]
16
16
 
@@ -58,8 +58,6 @@ Pry::Commands.command ">>", "highlight string output", :shellwords => false do |
58
58
  output.puts CodeRay.scan(value, type).term
59
59
  elsif String === value
60
60
  output.puts value
61
- else
62
- Pry::Config.print.call(output, value)
63
61
  end
64
62
  end
65
63
 
metadata CHANGED
@@ -1,124 +1,104 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: pry-highlight
3
- version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 1
10
- version: 0.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Conrad Irwin
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2012-01-15 00:00:00 -08:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
11
+ date: 2014-08-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
22
14
  name: pry
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
27
17
  - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
33
20
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: json
37
21
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
41
31
  - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
47
34
  type: :runtime
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
50
- name: nokogiri
51
35
  prerelease: false
52
- requirement: &id003 !ruby/object:Gem::Requirement
53
- none: false
54
- requirements:
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: nokogiri
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
55
45
  - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 3
58
- segments:
59
- - 0
60
- version: "0"
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
61
48
  type: :runtime
62
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
64
- name: coderay
65
49
  prerelease: false
66
- requirement: &id004 !ruby/object:Gem::Requirement
67
- none: false
68
- requirements:
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
69
52
  - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
- version: "0"
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: coderay
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
75
62
  type: :runtime
76
- version_requirements: *id004
77
- description: Uses JSON, Nokogiri and CodeRay to highlight and prettify JSON, XML, HTML, Ruby and anything else CodeRay supports!
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: Uses JSON, Nokogiri and CodeRay to highlight and prettify JSON, XML,
70
+ HTML, Ruby and anything else CodeRay supports!
78
71
  email: conrad.irwin@gmail.com
79
72
  executables: []
80
-
81
73
  extensions: []
82
-
83
74
  extra_rdoc_files: []
84
-
85
- files:
86
- - lib/pry-highlight.rb
87
- - README.markdown
75
+ files:
88
76
  - LICENSE.MIT
89
- has_rdoc: true
77
+ - README.markdown
78
+ - lib/pry-highlight.rb
90
79
  homepage: http://github.com/ConradIrwin/pry-highlight
91
- licenses:
80
+ licenses:
92
81
  - MIT
82
+ metadata: {}
93
83
  post_install_message:
94
84
  rdoc_options: []
95
-
96
- require_paths:
85
+ require_paths:
97
86
  - lib
98
- required_ruby_version: !ruby/object:Gem::Requirement
99
- none: false
100
- requirements:
87
+ required_ruby_version: !ruby/object:Gem::Requirement
88
+ requirements:
101
89
  - - ">="
102
- - !ruby/object:Gem::Version
103
- hash: 3
104
- segments:
105
- - 0
106
- version: "0"
107
- required_rubygems_version: !ruby/object:Gem::Requirement
108
- none: false
109
- requirements:
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ required_rubygems_version: !ruby/object:Gem::Requirement
93
+ requirements:
110
94
  - - ">="
111
- - !ruby/object:Gem::Version
112
- hash: 3
113
- segments:
114
- - 0
115
- version: "0"
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
116
97
  requirements: []
117
-
118
98
  rubyforge_project:
119
- rubygems_version: 1.6.2
99
+ rubygems_version: 2.2.2
120
100
  signing_key:
121
- specification_version: 3
101
+ specification_version: 4
122
102
  summary: Adds a >> command to pretty-print Strings
123
103
  test_files: []
124
-
104
+ has_rdoc: