has_image 0.4.0 → 0.4.0.1
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.md +5 -1
- data/Rakefile +10 -1
- data/lib/has_image/railtie.rb +1 -1
- data/lib/has_image/version.rb +1 -1
- metadata +2 -1
data/README.md
CHANGED
@@ -91,6 +91,10 @@ and add it to your Gemfile (Rails 3.0.x) or environment.rb (Rails 2.x).
|
|
91
91
|
|
92
92
|
Then, add a column named `has_image_file` to your model.
|
93
93
|
|
94
|
+
## API Docs
|
95
|
+
|
96
|
+
[http://norman.github.com/has_image/](http://norman.github.com/has_image/)
|
97
|
+
|
94
98
|
## Source code
|
95
99
|
|
96
100
|
[http://github.com/norman/has_image](http://github.com/norman/has_image)
|
@@ -144,7 +148,7 @@ of Rails.
|
|
144
148
|
|
145
149
|
## Bugs
|
146
150
|
|
147
|
-
Please report them on the Github issue tracker.
|
151
|
+
Please report them on the [Github issue tracker](http://github.com/norman/has_image/issues).
|
148
152
|
|
149
153
|
Copyright (c) 2008-2010 Norman Clarke and Adrian Mugnolo. Released under the MIT
|
150
154
|
License.
|
data/Rakefile
CHANGED
@@ -14,4 +14,13 @@ Rake::TestTask.new(:test) do |t|
|
|
14
14
|
t.libs << 'test'
|
15
15
|
t.pattern = 'test/**/*_test.rb'
|
16
16
|
t.verbose = true
|
17
|
-
end
|
17
|
+
end
|
18
|
+
|
19
|
+
begin
|
20
|
+
require "yard"
|
21
|
+
YARD::Rake::YardocTask.new do |t|
|
22
|
+
t.options = ["--output-dir=doc"]
|
23
|
+
t.options << "--files" << ["Changelog.md"].join(",")
|
24
|
+
end
|
25
|
+
rescue LoadError
|
26
|
+
end
|
data/lib/has_image/railtie.rb
CHANGED
data/lib/has_image/version.rb
CHANGED