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 +1 -1
- data/flydata.gemspec +1 -1
- data/lib/flydata/command/sender.rb +2 -1
- data/lib/flydata/command/setup.rb +3 -5
- data/lib/flydata/cron.rb +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.1.
|
1
|
+
0.0.1.2011102602
|
data/flydata.gemspec
CHANGED
@@ -28,7 +28,8 @@ module Flydata
|
|
28
28
|
retry_count = 10
|
29
29
|
ready = false
|
30
30
|
1.upto(retry_count) do |i|
|
31
|
-
|
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
|
22
|
+
unless shown = show_registered_entries and not more_entry?
|
23
23
|
begin
|
24
|
-
unless shown
|
25
|
-
|
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
|
-
|
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.
|
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:
|
278
|
+
hash: 3242420887991988647
|
279
279
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
280
|
none: false
|
281
281
|
requirements:
|