bond 0.4.3 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ca372e9b5f70dafcc3717d4f2cfffb886337f103
4
+ data.tar.gz: 5f5b8a08dc31cf06fde145b1a3f33a94dbc63a56
5
+ SHA512:
6
+ metadata.gz: 93aac0d8a688aa129d86fe715777fbe94c1f7a6c86b3836f3a9a4b27e67f364e9ae3eefd263aad1afb4dfe86bd8b94d162db5aa97f0413f4d5b5976aa4e251b5
7
+ data.tar.gz: 4b8175eadb23058e38ce55337e6487ea8f02caec18294834918ba932f175f0eab4aa687ef01891956da6291e1fd89dd69181e58027a794aad901c7509327eb2d
data/.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.add_development_dependency 'mocha', '~> 0.12.1'
19
19
  s.add_development_dependency 'mocha-on-bacon', '~> 0.2.1'
20
20
  s.add_development_dependency 'bacon-bits'
21
- s.files = Dir.glob(%w[{lib,test}/**/*.rb bin/* [A-Z]*.{txt,rdoc} **/deps.rip]) + %w{Rakefile .gemspec .travis.yml}
21
+ s.files = Dir.glob(%w[{lib,test}/**/*.rb bin/* [A-Z]*.{txt,rdoc,md}]) + %w{Rakefile .gemspec .travis.yml}
22
22
  if ENV['GEM_PLATFORM'] != 'java'
23
23
  s.files += Dir.glob("ext/**/*.{rb,c}")
24
24
  s.extensions = ["ext/readline_line_buffer/extconf.rb"]
@@ -5,5 +5,6 @@ rvm:
5
5
  - 1.9.2
6
6
  - 1.9.3
7
7
  - 2.0.0
8
+ - 2.1.0
8
9
  - rbx
9
10
  - jruby
@@ -1,7 +1,10 @@
1
+ == 0.5.0
2
+ * Fixes to support latest rb-readline and jruby
3
+
1
4
  == 0.4.3
2
5
  * Fix to support ruby 2.0
3
6
  * Fix to support objects with invalid .class
4
- * Fix mocha dev ependency issue
7
+ * Fix mocha dev dependency issue
5
8
 
6
9
  == 0.4.2
7
10
  * Start also releasing java version of gem
@@ -0,0 +1 @@
1
+ Thanks for trying out this project! [See here for contribution guidelines.](http://tagaholic.me/contributing.html)
@@ -224,6 +224,7 @@ has good instructions for reinstalling ruby with the official Readline.
224
224
  * headius and rking for jruby help
225
225
  * ConradIrwin for 2.0 and other fixes
226
226
  * tobias for a java version of the gem
227
+ * yui-knk, rev112 and dre-hh for bug fixes.
227
228
 
228
229
  == Bugs/Issues
229
230
  Please report them {on github}[http://github.com/cldwalker/bond/issues].
@@ -1,7 +1,7 @@
1
1
  # This is the mission called when none of the others match.
2
2
  class Bond::DefaultMission < Bond::Mission
3
3
  ReservedWords = [
4
- "BEGIN", "END", "alias", "and", "begin", "break", "case", "class", "def", "defined", "do", "else", "elsif", "end", "ensure",
4
+ "BEGIN", "END", "alias", "and", "begin", "break", "case", "class", "def", "defined?", "do", "else", "elsif", "end", "ensure",
5
5
  "false", "for", "if", "in", "module", "next", "nil", "not", "or", "redo", "rescue", "retry", "return", "self", "super",
6
6
  "then", "true", "undef", "unless", "until", "when", "while", "yield"
7
7
  ]
@@ -4,7 +4,7 @@ class Bond::Jruby < Bond::Readline
4
4
  require 'readline'
5
5
  require 'jruby'
6
6
  class << Readline
7
- ReadlineExt = org.jruby.ext.Readline
7
+ ReadlineExt = org.jruby.ext.readline.Readline
8
8
  def line_buffer
9
9
  ReadlineExt.s_get_line_buffer(JRuby.runtime.current_context, JRuby.reference(self))
10
10
  end
@@ -1,7 +1,7 @@
1
1
  # A pure ruby readline which requires {rb-readline}[https://github.com/luislavena/rb-readline].
2
2
  class Bond::Ruby < Bond::Readline
3
3
  def self.readline_setup
4
- require 'rb-readline'
4
+ require 'readline'
5
5
  rescue LoadError
6
6
  abort "Bond Error: rb-readline gem is required for this readline plugin" +
7
7
  " -> gem install rb-readline"
@@ -1,3 +1,3 @@
1
1
  module Bond
2
- VERSION = '0.4.3'
2
+ VERSION = '0.5.0'
3
3
  end
metadata CHANGED
@@ -1,78 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bond
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
5
- prerelease:
4
+ version: 0.5.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Gabriel Horner
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-12-07 00:00:00.000000000 Z
11
+ date: 2014-01-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bacon
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.1.0
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.1.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: mocha
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: 0.12.1
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: 0.12.1
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: mocha-on-bacon
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: 0.2.1
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: 0.2.1
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: bacon-bits
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  description: Bond is on a mission to improve autocompletion in ruby, especially for
@@ -92,6 +83,16 @@ extra_rdoc_files:
92
83
  - README.rdoc
93
84
  - LICENSE.txt
94
85
  files:
86
+ - ".gemspec"
87
+ - ".travis.yml"
88
+ - CHANGELOG.rdoc
89
+ - CONTRIBUTING.md
90
+ - LICENSE.txt
91
+ - README.rdoc
92
+ - Rakefile
93
+ - ext/readline_line_buffer/extconf.rb
94
+ - ext/readline_line_buffer/readline_line_buffer.c
95
+ - lib/bond.rb
95
96
  - lib/bond/agent.rb
96
97
  - lib/bond/completion.rb
97
98
  - lib/bond/completions/activerecord.rb
@@ -117,7 +118,6 @@ files:
117
118
  - lib/bond/readlines/ruby.rb
118
119
  - lib/bond/search.rb
119
120
  - lib/bond/version.rb
120
- - lib/bond.rb
121
121
  - test/agent_test.rb
122
122
  - test/anywhere_mission_test.rb
123
123
  - test/bond_test.rb
@@ -130,41 +130,31 @@ files:
130
130
  - test/operator_method_mission_test.rb
131
131
  - test/search_test.rb
132
132
  - test/test_helper.rb
133
- - LICENSE.txt
134
- - CHANGELOG.rdoc
135
- - README.rdoc
136
- - test/deps.rip
137
- - Rakefile
138
- - .gemspec
139
- - .travis.yml
140
- - ext/readline_line_buffer/extconf.rb
141
- - ext/readline_line_buffer/readline_line_buffer.c
142
133
  homepage: http://tagaholic.me/bond/
143
134
  licenses:
144
135
  - MIT
136
+ metadata: {}
145
137
  post_install_message:
146
138
  rdoc_options:
147
- - --title
148
- - Bond 0.4.3 Documentation
139
+ - "--title"
140
+ - Bond 0.5.0 Documentation
149
141
  require_paths:
150
142
  - lib
151
143
  required_ruby_version: !ruby/object:Gem::Requirement
152
- none: false
153
144
  requirements:
154
- - - ! '>='
145
+ - - ">="
155
146
  - !ruby/object:Gem::Version
156
147
  version: '0'
157
148
  required_rubygems_version: !ruby/object:Gem::Requirement
158
- none: false
159
149
  requirements:
160
- - - ! '>='
150
+ - - ">="
161
151
  - !ruby/object:Gem::Version
162
152
  version: 1.3.6
163
153
  requirements: []
164
154
  rubyforge_project:
165
- rubygems_version: 1.8.24
155
+ rubygems_version: 2.2.0
166
156
  signing_key:
167
- specification_version: 3
168
- summary: ! 'Mission: Easy custom autocompletion for arguments, methods and beyond.
169
- Accomplished for irb and any other readline-like console environments.'
157
+ specification_version: 4
158
+ summary: 'Mission: Easy custom autocompletion for arguments, methods and beyond. Accomplished
159
+ for irb and any other readline-like console environments.'
170
160
  test_files: []
@@ -1,4 +0,0 @@
1
- bacon >=1.1.0
2
- mocha >=0.9.8
3
- mocha-on-bacon >=0
4
- bacon-bits >=0