tf_uploader 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/tf_uploader/uploader.rb +3 -1
  2. metadata +16 -16
@@ -35,7 +35,7 @@ class TfUploader::Uploader
35
35
  :favorite => "false",
36
36
  :name => "record",
37
37
  :secret => "U8BsP0TZF",
38
- :timeout => 90000000
38
+ :timeout => 90
39
39
  )
40
40
  if response.code == 201
41
41
  tomb.update_attribute(:uploaded, true)
@@ -45,6 +45,8 @@ class TfUploader::Uploader
45
45
  end
46
46
  rescue RestClient::UnprocessableEntity => e
47
47
  print "422 "
48
+ rescue RestClient::RequestTimeout => e
49
+ print "<|> "
48
50
  ensure
49
51
  STDOUT.flush
50
52
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tf_uploader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-05-08 00:00:00.000000000 Z
13
+ date: 2012-05-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: term-ansicolor
17
- requirement: &70310247169240 !ruby/object:Gem::Requirement
17
+ requirement: &70162557356440 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 1.0.7
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70310247169240
25
+ version_requirements: *70162557356440
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rest-client
28
- requirement: &70310247168640 !ruby/object:Gem::Requirement
28
+ requirement: &70162557355880 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.6.7
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70310247168640
36
+ version_requirements: *70162557355880
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: thor
39
- requirement: &70310247168080 !ruby/object:Gem::Requirement
39
+ requirement: &70162557355280 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 0.14.6
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *70310247168080
47
+ version_requirements: *70162557355280
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: activerecord
50
- requirement: &70310247167500 !ruby/object:Gem::Requirement
50
+ requirement: &70162557354740 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 3.1.3
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *70310247167500
58
+ version_requirements: *70162557354740
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: sqlite3
61
- requirement: &70310247166920 !ruby/object:Gem::Requirement
61
+ requirement: &70162557354120 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ~>
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: 1.3.5
67
67
  type: :runtime
68
68
  prerelease: false
69
- version_requirements: *70310247166920
69
+ version_requirements: *70162557354120
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: sqlite3-ruby
72
- requirement: &70310247192980 !ruby/object:Gem::Requirement
72
+ requirement: &70162557353460 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ~>
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: 1.3.3
78
78
  type: :runtime
79
79
  prerelease: false
80
- version_requirements: *70310247192980
80
+ version_requirements: *70162557353460
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: mini_magick
83
- requirement: &70310247192420 !ruby/object:Gem::Requirement
83
+ requirement: &70162557352600 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ~>
@@ -88,7 +88,7 @@ dependencies:
88
88
  version: '3.4'
89
89
  type: :runtime
90
90
  prerelease: false
91
- version_requirements: *70310247192420
91
+ version_requirements: *70162557352600
92
92
  description: A ruby command line interface for uploading large numbers of tombs to
93
93
  TombFinder
94
94
  email: rosshale@gmail.com