pry-coolline 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,5 +1,3 @@
1
- # **PLEASE NOTE: This Gem has been yanked until further notice due to usability issues**
2
-
3
1
  pry-coolline
4
2
  ===========
5
3
 
data/Rakefile CHANGED
@@ -1,90 +1,90 @@
1
- $:.unshift 'lib'
2
-
3
- dlext = Config::CONFIG['DLEXT']
4
- direc = File.dirname(__FILE__)
5
-
6
- PROJECT_NAME = "pry-coolline"
7
-
8
- require 'rake/clean'
9
- require 'rake/gempackagetask'
10
- require "#{PROJECT_NAME}/version"
11
-
12
- CLOBBER.include("**/*~", "**/*#*", "**/*.log")
13
- CLEAN.include("**/*#*", "**/*#*.*", "**/*_flymake*.*", "**/*_flymake",
14
- "**/*.rbc", "**/.#*.*")
15
-
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.1.0")
25
- s.add_dependency("io-console","~>0.3.0")
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
- task :default => :test
34
-
35
- desc "run pry with plugin enabled"
36
- task :pry do
37
- exec("pry -I#{direc}/lib/ -r #{direc}/lib/#{PROJECT_NAME}")
38
- end
39
-
40
- desc "run tests"
41
- task :test do
42
- sh "bacon -Itest -rubygems -a"
43
- end
44
-
45
- desc "Show version"
46
- task :version do
47
- puts "PryCoolline version: #{PryCoolline::VERSION}"
48
- 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
89
-
90
-
1
+ $:.unshift 'lib'
2
+
3
+ dlext = Config::CONFIG['DLEXT']
4
+ direc = File.dirname(__FILE__)
5
+
6
+ PROJECT_NAME = "pry-coolline"
7
+
8
+ require 'rake/clean'
9
+ require 'rake/gempackagetask'
10
+ require "#{PROJECT_NAME}/version"
11
+
12
+ CLOBBER.include("**/*~", "**/*#*", "**/*.log")
13
+ CLEAN.include("**/*#*", "**/*#*.*", "**/*_flymake*.*", "**/*_flymake",
14
+ "**/*.rbc", "**/.#*.*")
15
+
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.2.0")
25
+ s.add_dependency("io-console","~>0.3.0")
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
+ task :default => :test
34
+
35
+ desc "run pry with plugin enabled"
36
+ task :pry do
37
+ exec("pry -I#{direc}/lib/ -r #{direc}/lib/#{PROJECT_NAME}")
38
+ end
39
+
40
+ desc "run tests"
41
+ task :test do
42
+ sh "bacon -Itest -rubygems -a"
43
+ end
44
+
45
+ desc "Show version"
46
+ task :version do
47
+ puts "PryCoolline version: #{PryCoolline::VERSION}"
48
+ 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
89
+
90
+
@@ -1,3 +1,3 @@
1
- module PryCoolline
2
- VERSION = "0.1.3"
3
- end
1
+ module PryCoolline
2
+ VERSION = "0.1.4"
3
+ end
data/pry-coolline.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "pry-coolline"
5
- s.version = "0.1.3"
5
+ s.version = "0.1.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["John Mair (banisterfiend)"]
@@ -21,14 +21,14 @@ Gem::Specification.new do |s|
21
21
  s.specification_version = 3
22
22
 
23
23
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
24
- s.add_runtime_dependency(%q<coolline>, ["~> 0.1.0"])
24
+ s.add_runtime_dependency(%q<coolline>, ["~> 0.2.0"])
25
25
  s.add_runtime_dependency(%q<io-console>, ["~> 0.3.0"])
26
26
  else
27
- s.add_dependency(%q<coolline>, ["~> 0.1.0"])
27
+ s.add_dependency(%q<coolline>, ["~> 0.2.0"])
28
28
  s.add_dependency(%q<io-console>, ["~> 0.3.0"])
29
29
  end
30
30
  else
31
- s.add_dependency(%q<coolline>, ["~> 0.1.0"])
31
+ s.add_dependency(%q<coolline>, ["~> 0.2.0"])
32
32
  s.add_dependency(%q<io-console>, ["~> 0.3.0"])
33
33
  end
34
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-coolline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,18 +13,18 @@ date: 2012-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: coolline
16
- requirement: &70288428368700 !ruby/object:Gem::Requirement
16
+ requirement: &70349095133840 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.1.0
21
+ version: 0.2.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70288428368700
24
+ version_requirements: *70349095133840
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: io-console
27
- requirement: &70288428366140 !ruby/object:Gem::Requirement
27
+ requirement: &70349095133360 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 0.3.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70288428366140
35
+ version_requirements: *70349095133360
36
36
  description: Live syntax-highlighting for the Pry REPL
37
37
  email: jrmair@gmail.com
38
38
  executables: []