stashboxr 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -1
- data/VERSION +1 -1
- data/lib/stashboxr.rb +1 -1
- data/stashboxr.gemspec +5 -5
- metadata +15 -4
data/README.rdoc
CHANGED
@@ -29,4 +29,5 @@ You can upload files and edit their metadata with either an anonymous or registe
|
|
29
29
|
== Todo
|
30
30
|
|
31
31
|
* Add the feature to input a know code for a specific file so it can be edited at a later date
|
32
|
-
* Figure out why the know code isn't returned when the API is used to upload a file
|
32
|
+
* Figure out why the know code isn't returned when the API is used to upload a file
|
33
|
+
* Bad logins not detected properly
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/lib/stashboxr.rb
CHANGED
@@ -188,7 +188,7 @@ class Stashboxr
|
|
188
188
|
res = Agent.post("http://stashbox.org/manage_file/"<<@stashboxid,{
|
189
189
|
:tags => @tags * " ",
|
190
190
|
:meta_title => @title,
|
191
|
-
:meta_description => @
|
191
|
+
:meta_description => @description,
|
192
192
|
:is_nsfw => !@sfw,
|
193
193
|
:is_public => @public
|
194
194
|
})
|
data/stashboxr.gemspec
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{stashboxr}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["JP Hastings-Spital"]
|
12
|
-
s.date = %q{2010-06-
|
12
|
+
s.date = %q{2010-06-10}
|
13
13
|
s.description = %q{Upload files to stashbox.org and manage their metadata. User accounts or anonymous uploads!}
|
14
14
|
s.email = %q{jphastings@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
|
25
25
|
s.homepage = %q{http://github.com/jphastings/StashboxR}
|
26
26
|
s.rdoc_options = ["--charset=UTF-8"]
|
27
27
|
s.require_paths = ["lib"]
|
28
|
-
s.rubygems_version = %q{1.3.
|
28
|
+
s.rubygems_version = %q{1.3.7}
|
29
29
|
s.summary = %q{A ruby api for the stashbox.org website}
|
30
30
|
s.test_files = [
|
31
31
|
"test/helper.rb",
|
@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
|
|
36
36
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
37
37
|
s.specification_version = 3
|
38
38
|
|
39
|
-
if Gem::Version.new(Gem::
|
39
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
40
40
|
s.add_runtime_dependency(%q<mechanize>, [">= 1.0.0"])
|
41
41
|
s.add_development_dependency(%q<Shoulda>, [">= 0"])
|
42
42
|
else
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stashboxr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 19
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- JP Hastings-Spital
|
@@ -14,16 +15,18 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-06-
|
18
|
+
date: 2010-06-10 00:00:00 +01:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: mechanize
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 23
|
27
30
|
segments:
|
28
31
|
- 1
|
29
32
|
- 0
|
@@ -35,9 +38,11 @@ dependencies:
|
|
35
38
|
name: Shoulda
|
36
39
|
prerelease: false
|
37
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
38
42
|
requirements:
|
39
43
|
- - ">="
|
40
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
41
46
|
segments:
|
42
47
|
- 0
|
43
48
|
version: "0"
|
@@ -57,6 +62,8 @@ files:
|
|
57
62
|
- VERSION
|
58
63
|
- lib/stashboxr.rb
|
59
64
|
- stashboxr.gemspec
|
65
|
+
- test/helper.rb
|
66
|
+
- test/test_stashboxr.rb
|
60
67
|
has_rdoc: true
|
61
68
|
homepage: http://github.com/jphastings/StashboxR
|
62
69
|
licenses: []
|
@@ -67,23 +74,27 @@ rdoc_options:
|
|
67
74
|
require_paths:
|
68
75
|
- lib
|
69
76
|
required_ruby_version: !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
70
78
|
requirements:
|
71
79
|
- - ">="
|
72
80
|
- !ruby/object:Gem::Version
|
81
|
+
hash: 3
|
73
82
|
segments:
|
74
83
|
- 0
|
75
84
|
version: "0"
|
76
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
|
+
none: false
|
77
87
|
requirements:
|
78
88
|
- - ">="
|
79
89
|
- !ruby/object:Gem::Version
|
90
|
+
hash: 3
|
80
91
|
segments:
|
81
92
|
- 0
|
82
93
|
version: "0"
|
83
94
|
requirements: []
|
84
95
|
|
85
96
|
rubyforge_project:
|
86
|
-
rubygems_version: 1.3.
|
97
|
+
rubygems_version: 1.3.7
|
87
98
|
signing_key:
|
88
99
|
specification_version: 3
|
89
100
|
summary: A ruby api for the stashbox.org website
|