png2swf 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Naoki Maeda
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,10 @@
1
+ = Png2swf
2
+
3
+ == Usage
4
+
5
+ require 'png2swf'
6
+ Png2swf::DefineBitsLossless2.image2data_from_file('path/to/png')
7
+
8
+ == About
9
+
10
+ License: MIT (see LICENSE)
@@ -1,3 +1,3 @@
1
1
  module Png2swf
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/png2swf.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require "png2swf/version"
2
+ require "png2swf/define_bits_lossless2"
2
3
 
3
4
  module Png2swf
4
5
  end
data/png2swf.gemspec CHANGED
@@ -25,4 +25,7 @@ Gem::Specification.new do |s|
25
25
  s.add_development_dependency('rake')
26
26
  s.add_development_dependency('rake-compiler')
27
27
  s.add_development_dependency('rspec', '~> 2')
28
+
29
+ s.rdoc_options << '--title' << s.name << '--main' << 'README.rdoc' << '--line-numbers' << '--inline-source'
30
+ s.extra_rdoc_files = ['README.rdoc']
28
31
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: png2swf
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Naoki Maeda
@@ -83,11 +83,12 @@ executables: []
83
83
 
84
84
  extensions:
85
85
  - ext/oily_png2swf/extconf.rb
86
- extra_rdoc_files: []
87
-
86
+ extra_rdoc_files:
87
+ - README.rdoc
88
88
  files:
89
89
  - .gitignore
90
90
  - Gemfile
91
+ - LICENSE
91
92
  - Rakefile
92
93
  - ext/oily_png2swf/MANIFEST
93
94
  - ext/oily_png2swf/Makefile
@@ -97,13 +98,19 @@ files:
97
98
  - lib/png2swf/define_bits_lossless2.rb
98
99
  - lib/png2swf/version.rb
99
100
  - png2swf.gemspec
101
+ - README.rdoc
100
102
  has_rdoc: true
101
103
  homepage: http://wiki.github.com/maedana/png2swf
102
104
  licenses: []
103
105
 
104
106
  post_install_message:
105
- rdoc_options: []
106
-
107
+ rdoc_options:
108
+ - --title
109
+ - png2swf
110
+ - --main
111
+ - README.rdoc
112
+ - --line-numbers
113
+ - --inline-source
107
114
  require_paths:
108
115
  - lib
109
116
  - ext