shelr 0.12.4 → 0.12.5

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -6,6 +6,8 @@ gem 'rake'
6
6
  gem "pry"
7
7
  gem "pry-nav"
8
8
 
9
+ gem 'ronn'
10
+
9
11
  gem "rspec"
10
12
  gem "aruba", :git => 'git://github.com/cucumber/aruba.git'
11
13
  gem "simplecov"
data/Gemfile.lock CHANGED
@@ -40,9 +40,11 @@ GEM
40
40
  guard (>= 0.2.2)
41
41
  guard-rspec (0.7.0)
42
42
  guard (>= 0.10.0)
43
+ hpricot (0.8.5)
43
44
  json (1.6.5)
44
45
  method_source (0.7.1)
45
46
  multi_json (1.1.0)
47
+ mustache (0.99.4)
46
48
  pry (0.9.8.2)
47
49
  coderay (~> 1.0.5)
48
50
  method_source (~> 0.7)
@@ -50,6 +52,11 @@ GEM
50
52
  pry-nav (0.1.0)
51
53
  pry (~> 0.9.8.1)
52
54
  rake (0.9.2.2)
55
+ rdiscount (1.6.8)
56
+ ronn (0.7.3)
57
+ hpricot (>= 0.8.2)
58
+ mustache (>= 0.7.0)
59
+ rdiscount (>= 1.5.8)
53
60
  rspec (2.8.0)
54
61
  rspec-core (~> 2.8.0)
55
62
  rspec-expectations (~> 2.8.0)
@@ -79,5 +86,6 @@ DEPENDENCIES
79
86
  pry
80
87
  pry-nav
81
88
  rake
89
+ ronn
82
90
  rspec
83
91
  simplecov
data/Rakefile CHANGED
@@ -12,4 +12,9 @@ task :merge do
12
12
  `chmod +x ./shelr`
13
13
  end
14
14
 
15
+ task :man do
16
+ `bundle exec ronn shelr.1.ronn`
17
+ `rm shelr.1.html`
18
+ end
19
+
15
20
  task :default => :spec
data/bin/shelr CHANGED
@@ -13,6 +13,7 @@ HELP = <<-HELP
13
13
  Recording:
14
14
 
15
15
  record - record new shellcast
16
+ stop - stop recording (or just ctrl+d)
16
17
 
17
18
  Publishing:
18
19
 
@@ -60,6 +61,10 @@ when 'play'
60
61
  Shelr::Player.list
61
62
  puts "Select one..."
62
63
  end
64
+ when 'stop'
65
+ puts '=> Now you can push your record'
66
+ puts '=> shelr push last'
67
+ exit 0
63
68
  when 'dump'
64
69
  if ARGV[1]
65
70
  Shelr::Publisher.new.dump(ARGV[1])
data/lib/shelr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Shelr
2
- VERSION = '0.12.4'
2
+ VERSION = '0.12.5'
3
3
  end
data/shelr.1 CHANGED
@@ -22,6 +22,10 @@ Also you can shere Your records at http://shelr\.tv/ or other services\.
22
22
  Will record your terminal unless you type \fBexit\fR or Ctrl+D and store it to $HOME/\.local/share/shelr/
23
23
  .
24
24
  .TP
25
+ \fBstop\fR
26
+ Will stop recording\. You can just type exit in shell or Ctrl+D\. Record will be stored to $HOME/\.local/share/shelr/
27
+ .
28
+ .TP
25
29
  \fBlist\fR
26
30
  lists all your shellcasts\.
27
31
  .
data/shelr.1.ronn CHANGED
@@ -18,6 +18,10 @@ or other services.
18
18
  Will record your terminal unless you type `exit` or Ctrl+D and
19
19
  store it to $HOME/.local/share/shelr/
20
20
 
21
+ * `stop`:
22
+ Will stop recording. You can just type exit in shell or Ctrl+D.
23
+ Record will be stored to $HOME/.local/share/shelr/
24
+
21
25
  * `list`:
22
26
  lists all your shellcasts.
23
27
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shelr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.4
4
+ version: 0.12.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -84,18 +84,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  - - ! '>='
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
- segments:
88
- - 0
89
- hash: 2904017191069490073
90
87
  required_rubygems_version: !ruby/object:Gem::Requirement
91
88
  none: false
92
89
  requirements:
93
90
  - - ! '>='
94
91
  - !ruby/object:Gem::Version
95
92
  version: '0'
96
- segments:
97
- - 0
98
- hash: 2904017191069490073
99
93
  requirements: []
100
94
  rubyforge_project:
101
95
  rubygems_version: 1.8.21