flydata 0.0.1.2011102601 → 0.0.1.2011102602

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1.2011102601
1
+ 0.0.1.2011102602
data/flydata.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "flydata"
8
- s.version = "0.0.1.2011102601"
8
+ s.version = "0.0.1.2011102602"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Koichi Fujikawa"]
@@ -28,7 +28,8 @@ module Flydata
28
28
  retry_count = 10
29
29
  ready = false
30
30
  1.upto(retry_count) do |i|
31
- if (ready or ready = client_ready?) and uploaded_successfully?(data_port_id)
31
+ ready ||= client_ready?
32
+ if ready and uploaded_successfully?(data_port_id)
32
33
  say('Done.')
33
34
  say("Go to your Dashboard! http://#{Flydata::FLYDATA_API_HOST}")
34
35
  return true
@@ -19,12 +19,10 @@ module Flydata
19
19
  Flydata::Command::Login.new.run unless flydata.credentials.authenticated?
20
20
 
21
21
  # choose entries
22
- unless shown = show_registered_entries and !(more_entry?)
22
+ unless shown = show_registered_entries and not more_entry?
23
23
  begin
24
- unless shown
25
- show_registered_entries
26
- shown = false
27
- end
24
+ show_registered_entries unless shown
25
+ shown = false
28
26
  path = choose_log_path_from_examples
29
27
  case path
30
28
  when OTHER; ask_log_path
data/lib/flydata/cron.rb CHANGED
@@ -11,8 +11,8 @@ module Flydata
11
11
  ROUTINE_COMMAND=ROUTINE_BASE_COMMAND
12
12
  end
13
13
 
14
- #CRON_LINE="15 4 * * * #{ROUTINE_COMMAND}"
15
- CRON_LINE="* * * * * #{ROUTINE_COMMAND}"
14
+ CRON_LINE="15 4 * * * #{ROUTINE_COMMAND}"
15
+ #CRON_LINE="* * * * * #{ROUTINE_COMMAND}"
16
16
  REMOVE_OPTION="-r"
17
17
 
18
18
  def initialize
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flydata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.2011102601
4
+ version: 0.0.1.2011102602
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -275,7 +275,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
275
275
  version: '0'
276
276
  segments:
277
277
  - 0
278
- hash: 2346901440603012980
278
+ hash: 3242420887991988647
279
279
  required_rubygems_version: !ruby/object:Gem::Requirement
280
280
  none: false
281
281
  requirements: