surely 0.3.3 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/surely/uploader.rb +1 -1
- data/lib/surely/version.rb +1 -1
- data/surely.gemspec +1 -1
- metadata +9 -29
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7b47143420a2916cb8623fdb68e1189c16f8ab35
|
4
|
+
data.tar.gz: 1f125e33ee9dcf53504314fe43de27ea3eb586dd
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8cfccaee7de36e87d358e4bb6dfbc7fece36f4201d8c0bbf6ce747449228887bbb9fd66a5f7bd953db546a8f2ec3d7cf3df1246e98bdacb610803af38312ec66
|
7
|
+
data.tar.gz: c2f9053d78e99742878096d633d186e2d6136c12a2319af793e63c8a74b1d30a011b8c3928a940eae0d6cf0d7fe8baa5f5c5bd95870669f1dd73a47e7151761f
|
data/lib/surely/uploader.rb
CHANGED
@@ -96,7 +96,7 @@ module Surely
|
|
96
96
|
Raad::Logger.info 'Uploading... '
|
97
97
|
refresh_token!
|
98
98
|
|
99
|
-
if uploaded_file = upload_file(
|
99
|
+
if uploaded_file = upload_file(added.first)
|
100
100
|
Raad::Logger.info "Done! Uploaded #{uploaded_file['link']}"
|
101
101
|
system "say -v 'Fred' 'Uploaded'"
|
102
102
|
IO.popen('pbcopy', 'w+') { |f| f << uploaded_file['link'].chomp }
|
data/lib/surely/version.rb
CHANGED
data/surely.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.require_paths = ["lib"]
|
19
19
|
|
20
20
|
s.add_runtime_dependency "faraday", '~> 0.8'
|
21
|
-
s.add_runtime_dependency "listen", '~> 1.
|
21
|
+
s.add_runtime_dependency "listen", '~> 1.3'
|
22
22
|
s.add_runtime_dependency "multi_json", '~> 1.7'
|
23
23
|
s.add_runtime_dependency "yajl-ruby", '~> 1.1'
|
24
24
|
s.add_runtime_dependency "raad", '~> 0.5'
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: surely
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: '0.4'
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Rémi Prévost
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-09-13 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: faraday
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,23 +27,20 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: listen
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: '1.
|
33
|
+
version: '1.3'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: '1.
|
40
|
+
version: '1.3'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: multi_json
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: yajl-ruby
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: raad
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -94,7 +83,6 @@ dependencies:
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: rake
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
87
|
- - ~>
|
100
88
|
- !ruby/object:Gem::Version
|
@@ -102,7 +90,6 @@ dependencies:
|
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
94
|
- - ~>
|
108
95
|
- !ruby/object:Gem::Version
|
@@ -130,33 +117,26 @@ files:
|
|
130
117
|
homepage: http://github.com/remiprev/surely
|
131
118
|
licenses:
|
132
119
|
- MIT
|
120
|
+
metadata: {}
|
133
121
|
post_install_message:
|
134
122
|
rdoc_options: []
|
135
123
|
require_paths:
|
136
124
|
- lib
|
137
125
|
required_ruby_version: !ruby/object:Gem::Requirement
|
138
|
-
none: false
|
139
126
|
requirements:
|
140
|
-
- -
|
127
|
+
- - '>='
|
141
128
|
- !ruby/object:Gem::Version
|
142
129
|
version: '0'
|
143
|
-
segments:
|
144
|
-
- 0
|
145
|
-
hash: 3945166615765738048
|
146
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
|
-
none: false
|
148
131
|
requirements:
|
149
|
-
- -
|
132
|
+
- - '>='
|
150
133
|
- !ruby/object:Gem::Version
|
151
134
|
version: '0'
|
152
|
-
segments:
|
153
|
-
- 0
|
154
|
-
hash: 3945166615765738048
|
155
135
|
requirements: []
|
156
136
|
rubyforge_project:
|
157
|
-
rubygems_version: 1.
|
137
|
+
rubygems_version: 2.1.0
|
158
138
|
signing_key:
|
159
|
-
specification_version:
|
139
|
+
specification_version: 4
|
160
140
|
summary: Surely watches your screenshots directory and upload new files to your imgur
|
161
141
|
account.
|
162
142
|
test_files: []
|