flydata 0.0.3.5 → 0.0.3.6

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.3.5
1
+ 0.0.3.6
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "flydata"
8
- s.version = "0.0.3.5"
8
+ s.version = "0.0.3.6"
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"]
@@ -15,17 +15,8 @@ module Flydata
15
15
  end
16
16
 
17
17
  def run
18
- # Check authentication token
19
- begin
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.5
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: -3676718197553447961
278
+ hash: -292233040597083940
279
279
  required_rubygems_version: !ruby/object:Gem::Requirement
280
280
  none: false
281
281
  requirements: