slothbear-redcap 0.7.1 → 0.7.2
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/README.rdoc +2 -2
- data/Rakefile +2 -1
- data/VERSION.yml +1 -1
- data/bin/redcap +3 -2
- data/redcap.gemspec +5 -4
- metadata +12 -5
- data/.document +0 -5
- data/doc/placeholder +0 -0
data/README.rdoc
CHANGED
|
@@ -21,10 +21,10 @@ Amend this line in redcap to fit your installation and give it a try.
|
|
|
21
21
|
== usage
|
|
22
22
|
|
|
23
23
|
Upload a JPG:
|
|
24
|
-
redcap
|
|
24
|
+
redcap first_name last_name SL_password your_image.jpg
|
|
25
25
|
|
|
26
26
|
Upload a PNG to the preview grid:
|
|
27
|
-
redcap -g preview
|
|
27
|
+
redcap -g preview first_name last_name SL_password picture.png
|
|
28
28
|
|
|
29
29
|
Note you can upload any image format that your installation of ImageMagick
|
|
30
30
|
can read.
|
data/Rakefile
CHANGED
|
@@ -12,7 +12,8 @@ begin
|
|
|
12
12
|
# gem.platform = Gem::Platform::Ruby
|
|
13
13
|
gem.has_rdoc = false
|
|
14
14
|
gem.required_ruby_version = '>=1.8'
|
|
15
|
-
|
|
15
|
+
gem.add_dependency('builder')
|
|
16
|
+
|
|
16
17
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
|
17
18
|
end
|
|
18
19
|
|
data/VERSION.yml
CHANGED
data/bin/redcap
CHANGED
|
@@ -26,7 +26,7 @@ synopsis = %{# == Synopsis
|
|
|
26
26
|
#
|
|
27
27
|
# == Usage
|
|
28
28
|
#
|
|
29
|
-
# redcap [OPTIONS]
|
|
29
|
+
# redcap [OPTIONS] first_name last_name password image_file
|
|
30
30
|
#
|
|
31
31
|
# --help, -h:
|
|
32
32
|
# show help
|
|
@@ -62,7 +62,8 @@ case ARGV.size
|
|
|
62
62
|
when 4
|
|
63
63
|
first_name, last_name, password, image_file = ARGV
|
|
64
64
|
else
|
|
65
|
-
puts "
|
|
65
|
+
puts "usage: redcap first_name, last_name, password, image_file"
|
|
66
|
+
puts " redcap --help"
|
|
66
67
|
exit
|
|
67
68
|
end
|
|
68
69
|
|
data/redcap.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{redcap}
|
|
5
|
-
s.version = "0.7.
|
|
5
|
+
s.version = "0.7.2"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Paul Morganthall"]
|
|
@@ -15,14 +15,12 @@ Gem::Specification.new do |s|
|
|
|
15
15
|
"README.rdoc"
|
|
16
16
|
]
|
|
17
17
|
s.files = [
|
|
18
|
-
".
|
|
19
|
-
".gitignore",
|
|
18
|
+
".gitignore",
|
|
20
19
|
"LICENSE",
|
|
21
20
|
"README.rdoc",
|
|
22
21
|
"Rakefile",
|
|
23
22
|
"VERSION.yml",
|
|
24
23
|
"bin/redcap",
|
|
25
|
-
"doc/placeholder",
|
|
26
24
|
"lib/redcap/uploader.rb",
|
|
27
25
|
"redcap.gemspec",
|
|
28
26
|
"test/redcap_image.jpc",
|
|
@@ -54,8 +52,11 @@ Gem::Specification.new do |s|
|
|
|
54
52
|
s.specification_version = 2
|
|
55
53
|
|
|
56
54
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
|
55
|
+
s.add_runtime_dependency(%q<builder>, [">= 0"])
|
|
57
56
|
else
|
|
57
|
+
s.add_dependency(%q<builder>, [">= 0"])
|
|
58
58
|
end
|
|
59
59
|
else
|
|
60
|
+
s.add_dependency(%q<builder>, [">= 0"])
|
|
60
61
|
end
|
|
61
62
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: slothbear-redcap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Paul Morganthall
|
|
@@ -11,8 +11,17 @@ cert_chain: []
|
|
|
11
11
|
|
|
12
12
|
date: 2009-07-24 00:00:00 -07:00
|
|
13
13
|
default_executable: redcap
|
|
14
|
-
dependencies:
|
|
15
|
-
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: builder
|
|
17
|
+
type: :runtime
|
|
18
|
+
version_requirement:
|
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
20
|
+
requirements:
|
|
21
|
+
- - ">="
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: "0"
|
|
24
|
+
version:
|
|
16
25
|
description:
|
|
17
26
|
email: slothbear@constella.org
|
|
18
27
|
executables:
|
|
@@ -23,14 +32,12 @@ extra_rdoc_files:
|
|
|
23
32
|
- LICENSE
|
|
24
33
|
- README.rdoc
|
|
25
34
|
files:
|
|
26
|
-
- .document
|
|
27
35
|
- .gitignore
|
|
28
36
|
- LICENSE
|
|
29
37
|
- README.rdoc
|
|
30
38
|
- Rakefile
|
|
31
39
|
- VERSION.yml
|
|
32
40
|
- bin/redcap
|
|
33
|
-
- doc/placeholder
|
|
34
41
|
- lib/redcap/uploader.rb
|
|
35
42
|
- redcap.gemspec
|
|
36
43
|
- test/redcap_image.jpc
|
data/.document
DELETED
data/doc/placeholder
DELETED
|
File without changes
|