bond 0.4.3-java → 0.5.0-java

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f68182f9114f917c9cd6098120ed34b0f9b68e8e
4
+ data.tar.gz: ee75371d0bbf02a3f85aca6b622af46b28b6e4b1
5
+ SHA512:
6
+ metadata.gz: 40cbd3f3b2d124a5cc5e19ec329c31046da8dfb5a366173c28e1bb0caa87268996f26569eafc4ada3d62664b5506871c8d200947a26dbe336b9f72959cc32d7d
7
+ data.tar.gz: 2defc9c261d8acda82e8c6b3063de0def7e066105cc6536b35456a72b724ef44fbf58b384f4e9f01f916331fb3328649a69634b2497b51e1481e580ff26abacd
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: java
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
@@ -91,6 +82,14 @@ extra_rdoc_files:
91
82
  - README.rdoc
92
83
  - LICENSE.txt
93
84
  files:
85
+ - ".gemspec"
86
+ - ".travis.yml"
87
+ - CHANGELOG.rdoc
88
+ - CONTRIBUTING.md
89
+ - LICENSE.txt
90
+ - README.rdoc
91
+ - Rakefile
92
+ - lib/bond.rb
94
93
  - lib/bond/agent.rb
95
94
  - lib/bond/completion.rb
96
95
  - lib/bond/completions/activerecord.rb
@@ -116,7 +115,6 @@ files:
116
115
  - lib/bond/readlines/ruby.rb
117
116
  - lib/bond/search.rb
118
117
  - lib/bond/version.rb
119
- - lib/bond.rb
120
118
  - test/agent_test.rb
121
119
  - test/anywhere_mission_test.rb
122
120
  - test/bond_test.rb
@@ -129,39 +127,31 @@ files:
129
127
  - test/operator_method_mission_test.rb
130
128
  - test/search_test.rb
131
129
  - test/test_helper.rb
132
- - LICENSE.txt
133
- - CHANGELOG.rdoc
134
- - README.rdoc
135
- - test/deps.rip
136
- - Rakefile
137
- - .gemspec
138
- - .travis.yml
139
130
  homepage: http://tagaholic.me/bond/
140
131
  licenses:
141
132
  - MIT
133
+ metadata: {}
142
134
  post_install_message:
143
135
  rdoc_options:
144
- - --title
145
- - Bond 0.4.3 Documentation
136
+ - "--title"
137
+ - Bond 0.5.0 Documentation
146
138
  require_paths:
147
139
  - lib
148
140
  required_ruby_version: !ruby/object:Gem::Requirement
149
- none: false
150
141
  requirements:
151
- - - ! '>='
142
+ - - ">="
152
143
  - !ruby/object:Gem::Version
153
144
  version: '0'
154
145
  required_rubygems_version: !ruby/object:Gem::Requirement
155
- none: false
156
146
  requirements:
157
- - - ! '>='
147
+ - - ">="
158
148
  - !ruby/object:Gem::Version
159
149
  version: 1.3.6
160
150
  requirements: []
161
151
  rubyforge_project:
162
- rubygems_version: 1.8.24
152
+ rubygems_version: 2.2.0
163
153
  signing_key:
164
- specification_version: 3
165
- summary: ! 'Mission: Easy custom autocompletion for arguments, methods and beyond.
166
- Accomplished for irb and any other readline-like console environments.'
154
+ specification_version: 4
155
+ summary: 'Mission: Easy custom autocompletion for arguments, methods and beyond. Accomplished
156
+ for irb and any other readline-like console environments.'
167
157
  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