redcar-dev 0.13.0dev → 0.13.1dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGES +2 -1
  2. data/lib/redcar.rb +12 -11
  3. data/redcar.gemspec +68 -0
  4. metadata +45 -49
data/CHANGES CHANGED
@@ -3,7 +3,8 @@ Version 0.13 (TBA)
3
3
 
4
4
  * Move all language settings options into the Edit menu, for easier discoverability.(Dan Lucraft)
5
5
  * Move the change tab language command into the Edit menu, and make it a filter list. (Dan Lucraft)
6
-
6
+ * extended the FilterListDialog class to support icons, by merging in the outline_view plugin (Dan Lucraft)
7
+ * implemented project-wide Find declaration (Project/Find declaration) (Dan Lucraft)
7
8
 
8
9
  Version 0.12 (7th January 2012)
9
10
  ===============================
@@ -14,17 +14,18 @@ require 'uri'
14
14
  require 'fileutils'
15
15
  require 'net/http'
16
16
 
17
- # If we are running as a Gem, set the gem home so that our gemified
18
- # jruby can find the installed gems.
19
- #
20
- # (The Gemfile.lock file is never put into the gem, so if it
21
- # exists we must be running in a development environment.)
22
- unless File.exist?(File.expand_path("../../Gemfile.lock", __FILE__))
23
- ENV["GEM_HOME"] = File.expand_path("../../../../", __FILE__)
17
+ require 'rubygems'
18
+
19
+ # If we are running as a Gem, don't use bundler and also set the gem home
20
+ # so our gemified jruby can find the installed gems.
21
+ prospective_gem_home = File.expand_path("../../../../", __FILE__)
22
+ entries_in_gem_home = Dir[prospective_gem_home + "/*"].map {|path| File.basename(path) }
23
+ if (["cache", "gems"] - entries_in_gem_home).length == 0
24
+ ENV["GEM_HOME"] = prospective_gem_home
25
+ else
26
+ require 'bundler/setup'
24
27
  end
25
28
 
26
- require 'rubygems'
27
- require 'bundler/setup'
28
29
  require 'redcar-icons'
29
30
 
30
31
  begin
@@ -68,10 +69,10 @@ end
68
69
  #
69
70
  # and so on.
70
71
  module Redcar
71
- VERSION = '0.13.0dev' # also change in the gemspec!
72
+ VERSION = '0.13.1dev' # also change in the gemspec!
72
73
  VERSION_MAJOR = 0
73
74
  VERSION_MINOR = 13
74
- VERSION_RELEASE = 0
75
+ VERSION_RELEASE = 1
75
76
 
76
77
  ENVIRONMENTS = [:user, :debug, :test]
77
78
 
@@ -0,0 +1,68 @@
1
+
2
+ class RedcarGemspecHelper
3
+ def self.remove_gitignored_files(filelist)
4
+ gitignore_file = File.expand_path("../.gitignore", __FILE__)
5
+ if File.exist?(gitignore_file)
6
+ ignores = File.readlines(gitignore_file)
7
+ ignores = ignores.select {|ignore| ignore.chomp.strip != "" and ignore !~ /^#/}
8
+ ignores = ignores.map {|ignore| Regexp.new(ignore.chomp.gsub(".", "\\.").gsub("*", ".*"))}
9
+ r = filelist.select {|fn| not ignores.any? {|ignore| fn =~ ignore }}
10
+ r.select {|fn| fn !~ /\.git/ }
11
+ else
12
+ filelist
13
+ end
14
+ end
15
+
16
+ def self.remove_matching_files(list, string)
17
+ list.reject {|entry| entry.include?(string)}
18
+ end
19
+
20
+ def self.gem_manifest
21
+ r = %w(CHANGES LICENSE Rakefile README.md Gemfile Rakefile redcar.gemspec) +
22
+ Dir.glob("bin/redcar") +
23
+ Dir.glob("vendor/**/*") +
24
+ remove_gitignored_files(Dir.glob("lib/**/*")) +
25
+ remove_gitignored_files(Dir.glob("plugins/**/*"))
26
+ remove_matching_files(r, "multi-byte")
27
+ end
28
+ end
29
+
30
+ Gem::Specification.new do |s|
31
+ s.name = "redcar-dev"
32
+ s.version = "0.13.1dev" # also change in lib/redcar.rb
33
+ s.platform = "ruby"
34
+ s.authors = ["Daniel Lucraft"]
35
+ s.email = ["dan@fluentradical.com"]
36
+ s.homepage = "http://github.com/danlucraft/redcar"
37
+ s.summary = "A pure Ruby text editor"
38
+ s.description = ""
39
+
40
+ s.files = RedcarGemspecHelper.gem_manifest
41
+ s.executables = ["redcar"]
42
+ s.require_path = 'lib'
43
+
44
+ s.add_dependency("git")
45
+ s.add_dependency("spoon")
46
+ s.add_dependency("lucene", "~> 0.5.0.beta.1")
47
+ s.add_dependency("bundler")
48
+ s.add_dependency("net-ssh")
49
+ s.add_dependency("net-sftp")
50
+ s.add_dependency("net-ftp-list")
51
+ s.add_dependency("jruby-openssl")
52
+ s.add_dependency("ruby-blockcache")
53
+ s.add_dependency("bouncy-castle-java")
54
+
55
+ s.add_dependency("swt")
56
+ s.add_dependency("plugin_manager")
57
+ s.add_dependency("redcar-icons")
58
+ s.add_dependency("redcar-jruby")
59
+ s.add_dependency("redcar-svnkit")
60
+ s.add_dependency("redcar-bundles")
61
+ s.add_dependency("redcar-javamateview")
62
+ s.add_dependency("redcar-xulrunner-win") if s.platform.to_s =~ /win/
63
+
64
+ s.add_development_dependency("cucumber", "=1.1.2")
65
+ s.add_development_dependency("rspec")
66
+ s.add_development_dependency("watchr")
67
+ end
68
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redcar-dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0dev
4
+ version: 0.13.1dev
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-08 00:00:00.000000000Z
12
+ date: 2012-01-09 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: git
16
- requirement: &70340102495900 !ruby/object:Gem::Requirement
16
+ requirement: &70263861554580 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70340102495900
24
+ version_requirements: *70263861554580
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: spoon
27
- requirement: &70340102495480 !ruby/object:Gem::Requirement
27
+ requirement: &70263861553720 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70340102495480
35
+ version_requirements: *70263861553720
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: lucene
38
- requirement: &70340102494980 !ruby/object:Gem::Requirement
38
+ requirement: &70263861552500 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.5.0.beta.1
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70340102494980
46
+ version_requirements: *70263861552500
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
- requirement: &70340102494560 !ruby/object:Gem::Requirement
49
+ requirement: &70263861551560 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70340102494560
57
+ version_requirements: *70263861551560
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: net-ssh
60
- requirement: &70340102494100 !ruby/object:Gem::Requirement
60
+ requirement: &70263861550280 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70340102494100
68
+ version_requirements: *70263861550280
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: net-sftp
71
- requirement: &70340102493680 !ruby/object:Gem::Requirement
71
+ requirement: &70263861549320 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70340102493680
79
+ version_requirements: *70263861549320
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: net-ftp-list
82
- requirement: &70340102493260 !ruby/object:Gem::Requirement
82
+ requirement: &70263861548400 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *70340102493260
90
+ version_requirements: *70263861548400
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: jruby-openssl
93
- requirement: &70340107220620 !ruby/object:Gem::Requirement
93
+ requirement: &70263861547160 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *70340107220620
101
+ version_requirements: *70263861547160
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: ruby-blockcache
104
- requirement: &70340107220200 !ruby/object:Gem::Requirement
104
+ requirement: &70263861546200 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '0'
110
110
  type: :runtime
111
111
  prerelease: false
112
- version_requirements: *70340107220200
112
+ version_requirements: *70263861546200
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: bouncy-castle-java
115
- requirement: &70340107219780 !ruby/object:Gem::Requirement
115
+ requirement: &70263861545200 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: '0'
121
121
  type: :runtime
122
122
  prerelease: false
123
- version_requirements: *70340107219780
123
+ version_requirements: *70263861545200
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: swt
126
- requirement: &70340107219360 !ruby/object:Gem::Requirement
126
+ requirement: &70263861544080 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ! '>='
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: '0'
132
132
  type: :runtime
133
133
  prerelease: false
134
- version_requirements: *70340107219360
134
+ version_requirements: *70263861544080
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: plugin_manager
137
- requirement: &70340107218940 !ruby/object:Gem::Requirement
137
+ requirement: &70263861542820 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: '0'
143
143
  type: :runtime
144
144
  prerelease: false
145
- version_requirements: *70340107218940
145
+ version_requirements: *70263861542820
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: redcar-icons
148
- requirement: &70340107218520 !ruby/object:Gem::Requirement
148
+ requirement: &70263861541620 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: '0'
154
154
  type: :runtime
155
155
  prerelease: false
156
- version_requirements: *70340107218520
156
+ version_requirements: *70263861541620
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: redcar-jruby
159
- requirement: &70340107218100 !ruby/object:Gem::Requirement
159
+ requirement: &70263861540380 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ! '>='
@@ -164,10 +164,10 @@ dependencies:
164
164
  version: '0'
165
165
  type: :runtime
166
166
  prerelease: false
167
- version_requirements: *70340107218100
167
+ version_requirements: *70263861540380
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: redcar-svnkit
170
- requirement: &70340107217680 !ruby/object:Gem::Requirement
170
+ requirement: &70263861539360 !ruby/object:Gem::Requirement
171
171
  none: false
172
172
  requirements:
173
173
  - - ! '>='
@@ -175,10 +175,10 @@ dependencies:
175
175
  version: '0'
176
176
  type: :runtime
177
177
  prerelease: false
178
- version_requirements: *70340107217680
178
+ version_requirements: *70263861539360
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: redcar-bundles
181
- requirement: &70340107217260 !ruby/object:Gem::Requirement
181
+ requirement: &70263861538360 !ruby/object:Gem::Requirement
182
182
  none: false
183
183
  requirements:
184
184
  - - ! '>='
@@ -186,10 +186,10 @@ dependencies:
186
186
  version: '0'
187
187
  type: :runtime
188
188
  prerelease: false
189
- version_requirements: *70340107217260
189
+ version_requirements: *70263861538360
190
190
  - !ruby/object:Gem::Dependency
191
191
  name: redcar-javamateview
192
- requirement: &70340107216840 !ruby/object:Gem::Requirement
192
+ requirement: &70263861537540 !ruby/object:Gem::Requirement
193
193
  none: false
194
194
  requirements:
195
195
  - - ! '>='
@@ -197,10 +197,10 @@ dependencies:
197
197
  version: '0'
198
198
  type: :runtime
199
199
  prerelease: false
200
- version_requirements: *70340107216840
200
+ version_requirements: *70263861537540
201
201
  - !ruby/object:Gem::Dependency
202
202
  name: cucumber
203
- requirement: &70340107216320 !ruby/object:Gem::Requirement
203
+ requirement: &70263861536240 !ruby/object:Gem::Requirement
204
204
  none: false
205
205
  requirements:
206
206
  - - =
@@ -208,10 +208,10 @@ dependencies:
208
208
  version: 1.1.2
209
209
  type: :development
210
210
  prerelease: false
211
- version_requirements: *70340107216320
211
+ version_requirements: *70263861536240
212
212
  - !ruby/object:Gem::Dependency
213
213
  name: rspec
214
- requirement: &70340107215900 !ruby/object:Gem::Requirement
214
+ requirement: &70263861535180 !ruby/object:Gem::Requirement
215
215
  none: false
216
216
  requirements:
217
217
  - - ! '>='
@@ -219,10 +219,10 @@ dependencies:
219
219
  version: '0'
220
220
  type: :development
221
221
  prerelease: false
222
- version_requirements: *70340107215900
222
+ version_requirements: *70263861535180
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: watchr
225
- requirement: &70340107215440 !ruby/object:Gem::Requirement
225
+ requirement: &70263861534040 !ruby/object:Gem::Requirement
226
226
  none: false
227
227
  requirements:
228
228
  - - ! '>='
@@ -230,24 +230,21 @@ dependencies:
230
230
  version: '0'
231
231
  type: :development
232
232
  prerelease: false
233
- version_requirements: *70340107215440
233
+ version_requirements: *70263861534040
234
234
  description: ''
235
235
  email:
236
236
  - dan@fluentradical.com
237
237
  executables:
238
238
  - redcar
239
239
  extensions: []
240
- extra_rdoc_files:
241
- - README.md
242
- - LICENSE
243
- - CHANGES
244
- - Gemfile
245
- - Rakefile
240
+ extra_rdoc_files: []
246
241
  files:
247
242
  - CHANGES
248
243
  - LICENSE
249
244
  - Rakefile
250
245
  - README.md
246
+ - Gemfile
247
+ - redcar.gemspec
251
248
  - bin/redcar
252
249
  - vendor/ffi-1.0.11-java/History.txt
253
250
  - vendor/ffi-1.0.11-java/lib/ffi.rb
@@ -936,7 +933,6 @@ files:
936
933
  - plugins/web_bookmarks/lib/web_bookmarks.rb
937
934
  - plugins/web_bookmarks/plugin.rb
938
935
  - plugins/web_bookmarks/Screenshot.png
939
- - Gemfile
940
936
  homepage: http://github.com/danlucraft/redcar
941
937
  licenses: []
942
938
  post_install_message: