pry-coolline 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -61
- data/lib/pry-coolline.rb +3 -1
- data/lib/pry-coolline/version.rb +1 -1
- data/pry-coolline.gemspec +22 -24
- metadata +15 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36469bbd6067538c93ca6d86aac56bc82efc2cb4
|
4
|
+
data.tar.gz: d7272b4cfe7bb106ffe5073d60b7daa2f39994d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 658e26ac4969758e10898bf480ca5af54945bd3f876958042ce638f74da42e4b0408443ea199b35039ba328ad03241c31cefc09c5e2a48d99ce4f9436763f7ab
|
7
|
+
data.tar.gz: 4d9c838e09b4ca0327968457dbc4e8ed1b09644a2f82ffe4cef73be2d51a8534b396555dc8925fe61be22817e8a93c74109af2abb8f77799df7a7455ad001226
|
data/Rakefile
CHANGED
@@ -1,35 +1,14 @@
|
|
1
1
|
$:.unshift 'lib'
|
2
2
|
|
3
|
-
dlext = Config::CONFIG['DLEXT']
|
4
|
-
direc = File.dirname(__FILE__)
|
5
|
-
|
6
3
|
PROJECT_NAME = "pry-coolline"
|
7
4
|
|
8
5
|
require 'rake/clean'
|
9
|
-
require 'rake/gempackagetask'
|
10
6
|
require "#{PROJECT_NAME}/version"
|
11
7
|
|
12
8
|
CLOBBER.include("**/*~", "**/*#*", "**/*.log")
|
13
9
|
CLEAN.include("**/*#*", "**/*#*.*", "**/*_flymake*.*", "**/*_flymake",
|
14
10
|
"**/*.rbc", "**/.#*.*")
|
15
11
|
|
16
|
-
def apply_spec_defaults(s)
|
17
|
-
s.name = PROJECT_NAME
|
18
|
-
s.summary = "Live syntax-highlighting for the Pry REPL"
|
19
|
-
s.version = PryCoolline::VERSION
|
20
|
-
s.date = Time.now.strftime '%Y-%m-%d'
|
21
|
-
s.author = "John Mair (banisterfiend)"
|
22
|
-
s.email = 'jrmair@gmail.com'
|
23
|
-
s.description = s.summary
|
24
|
-
s.add_dependency("coolline","~>0.3")
|
25
|
-
s.add_development_dependency("riot")
|
26
|
-
s.required_ruby_version = '>= 1.9.2'
|
27
|
-
s.require_path = 'lib'
|
28
|
-
s.homepage = "https://github.com/pry/pry-coolline"
|
29
|
-
s.files = `git ls-files`.split("\n")
|
30
|
-
s.test_files = `git ls-files -- test/*`.split("\n")
|
31
|
-
end
|
32
|
-
|
33
12
|
task :default => :test
|
34
13
|
|
35
14
|
desc "run pry with plugin enabled"
|
@@ -46,43 +25,3 @@ desc "Show version"
|
|
46
25
|
task :version do
|
47
26
|
puts "PryCoolline version: #{PryCoolline::VERSION}"
|
48
27
|
end
|
49
|
-
|
50
|
-
desc "Generate gemspec file"
|
51
|
-
task :gemspec => "ruby:gemspec"
|
52
|
-
|
53
|
-
namespace :ruby do
|
54
|
-
spec = Gem::Specification.new do |s|
|
55
|
-
apply_spec_defaults(s)
|
56
|
-
s.platform = Gem::Platform::RUBY
|
57
|
-
end
|
58
|
-
|
59
|
-
Rake::GemPackageTask.new(spec) do |pkg|
|
60
|
-
pkg.need_zip = false
|
61
|
-
pkg.need_tar = false
|
62
|
-
end
|
63
|
-
|
64
|
-
desc "Generate gemspec file"
|
65
|
-
task :gemspec do
|
66
|
-
File.open("#{spec.name}.gemspec", "w") do |f|
|
67
|
-
f << spec.to_ruby
|
68
|
-
end
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
desc "shorthand for :gems task"
|
73
|
-
task :gem => :gems
|
74
|
-
|
75
|
-
desc "build all platform gems at once"
|
76
|
-
task :gems => [:clean, :rmgems, "ruby:gem"]
|
77
|
-
|
78
|
-
desc "remove all platform gems"
|
79
|
-
task :rmgems => ["ruby:clobber_package"]
|
80
|
-
|
81
|
-
desc "build and push latest gems"
|
82
|
-
task :pushgems => :gems do
|
83
|
-
chdir("#{File.dirname(__FILE__)}/pkg") do
|
84
|
-
Dir["*.gem"].each do |gemfile|
|
85
|
-
sh "gem push #{gemfile}"
|
86
|
-
end
|
87
|
-
end
|
88
|
-
end
|
data/lib/pry-coolline.rb
CHANGED
@@ -19,7 +19,9 @@ begin
|
|
19
19
|
|
20
20
|
require 'bond'
|
21
21
|
|
22
|
-
Pry
|
22
|
+
Pry::BondCompleter.start
|
23
|
+
# Fixes a bug with certain gem releases of pry
|
24
|
+
Pry.config.completer = Pry::BondCompleter
|
23
25
|
|
24
26
|
# Let's speak in Bond's metaphor.
|
25
27
|
# Assasinate the agent and replace it with one that uses our weapon.
|
data/lib/pry-coolline/version.rb
CHANGED
data/pry-coolline.gemspec
CHANGED
@@ -1,31 +1,29 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
|
+
$LOAD_PATH.unshift File.expand_path(File.join("../lib", __FILE__))
|
4
|
+
require 'pry-coolline/version'
|
5
|
+
|
3
6
|
Gem::Specification.new do |s|
|
4
7
|
s.name = "pry-coolline"
|
5
|
-
s.version = "0.1.4"
|
6
8
|
|
7
|
-
s.
|
8
|
-
s.
|
9
|
-
|
10
|
-
s.description = "Live syntax-highlighting for the Pry REPL"
|
11
|
-
s.email = "jrmair@gmail.com"
|
12
|
-
s.files = `git ls-files`.split("\n")
|
13
|
-
s.homepage = "https://github.com/pry/pry-coolline"
|
14
|
-
s.require_paths = ["lib"]
|
15
|
-
s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
|
16
|
-
s.rubygems_version = "1.8.16"
|
9
|
+
s.version = PryCoolline::VERSION
|
10
|
+
s.date = Time.now.strftime '%Y-%m-%d'
|
11
|
+
|
17
12
|
s.summary = "Live syntax-highlighting for the Pry REPL"
|
18
|
-
s.
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
13
|
+
s.description = s.summary
|
14
|
+
|
15
|
+
s.email = 'jrmair@gmail.com'
|
16
|
+
s.author = "John Mair (banisterfiend)"
|
17
|
+
|
18
|
+
s.license = "MIT"
|
19
|
+
|
20
|
+
s.homepage = "https://github.com/pry/pry-coolline"
|
21
|
+
|
22
|
+
s.files = `git ls-files`.split("\n")
|
23
|
+
s.test_files = `git ls-files -- test/*`.split("\n")
|
24
|
+
|
25
|
+
s.add_dependency("coolline","~>0.3")
|
26
|
+
s.add_development_dependency("riot")
|
27
|
+
s.required_ruby_version = '>= 1.9.2'
|
28
|
+
s.require_path = 'lib'
|
31
29
|
end
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pry-coolline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Mair (banisterfiend)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coolline
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: riot
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: Live syntax-highlighting for the Pry REPL
|
@@ -44,9 +44,9 @@ executables: []
|
|
44
44
|
extensions: []
|
45
45
|
extra_rdoc_files: []
|
46
46
|
files:
|
47
|
-
- .gemtest
|
48
|
-
- .gitignore
|
49
|
-
- .yardopts
|
47
|
+
- ".gemtest"
|
48
|
+
- ".gitignore"
|
49
|
+
- ".yardopts"
|
50
50
|
- CHANGELOG
|
51
51
|
- LICENSE
|
52
52
|
- README.md
|
@@ -60,7 +60,8 @@ files:
|
|
60
60
|
- test/paren_match_test.rb
|
61
61
|
- test/run_all.rb
|
62
62
|
homepage: https://github.com/pry/pry-coolline
|
63
|
-
licenses:
|
63
|
+
licenses:
|
64
|
+
- MIT
|
64
65
|
metadata: {}
|
65
66
|
post_install_message:
|
66
67
|
rdoc_options: []
|
@@ -68,17 +69,17 @@ require_paths:
|
|
68
69
|
- lib
|
69
70
|
required_ruby_version: !ruby/object:Gem::Requirement
|
70
71
|
requirements:
|
71
|
-
- -
|
72
|
+
- - ">="
|
72
73
|
- !ruby/object:Gem::Version
|
73
74
|
version: 1.9.2
|
74
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
76
|
requirements:
|
76
|
-
- -
|
77
|
+
- - ">="
|
77
78
|
- !ruby/object:Gem::Version
|
78
79
|
version: '0'
|
79
80
|
requirements: []
|
80
81
|
rubyforge_project:
|
81
|
-
rubygems_version: 2.0
|
82
|
+
rubygems_version: 2.2.0
|
82
83
|
signing_key:
|
83
84
|
specification_version: 4
|
84
85
|
summary: Live syntax-highlighting for the Pry REPL
|
@@ -86,3 +87,4 @@ test_files:
|
|
86
87
|
- test/helpers.rb
|
87
88
|
- test/paren_match_test.rb
|
88
89
|
- test/run_all.rb
|
90
|
+
has_rdoc:
|