repl 0.2.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +6 -22
  2. data/bin/repl +1 -1
  3. metadata +23 -14
data/Rakefile CHANGED
@@ -1,31 +1,14 @@
1
- module Repl
2
- Version = '0.2.1'
3
- end
1
+ $LOAD_PATH.unshift 'lib'
2
+ require "repl/version"
4
3
 
5
4
  def version
6
- Repl::Version
5
+ Repl::VERSION
7
6
  end
8
7
 
9
8
  def git(command)
10
9
  system("git #{command}")
11
10
  end
12
11
 
13
-
14
- begin
15
- require 'jeweler'
16
- Jeweler::Tasks.new do |gemspec|
17
- gemspec.name = "repl"
18
- gemspec.summary = gemspec.description = "repl tenderly wraps another program"
19
- gemspec.homepage = "http://github.com/defunkt/repl"
20
- gemspec.version = version
21
- gemspec.authors = ["Chris Wanstrath"]
22
- gemspec.email = "chris@ozmm.org"
23
- end
24
- rescue LoadError
25
- puts "Jeweler not available."
26
- puts "Install it with: gem install jeweler"
27
- end
28
-
29
12
  desc "Build manual"
30
13
  task :build_man do
31
14
  sh "ron -br5 --organization=DEFUNKT man/*.ron"
@@ -37,12 +20,13 @@ task :man => :build_man do
37
20
  end
38
21
 
39
22
  desc "Push a new version to Gemcutter"
40
- task :publish => [ :gemspec, :build ] do
23
+ task :publish do
41
24
  git "tag v#{version}"
42
25
  git "push origin v#{version}"
43
26
  git "push origin master"
44
27
  git "push origin master:latest"
45
- system "gem push pkg/repl-#{version}.gem"
28
+ sh "gem build repl.gemspec"
29
+ sh "gem push repl-#{version}.gem"
46
30
  git "clean -fd"
47
31
  exec "rake pages"
48
32
  end
data/bin/repl CHANGED
@@ -87,7 +87,7 @@ if debug
87
87
  end
88
88
 
89
89
  loop do
90
- print ENV['REPL_PROMPT'] || '>> '
90
+ print ENV['REPL_PROMPT'] || "#{ARGV[0]}>> "
91
91
 
92
92
  begin
93
93
  line = $stdin.gets.chomp
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: repl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 0
8
+ - 0
9
+ version: 1.0.0
5
10
  platform: ruby
6
11
  authors:
7
12
  - Chris Wanstrath
@@ -9,23 +14,25 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-01-04 00:00:00 -08:00
13
- default_executable: repl
17
+ date: 2010-05-14 00:00:00 -07:00
18
+ default_executable:
14
19
  dependencies: []
15
20
 
16
- description: repl tenderly wraps another program
21
+ description: |
22
+ repl is an interactive program which tenderly wraps another,
23
+ non-interactive program, providing you with a repl shell.
24
+
17
25
  email: chris@ozmm.org
18
26
  executables:
19
27
  - repl
20
28
  extensions: []
21
29
 
22
- extra_rdoc_files:
23
- - LICENSE
24
- - README.md
30
+ extra_rdoc_files: []
31
+
25
32
  files:
26
- - LICENSE
27
33
  - README.md
28
34
  - Rakefile
35
+ - LICENSE
29
36
  - bin/repl
30
37
  - man/repl.1
31
38
  - man/repl.1.html
@@ -35,28 +42,30 @@ homepage: http://github.com/defunkt/repl
35
42
  licenses: []
36
43
 
37
44
  post_install_message:
38
- rdoc_options:
39
- - --charset=UTF-8
45
+ rdoc_options: []
46
+
40
47
  require_paths:
41
48
  - lib
42
49
  required_ruby_version: !ruby/object:Gem::Requirement
43
50
  requirements:
44
51
  - - ">="
45
52
  - !ruby/object:Gem::Version
53
+ segments:
54
+ - 0
46
55
  version: "0"
47
- version:
48
56
  required_rubygems_version: !ruby/object:Gem::Requirement
49
57
  requirements:
50
58
  - - ">="
51
59
  - !ruby/object:Gem::Version
60
+ segments:
61
+ - 0
52
62
  version: "0"
53
- version:
54
63
  requirements: []
55
64
 
56
65
  rubyforge_project:
57
- rubygems_version: 1.3.5
66
+ rubygems_version: 1.3.6
58
67
  signing_key:
59
68
  specification_version: 3
60
- summary: repl tenderly wraps another program
69
+ summary: sometimes you need a repl
61
70
  test_files: []
62
71