flydata 0.0.3.5 → 0.0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/flydata.gemspec +1 -1
- data/lib/flydata/command/setup.rb +2 -22
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.3.
|
1
|
+
0.0.3.6
|
data/flydata.gemspec
CHANGED
@@ -15,17 +15,8 @@ module Flydata
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def run
|
18
|
-
#
|
19
|
-
|
20
|
-
flydata.get('/data_entries')
|
21
|
-
rescue => e
|
22
|
-
if e.respond_to?('response') and e.response.code == 401
|
23
|
-
puts("Error logging in, Please enter login information")
|
24
|
-
Flydata::Command::Login.new.run #Check credentials for every run in case corruption
|
25
|
-
else
|
26
|
-
raise e
|
27
|
-
end
|
28
|
-
end
|
18
|
+
#login
|
19
|
+
Flydata::Command::Login.new.run unless flydata.credentials.authenticated?
|
29
20
|
|
30
21
|
# choose entries
|
31
22
|
unless (shown = show_registered_entries)
|
@@ -37,15 +28,7 @@ module Flydata
|
|
37
28
|
begin
|
38
29
|
show_registered_entries unless shown
|
39
30
|
shown = false
|
40
|
-
<<<<<<< HEAD
|
41
|
-
path = choose_log_path_from_examples
|
42
|
-
case path
|
43
|
-
when OTHER; ask_log_path
|
44
|
-
else; create_log_entry(path)
|
45
|
-
end
|
46
|
-
=======
|
47
31
|
choose_log_selection(list)
|
48
|
-
>>>>>>> feature/auto_scan_logs
|
49
32
|
newline
|
50
33
|
end while more_entry?
|
51
34
|
end
|
@@ -103,8 +86,6 @@ module Flydata
|
|
103
86
|
newline
|
104
87
|
end
|
105
88
|
create_log_entry(path)
|
106
|
-
<<<<<<< HEAD
|
107
|
-
=======
|
108
89
|
end
|
109
90
|
def build_recommended_entries
|
110
91
|
path_options=[]
|
@@ -157,7 +138,6 @@ module Flydata
|
|
157
138
|
end
|
158
139
|
end
|
159
140
|
create_log_entry(path)
|
160
|
-
>>>>>>> feature/auto_scan_logs
|
161
141
|
end
|
162
142
|
def ask_log_deletion(path)
|
163
143
|
unless File.writable?(path)
|
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.3.
|
4
|
+
version: 0.0.3.6
|
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: -292233040597083940
|
279
279
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
280
|
none: false
|
281
281
|
requirements:
|