cloudapp-cli 1.0.0.beta.2 → 1.0.0.beta.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloudapp-cli (1.0.0.beta.2)
4
+ cloudapp-cli (1.0.0.beta.3)
5
5
  cloudapp (~> 2.0.0.beta.1)
6
6
  ffi-ncurses
7
7
  highline
data/bin/cloudapp CHANGED
@@ -27,6 +27,7 @@ def require_credentials
27
27
  end
28
28
 
29
29
  def log(*args)
30
+ return unless File.exists?('log/curses.txt')
30
31
  File.open('log/curses.txt', 'ab+') do |file|
31
32
  file.puts args.inspect
32
33
  end
@@ -133,7 +134,6 @@ def popup_window(parent, text)
133
134
  yield
134
135
  else
135
136
  ch = wgetch win
136
- log 'popup', ch
137
137
  flushinp
138
138
  ungetch ch
139
139
  end
@@ -154,7 +154,6 @@ t = Copy thumbnail link
154
154
  HELP
155
155
  popup_window win, help
156
156
  ch = wgetch win
157
- log 'show_help', ch
158
157
  ungetch ch unless ch == ??.ord
159
158
  end
160
159
 
@@ -173,7 +172,6 @@ begin
173
172
  selected_drop = select_drop win, 0, drops
174
173
 
175
174
  while c = wgetch(win)
176
- log 'wgetch', c
177
175
  case c
178
176
  when ?q.ord
179
177
  break
@@ -216,8 +214,6 @@ begin
216
214
  link = drops[selected_drop].thumbnail_url
217
215
  copy link
218
216
  popup_window win, 'Copied thumbnail link.'
219
- else
220
- log 'unknown key', c
221
217
  end
222
218
 
223
219
  delwin win
data/cloudapp-cli.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'cloudapp-cli'
16
- s.version = '1.0.0.beta.2'
16
+ s.version = '1.0.0.beta.3'
17
17
  s.date = '2012-08-18'
18
18
  s.rubyforge_project = 'cloudapp-cli'
19
19
 
data/lib/cloudapp/cli.rb CHANGED
@@ -3,6 +3,6 @@ require 'cloudapp/cli/config'
3
3
 
4
4
  module CloudApp
5
5
  module CLI
6
- VERSION = '1.0.0.beta.2'
6
+ VERSION = '1.0.0.beta.3'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudapp-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta.2
4
+ version: 1.0.0.beta.3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: