ripltools 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. data/.gemspec +32 -0
  2. data/CHANGELOG.rdoc +2 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.rdoc +50 -0
  5. data/Rakefile +35 -0
  6. data/lib/ripltools.rb +19 -0
  7. metadata +254 -0
data/.gemspec ADDED
@@ -0,0 +1,32 @@
1
+ # -*- encoding: utf-8 -*-
2
+ name = 'ripltools'
3
+
4
+ require 'rubygems' unless defined? Gem
5
+ require File.dirname(__FILE__) + "/lib/" + name
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = name
9
+ s.version = Ripltools::VERSION
10
+ s.authors = ["Jan Lelis"]
11
+ s.email = "mail@janlelis.de"
12
+ s.homepage = "http://github.com/janlelis/" + name
13
+ s.summary = "A meta gem for ripl plugins"
14
+ s.description = "This is a meta gem which installs some useful ripl plugins for a nice-to-use general purpose ripl."
15
+ s.required_rubygems_version = ">= 1.3.6"
16
+ s.add_dependency 'ripl', '>= 0.2.8'
17
+ s.add_dependency 'gem-man'
18
+ s.add_dependency 'hirb', '>= 0.3.5'
19
+ s.add_dependency 'ripl-multi_line', '~> 0.2'
20
+ s.add_dependency 'ripl-auto_indent', '~> 0.1'
21
+ s.add_dependency 'ripl-short_errors', '~> 0.1'
22
+ s.add_dependency 'ripl-color_error', '~> 0.1'
23
+ s.add_dependency 'ripl-color_result', '~> 0.2'
24
+ s.add_dependency 'ripl-color_streams', '>= 0.1.2'
25
+ s.add_dependency 'ripl-play'
26
+ s.add_dependency 'ripl-commands'
27
+ s.add_dependency 'ripl-after_rc', '~> 0.1'
28
+ s.add_dependency 'ripl-profiles', '>= 0.1.2'
29
+ s.files = Dir.glob(%w[{lib,test}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c} **/deps.rip]) + %w{Rakefile .gemspec}
30
+ s.extra_rdoc_files = ["README.rdoc", "LICENSE.txt"]
31
+ s.license = 'MIT'
32
+ end
data/CHANGELOG.rdoc ADDED
@@ -0,0 +1,2 @@
1
+ == 0.1.0
2
+ * Initial release.
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ The MIT LICENSE
2
+
3
+ Copyright (c) 2010 Jan Lelis
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,50 @@
1
+ = ripltools
2
+
3
+ This is a meta gem which installs some useful {ripl}[https://github.com/cldwalker/ripl] plugins for a nice-to-use general purpose _ripl_.
4
+
5
+ == Setup
6
+
7
+ gem install ripltools
8
+
9
+ == Usage
10
+ To use it, put the following in your <tt>~/.riplrc</tt> file (this file is loaded every time you start _ripl_):
11
+
12
+ require 'ripltools'
13
+
14
+ If it does not exist, just create a new one.
15
+
16
+ You cannot modify the loaded plugins. If you want to change them, copy the source of this gem and paste it in your <tt>.riplrc</tt>.
17
+
18
+ Alternatively, you can use ripltools to easily install the plugins, but require manually the ones you want.
19
+
20
+ === Irbtools
21
+ The {irbtools}[https://github.com/janlelis/irbtools] gem is compatible with _ripl_ and _ripltools_. Ripltools only includes _ripl_-specific gems, while _irbtools_ includes general "Ruby console features" (e.g. {interactive_editor}[https://github.com/jberkel/interactive_editor]).
22
+
23
+ === Included gems
24
+
25
+ * {ripl}[https://github.com/cldwalker/ripl]
26
+ * {gem-man}[https://github.com/defunkt/gem-man]
27
+ * {hirb}[https://github.com/cldwalker/hirb]
28
+ * {ripl-multi_line}[https://github.com/janlelis/ripl-multi_line]
29
+ * {ripl-auto_indent}[https://github.com/janlelis/ripl-auto_indent]
30
+ * {ripl-short_errors}[https://github.com/janlelis/ripl-misc/blob/master/lib/ripl/short_errors.rb]
31
+ * {ripl-color_error}[https://github.com/cldwalker/ripl-color_error]
32
+ * {ripl-color_result}[https://github.com/janlelis/ripl-color_result]
33
+ * {ripl-color_streams}[https://github.com/janlelis/ripl-color_streams]
34
+ * {ripl-play}[https://github.com/cldwalker/ripl-play]
35
+ * {ripl-commands}[https://github.com/cldwalker/ripl-commands]
36
+ * {ripl-after_rc}[https://github.com/cldwalker/ripl-after_rc]
37
+ * {ripl-profiles}[https://github.com/janlelis/profiles]
38
+
39
+
40
+ === Other interesting ripl plugins, but not included in ripltools
41
+
42
+ The {ripl github page}[https://github.com/cldwalker/ripl] has a large list of available plugins. You can also search through rubygems with:
43
+
44
+ gem list -r ripl-.*
45
+
46
+ == Copyright
47
+
48
+ Copyright (c) 2010 Jan Lelis <http://code-needs-smileys.com> released under the MIT license.
49
+
50
+ J-_-L
data/Rakefile ADDED
@@ -0,0 +1,35 @@
1
+ require 'rake'
2
+ require 'fileutils'
3
+
4
+ def gemspec
5
+ @gemspec ||= eval(File.read('.gemspec'), binding, '.gemspec')
6
+ end
7
+
8
+ desc "Build the gem"
9
+ task :gem=>:gemspec do
10
+ sh "gem build .gemspec"
11
+ FileUtils.mkdir_p 'pkg'
12
+ FileUtils.mv "#{gemspec.name}-#{gemspec.version}.gem", 'pkg'
13
+ end
14
+
15
+ desc "Install the gem locally"
16
+ task :install => :gem do
17
+ sh %{gem install pkg/#{gemspec.name}-#{gemspec.version}}
18
+ end
19
+
20
+ desc "Generate the gemspec"
21
+ task :generate do
22
+ puts gemspec.to_ruby
23
+ end
24
+
25
+ desc "Validate the gemspec"
26
+ task :gemspec do
27
+ gemspec.validate
28
+ end
29
+
30
+ desc 'Run tests'
31
+ task :test do |t|
32
+ sh 'bacon -q -Ilib -I. test/*_test.rb'
33
+ end
34
+
35
+ task :default => :test
data/lib/ripltools.rb ADDED
@@ -0,0 +1,19 @@
1
+ require 'ripl'
2
+
3
+ module Ripltools
4
+ VERSION = '0.1.0'
5
+ end
6
+
7
+ libraries = %w[multi_line auto_indent short_errors color_error color_result color_streams commands after_rc hirb profiles]
8
+ # btw, the rocket is coming soon ;)
9
+
10
+ libraries.each{ |lib|
11
+ begin
12
+ require "ripl/#{lib}"
13
+
14
+ rescue LoadError => err
15
+ warn "Couldn't load a ripl plugin: #{err}"
16
+ end
17
+ }
18
+
19
+ # J-_-L
metadata ADDED
@@ -0,0 +1,254 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ripltools
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
10
+ platform: ruby
11
+ authors:
12
+ - Jan Lelis
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-12-16 00:00:00 +01:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: ripl
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
30
+ - 2
31
+ - 8
32
+ version: 0.2.8
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: gem-man
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ segments:
44
+ - 0
45
+ version: "0"
46
+ type: :runtime
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: hirb
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ segments:
57
+ - 0
58
+ - 3
59
+ - 5
60
+ version: 0.3.5
61
+ type: :runtime
62
+ version_requirements: *id003
63
+ - !ruby/object:Gem::Dependency
64
+ name: ripl-multi_line
65
+ prerelease: false
66
+ requirement: &id004 !ruby/object:Gem::Requirement
67
+ none: false
68
+ requirements:
69
+ - - ~>
70
+ - !ruby/object:Gem::Version
71
+ segments:
72
+ - 0
73
+ - 2
74
+ version: "0.2"
75
+ type: :runtime
76
+ version_requirements: *id004
77
+ - !ruby/object:Gem::Dependency
78
+ name: ripl-auto_indent
79
+ prerelease: false
80
+ requirement: &id005 !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ segments:
86
+ - 0
87
+ - 1
88
+ version: "0.1"
89
+ type: :runtime
90
+ version_requirements: *id005
91
+ - !ruby/object:Gem::Dependency
92
+ name: ripl-short_errors
93
+ prerelease: false
94
+ requirement: &id006 !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ~>
98
+ - !ruby/object:Gem::Version
99
+ segments:
100
+ - 0
101
+ - 1
102
+ version: "0.1"
103
+ type: :runtime
104
+ version_requirements: *id006
105
+ - !ruby/object:Gem::Dependency
106
+ name: ripl-color_error
107
+ prerelease: false
108
+ requirement: &id007 !ruby/object:Gem::Requirement
109
+ none: false
110
+ requirements:
111
+ - - ~>
112
+ - !ruby/object:Gem::Version
113
+ segments:
114
+ - 0
115
+ - 1
116
+ version: "0.1"
117
+ type: :runtime
118
+ version_requirements: *id007
119
+ - !ruby/object:Gem::Dependency
120
+ name: ripl-color_result
121
+ prerelease: false
122
+ requirement: &id008 !ruby/object:Gem::Requirement
123
+ none: false
124
+ requirements:
125
+ - - ~>
126
+ - !ruby/object:Gem::Version
127
+ segments:
128
+ - 0
129
+ - 2
130
+ version: "0.2"
131
+ type: :runtime
132
+ version_requirements: *id008
133
+ - !ruby/object:Gem::Dependency
134
+ name: ripl-color_streams
135
+ prerelease: false
136
+ requirement: &id009 !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ segments:
142
+ - 0
143
+ - 1
144
+ - 2
145
+ version: 0.1.2
146
+ type: :runtime
147
+ version_requirements: *id009
148
+ - !ruby/object:Gem::Dependency
149
+ name: ripl-play
150
+ prerelease: false
151
+ requirement: &id010 !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ segments:
157
+ - 0
158
+ version: "0"
159
+ type: :runtime
160
+ version_requirements: *id010
161
+ - !ruby/object:Gem::Dependency
162
+ name: ripl-commands
163
+ prerelease: false
164
+ requirement: &id011 !ruby/object:Gem::Requirement
165
+ none: false
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ segments:
170
+ - 0
171
+ version: "0"
172
+ type: :runtime
173
+ version_requirements: *id011
174
+ - !ruby/object:Gem::Dependency
175
+ name: ripl-after_rc
176
+ prerelease: false
177
+ requirement: &id012 !ruby/object:Gem::Requirement
178
+ none: false
179
+ requirements:
180
+ - - ~>
181
+ - !ruby/object:Gem::Version
182
+ segments:
183
+ - 0
184
+ - 1
185
+ version: "0.1"
186
+ type: :runtime
187
+ version_requirements: *id012
188
+ - !ruby/object:Gem::Dependency
189
+ name: ripl-profiles
190
+ prerelease: false
191
+ requirement: &id013 !ruby/object:Gem::Requirement
192
+ none: false
193
+ requirements:
194
+ - - ">="
195
+ - !ruby/object:Gem::Version
196
+ segments:
197
+ - 0
198
+ - 1
199
+ - 2
200
+ version: 0.1.2
201
+ type: :runtime
202
+ version_requirements: *id013
203
+ description: This is a meta gem which installs some useful ripl plugins for a nice-to-use general purpose ripl.
204
+ email: mail@janlelis.de
205
+ executables: []
206
+
207
+ extensions: []
208
+
209
+ extra_rdoc_files:
210
+ - README.rdoc
211
+ - LICENSE.txt
212
+ files:
213
+ - lib/ripltools.rb
214
+ - LICENSE.txt
215
+ - README.rdoc
216
+ - CHANGELOG.rdoc
217
+ - Rakefile
218
+ - .gemspec
219
+ has_rdoc: true
220
+ homepage: http://github.com/janlelis/ripltools
221
+ licenses:
222
+ - MIT
223
+ post_install_message:
224
+ rdoc_options: []
225
+
226
+ require_paths:
227
+ - lib
228
+ required_ruby_version: !ruby/object:Gem::Requirement
229
+ none: false
230
+ requirements:
231
+ - - ">="
232
+ - !ruby/object:Gem::Version
233
+ segments:
234
+ - 0
235
+ version: "0"
236
+ required_rubygems_version: !ruby/object:Gem::Requirement
237
+ none: false
238
+ requirements:
239
+ - - ">="
240
+ - !ruby/object:Gem::Version
241
+ segments:
242
+ - 1
243
+ - 3
244
+ - 6
245
+ version: 1.3.6
246
+ requirements: []
247
+
248
+ rubyforge_project:
249
+ rubygems_version: 1.3.7
250
+ signing_key:
251
+ specification_version: 3
252
+ summary: A meta gem for ripl plugins
253
+ test_files: []
254
+