get_them_all 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/bin/gta CHANGED
@@ -8,6 +8,21 @@ require "thor"
8
8
 
9
9
  class GtaRunner < Thor
10
10
 
11
+ desc "dropbox_session", "create a session for dropbox storage"
12
+ def dropbox_session
13
+
14
+ key = ask("Enter your key:")
15
+ secret = ask("Enter your secret:")
16
+
17
+ # STEP 1: Authorize the user
18
+ session = Dropbox::Session.new(key, secret)
19
+ session.mode = :dropbox
20
+ ask("Visit #{session.authorize_url} to log in to Dropbox. Hit enter when you have done this.")
21
+ session.authorize
22
+
23
+ puts session.serialize
24
+ end
25
+
11
26
  desc "exec [-s <path>] <script_path>", "run a user script"
12
27
  method_option :storage_path, :aliases => '-s', :desc => "path where the data will be saved"
13
28
  def exec(script_path)
data/get_them_all.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.add_runtime_dependency 'hpricot', '~> 0.8.1'
23
23
  s.add_runtime_dependency 'i18n'
24
24
  s.add_runtime_dependency 'activesupport', '~> 3.1.0'
25
- s.add_runtime_dependency 'therubyracer', '~> 0.9.8'
25
+ # s.add_runtime_dependency 'therubyracer', '~> 0.9.8'
26
26
  s.add_runtime_dependency 'dropbox'
27
27
  s.add_runtime_dependency 'girl_friday'
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module GetThemAll
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
3
3
  end
data/lib/get_them_all.rb CHANGED
@@ -18,9 +18,14 @@ Dir.chdir( File.join(File.dirname(__FILE__), "get_them_all") ) do
18
18
 
19
19
  # libraries
20
20
  require './notifier'
21
- require './javascript_loader'
22
21
  require './history'
23
22
 
23
+ begin
24
+ require './javascript_loader'
25
+ rescue LoadError => err
26
+ # therubyracer not available
27
+ end
28
+
24
29
  # Storage
25
30
  require './storage'
26
31
  require './storage/file_storage'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: get_them_all
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-19 00:00:00.000000000Z
12
+ date: 2011-10-22 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &70209320540900 !ruby/object:Gem::Requirement
16
+ requirement: &70117970338380 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70209320540900
24
+ version_requirements: *70117970338380
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: em-http-request
27
- requirement: &70209320540200 !ruby/object:Gem::Requirement
27
+ requirement: &70117970337540 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70209320540200
35
+ version_requirements: *70117970337540
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: em-priority-queue
38
- requirement: &70209320539520 !ruby/object:Gem::Requirement
38
+ requirement: &70117970336720 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.0.2
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70209320539520
46
+ version_requirements: *70117970336720
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: hpricot
49
- requirement: &70209320539020 !ruby/object:Gem::Requirement
49
+ requirement: &70117970335860 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.8.1
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70209320539020
57
+ version_requirements: *70117970335860
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: i18n
60
- requirement: &70209320538500 !ruby/object:Gem::Requirement
60
+ requirement: &70117970335200 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70209320538500
68
+ version_requirements: *70117970335200
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activesupport
71
- requirement: &70209320537860 !ruby/object:Gem::Requirement
71
+ requirement: &70117970334340 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,21 +76,10 @@ dependencies:
76
76
  version: 3.1.0
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70209320537860
80
- - !ruby/object:Gem::Dependency
81
- name: therubyracer
82
- requirement: &70209320537320 !ruby/object:Gem::Requirement
83
- none: false
84
- requirements:
85
- - - ~>
86
- - !ruby/object:Gem::Version
87
- version: 0.9.8
88
- type: :runtime
89
- prerelease: false
90
- version_requirements: *70209320537320
79
+ version_requirements: *70117970334340
91
80
  - !ruby/object:Gem::Dependency
92
81
  name: dropbox
93
- requirement: &70209320536940 !ruby/object:Gem::Requirement
82
+ requirement: &70117970333760 !ruby/object:Gem::Requirement
94
83
  none: false
95
84
  requirements:
96
85
  - - ! '>='
@@ -98,10 +87,10 @@ dependencies:
98
87
  version: '0'
99
88
  type: :runtime
100
89
  prerelease: false
101
- version_requirements: *70209320536940
90
+ version_requirements: *70117970333760
102
91
  - !ruby/object:Gem::Dependency
103
92
  name: girl_friday
104
- requirement: &70209320536260 !ruby/object:Gem::Requirement
93
+ requirement: &70117970333060 !ruby/object:Gem::Requirement
105
94
  none: false
106
95
  requirements:
107
96
  - - ! '>='
@@ -109,7 +98,7 @@ dependencies:
109
98
  version: '0'
110
99
  type: :runtime
111
100
  prerelease: false
112
- version_requirements: *70209320536260
101
+ version_requirements: *70117970333060
113
102
  description: Mass downloader useable as standalone or as a library
114
103
  email: []
115
104
  executables:
@@ -153,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
153
142
  version: '0'
154
143
  segments:
155
144
  - 0
156
- hash: -1397779069642607249
145
+ hash: -3923432015081572517
157
146
  required_rubygems_version: !ruby/object:Gem::Requirement
158
147
  none: false
159
148
  requirements:
@@ -162,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
151
  version: '0'
163
152
  segments:
164
153
  - 0
165
- hash: -1397779069642607249
154
+ hash: -3923432015081572517
166
155
  requirements: []
167
156
  rubyforge_project: get_them_all
168
157
  rubygems_version: 1.8.11