png2swf 0.0.6 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7d3fa20ede598484655321fccb8b02d2b36dedc7
4
+ data.tar.gz: 131b8ab603e3bd62ab615b40fe471be59b97d1cc
5
+ SHA512:
6
+ metadata.gz: bc421a166f3f916bdc24872463ed75d76502d97e2503c30815f84c93c26a03f2f5b440c4a70e78c32bd442eaad80bcc6fd5e4f2080f42f6883f80083d6f3cc0c
7
+ data.tar.gz: bdee9a7381961ca2cde16fae1a4096c6c47155c11d8678c1dfb8357cc89324ae2b1ae12e8e17f6f9ab640b3c5bf3d91f27e95546b990ced3c39d3679e71cecd0
@@ -1,75 +1,120 @@
1
1
 
2
2
  SHELL = /bin/sh
3
3
 
4
+ # V=0 quiet, V=1 verbose. other values don't work.
5
+ V = 0
6
+ Q1 = $(V:1=)
7
+ Q = $(Q1:0=@)
8
+ ECHO1 = $(V:1=@:)
9
+ ECHO = $(ECHO1:0=@echo)
10
+
4
11
  #### Start of system configuration section. ####
5
12
 
6
13
  srcdir = .
7
- topdir = /home/maedana/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/i686-linux
14
+ topdir = /home/maedana/.rbenv/versions/2.1.1/include/ruby-2.1.0
8
15
  hdrdir = $(topdir)
9
- VPATH = $(srcdir):$(topdir):$(hdrdir)
16
+ arch_hdrdir = /home/maedana/.rbenv/versions/2.1.1/include/ruby-2.1.0/i686-linux
17
+ PATH_SEPARATOR = :
18
+ VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
19
+ prefix = $(DESTDIR)/home/maedana/.rbenv/versions/2.1.1
20
+ rubysitearchprefix = $(rubylibprefix)/$(sitearch)
21
+ rubyarchprefix = $(rubylibprefix)/$(arch)
22
+ rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
10
23
  exec_prefix = $(prefix)
11
- prefix = $(DESTDIR)/home/maedana/.rvm/rubies/ruby-1.8.7-p334
12
- sharedstatedir = $(prefix)/com
24
+ vendorarchhdrdir = $(vendorhdrdir)/$(sitearch)
25
+ sitearchhdrdir = $(sitehdrdir)/$(sitearch)
26
+ rubyarchhdrdir = $(rubyhdrdir)/$(arch)
27
+ vendorhdrdir = $(rubyhdrdir)/vendor_ruby
28
+ sitehdrdir = $(rubyhdrdir)/site_ruby
29
+ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
30
+ vendorarchdir = $(vendorlibdir)/$(sitearch)
31
+ vendorlibdir = $(vendordir)/$(ruby_version)
32
+ vendordir = $(rubylibprefix)/vendor_ruby
33
+ sitearchdir = $(sitelibdir)/$(sitearch)
34
+ sitelibdir = $(sitedir)/$(ruby_version)
35
+ sitedir = $(rubylibprefix)/site_ruby
36
+ rubyarchdir = $(rubylibdir)/$(arch)
37
+ rubylibdir = $(rubylibprefix)/$(ruby_version)
38
+ sitearchincludedir = $(includedir)/$(sitearch)
39
+ archincludedir = $(includedir)/$(arch)
40
+ sitearchlibdir = $(libdir)/$(sitearch)
41
+ archlibdir = $(libdir)/$(arch)
42
+ ridir = $(datarootdir)/$(RI_BASE_NAME)
13
43
  mandir = $(datarootdir)/man
14
- psdir = $(docdir)
15
- oldincludedir = $(DESTDIR)/usr/include
16
44
  localedir = $(datarootdir)/locale
17
- bindir = $(exec_prefix)/bin
18
- libexecdir = $(exec_prefix)/libexec
19
- sitedir = $(libdir)/ruby/site_ruby
45
+ libdir = $(exec_prefix)/lib
46
+ psdir = $(docdir)
47
+ pdfdir = $(docdir)
48
+ dvidir = $(docdir)
20
49
  htmldir = $(docdir)
21
- vendorarchdir = $(vendorlibdir)/$(sitearch)
22
- includedir = $(prefix)/include
23
50
  infodir = $(datarootdir)/info
24
- vendorlibdir = $(vendordir)/$(ruby_version)
25
- sysconfdir = $(prefix)/etc
26
- libdir = $(exec_prefix)/lib
27
- sbindir = $(exec_prefix)/sbin
28
- rubylibdir = $(libdir)/ruby/$(ruby_version)
29
51
  docdir = $(datarootdir)/doc/$(PACKAGE)
30
- dvidir = $(docdir)
31
- vendordir = $(libdir)/ruby/vendor_ruby
32
- datarootdir = $(prefix)/share
33
- pdfdir = $(docdir)
34
- archdir = $(rubylibdir)/$(arch)
35
- sitearchdir = $(sitelibdir)/$(sitearch)
36
- datadir = $(datarootdir)
52
+ oldincludedir = $(DESTDIR)/usr/include
53
+ includedir = $(prefix)/include
37
54
  localstatedir = $(prefix)/var
38
- sitelibdir = $(sitedir)/$(ruby_version)
55
+ sharedstatedir = $(prefix)/com
56
+ sysconfdir = $(prefix)/etc
57
+ datadir = $(datarootdir)
58
+ datarootdir = $(prefix)/share
59
+ libexecdir = $(exec_prefix)/libexec
60
+ sbindir = $(exec_prefix)/sbin
61
+ bindir = $(exec_prefix)/bin
62
+ archdir = $(rubyarchdir)
63
+
39
64
 
40
65
  CC = gcc
41
- LIBRUBY = $(LIBRUBY_SO)
66
+ CXX = g++
67
+ LIBRUBY = $(LIBRUBY_A)
42
68
  LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
43
- LIBRUBYARG_SHARED = -Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)
44
- LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
69
+ LIBRUBYARG_SHARED = -Wl,-R -Wl,$(libdir) -L$(libdir)
70
+ LIBRUBYARG_STATIC = -Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static
71
+ empty =
72
+ OUTFLAG = -o $(empty)
73
+ COUTFLAG = -o $(empty)
45
74
 
46
75
  RUBY_EXTCONF_H =
47
- CFLAGS = -fPIC -g -O2 -fPIC $(cflags) -Wall
48
- INCFLAGS = -I. -I$(topdir) -I$(hdrdir) -I$(srcdir)
76
+ cflags = $(optflags) $(debugflags) $(warnflags)
77
+ optflags = -O3 -fno-fast-math
78
+ debugflags = -ggdb3
79
+ warnflags = -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration
80
+ CCDLFLAGS = -fPIC
81
+ CFLAGS = $(CCDLFLAGS) $(cflags) -Wall $(ARCH_FLAG)
82
+ INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
49
83
  DEFS = -D_FILE_OFFSET_BITS=64
50
- CPPFLAGS = $(DEFS) $(cppflags)
51
- CXXFLAGS = $(CFLAGS)
52
- ldflags = -L. -rdynamic -Wl,-export-dynamic
53
- dldflags =
54
- archflag =
55
- DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
84
+ CPPFLAGS = -I/home/maedana/.rbenv/versions/2.1.1/include $(DEFS) $(cppflags)
85
+ CXXFLAGS = $(CCDLFLAGS) $(cxxflags) $(ARCH_FLAG)
86
+ ldflags = -L. -L/home/maedana/.rbenv/versions/2.1.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic
87
+ dldflags =
88
+ ARCH_FLAG =
89
+ DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
56
90
  LDSHARED = $(CC) -shared
91
+ LDSHAREDXX = $(CXX) -shared
57
92
  AR = ar
58
93
  EXEEXT =
59
94
 
60
95
  RUBY_INSTALL_NAME = ruby
61
96
  RUBY_SO_NAME = ruby
97
+ RUBYW_INSTALL_NAME =
98
+ RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version)
99
+ RUBYW_BASE_NAME = rubyw
100
+ RUBY_BASE_NAME = ruby
101
+
62
102
  arch = i686-linux
63
- sitearch = i686-linux
64
- ruby_version = 1.8
65
- ruby = /home/maedana/.rvm/rubies/ruby-1.8.7-p334/bin/ruby
103
+ sitearch = $(arch)
104
+ ruby_version = 2.1.0
105
+ ruby = $(bindir)/ruby
66
106
  RUBY = $(ruby)
107
+ ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/missing.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/subst.h $(arch_hdrdir)/ruby/config.h
108
+
67
109
  RM = rm -f
68
- MAKEDIRS = mkdir -p
110
+ RM_RF = $(RUBY) -run -e rm -- -rf
111
+ RMDIRS = rmdir --ignore-fail-on-non-empty -p
112
+ MAKEDIRS = /bin/mkdir -p
69
113
  INSTALL = /usr/bin/install -c
70
114
  INSTALL_PROG = $(INSTALL) -m 0755
71
115
  INSTALL_DATA = $(INSTALL) -m 644
72
116
  COPY = cp
117
+ TOUCH = exit >
73
118
 
74
119
  #### End of system configuration section. ####
75
120
 
@@ -81,77 +126,113 @@ DEFFILE =
81
126
 
82
127
  CLEANFILES = mkmf.log
83
128
  DISTCLEANFILES =
129
+ DISTCLEANDIRS =
84
130
 
85
131
  extout =
86
132
  extout_prefix =
87
133
  target_prefix = /png2swf
88
134
  LOCAL_LIBS =
89
- LIBS = $(LIBRUBYARG_SHARED) -lrt -ldl -lcrypt -lm -lc
90
- SRCS = define_bits_lossless2.c
91
- OBJS = define_bits_lossless2.o
92
- TARGET = define_bits_lossless2
135
+ LIBS = -lpthread -lrt -ldl -lcrypt -lm -lc
136
+ ORIG_SRCS = oily_png2swf_ext.c
137
+ SRCS = $(ORIG_SRCS)
138
+ OBJS = oily_png2swf_ext.o
139
+ HDRS =
140
+ TARGET = oily_png2swf
141
+ TARGET_NAME = oily_png2swf
142
+ TARGET_ENTRY = Init_$(TARGET_NAME)
93
143
  DLLIB = $(TARGET).so
94
144
  EXTSTATIC =
95
145
  STATIC_LIB =
96
146
 
147
+ TIMESTAMP_DIR = .
97
148
  BINDIR = $(bindir)
98
149
  RUBYCOMMONDIR = $(sitedir)$(target_prefix)
99
150
  RUBYLIBDIR = $(sitelibdir)$(target_prefix)
100
151
  RUBYARCHDIR = $(sitearchdir)$(target_prefix)
152
+ HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
153
+ ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
101
154
 
102
155
  TARGET_SO = $(DLLIB)
103
- CLEANLIBS = $(TARGET).so $(TARGET).il? $(TARGET).tds $(TARGET).map
104
- CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
105
-
106
- all: $(DLLIB)
107
- static: $(STATIC_LIB)
108
-
109
- clean:
110
- @-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
111
-
112
- distclean: clean
113
- @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
114
- @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
115
-
116
- realclean: distclean
156
+ CLEANLIBS = $(TARGET).so
157
+ CLEANOBJS = *.o *.bak
158
+
159
+ all: $(DLLIB)
160
+ static: $(STATIC_LIB)
161
+ .PHONY: all install static install-so install-rb
162
+ .PHONY: clean clean-so clean-static clean-rb
163
+
164
+ clean-static::
165
+ clean-rb-default::
166
+ clean-rb::
167
+ clean-so::
168
+ clean: clean-so clean-static clean-rb-default clean-rb
169
+ -$(Q)$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) .*.time
170
+
171
+ distclean-rb-default::
172
+ distclean-rb::
173
+ distclean-so::
174
+ distclean-static::
175
+ distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb
176
+ -$(Q)$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
177
+ -$(Q)$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
178
+ -$(Q)$(RMDIRS) $(DISTCLEANDIRS) 2> /dev/null || true
179
+
180
+ realclean: distclean
117
181
  install: install-so install-rb
118
182
 
119
- install-so: $(RUBYARCHDIR)
120
- install-so: $(RUBYARCHDIR)/$(DLLIB)
121
- $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
183
+ install-so: $(DLLIB) $(TIMESTAMP_DIR)/.RUBYARCHDIR.-.png2swf.time
122
184
  $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
185
+ clean-static::
186
+ -$(Q)$(RM) $(STATIC_LIB)
123
187
  install-rb: pre-install-rb install-rb-default
124
188
  install-rb-default: pre-install-rb-default
125
189
  pre-install-rb: Makefile
126
190
  pre-install-rb-default: Makefile
127
- $(RUBYARCHDIR):
128
- $(MAKEDIRS) $@
191
+ pre-install-rb-default:
192
+ $(ECHO) installing default oily_png2swf libraries
193
+ $(TIMESTAMP_DIR)/.RUBYARCHDIR.-.png2swf.time:
194
+ $(Q) $(MAKEDIRS) $(@D) $(RUBYARCHDIR)
195
+ $(Q) $(TOUCH) $@
129
196
 
130
197
  site-install: site-install-so site-install-rb
131
198
  site-install-so: install-so
132
199
  site-install-rb: install-rb
133
200
 
134
- .SUFFIXES: .c .m .cc .cxx .cpp .C .o
201
+ .SUFFIXES: .c .m .cc .mm .cxx .cpp .C .o
135
202
 
136
203
  .cc.o:
137
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
204
+ $(ECHO) compiling $(<)
205
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
206
+
207
+ .mm.o:
208
+ $(ECHO) compiling $(<)
209
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
138
210
 
139
211
  .cxx.o:
140
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
212
+ $(ECHO) compiling $(<)
213
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
141
214
 
142
215
  .cpp.o:
143
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
216
+ $(ECHO) compiling $(<)
217
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
144
218
 
145
219
  .C.o:
146
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
220
+ $(ECHO) compiling $(<)
221
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
147
222
 
148
223
  .c.o:
149
- $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
224
+ $(ECHO) compiling $(<)
225
+ $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
226
+
227
+ .m.o:
228
+ $(ECHO) compiling $(<)
229
+ $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
150
230
 
151
231
  $(DLLIB): $(OBJS) Makefile
152
- @-$(RM) $@
153
- $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
232
+ $(ECHO) linking shared-object png2swf/$(DLLIB)
233
+ -$(Q)$(RM) $(@)
234
+ $(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
154
235
 
155
236
 
156
237
 
157
- $(OBJS): ruby.h defines.h
238
+ $(OBJS): $(HDRS) $(ruby_headers)
@@ -18,7 +18,7 @@ int alpha(unsigned long color) {
18
18
  }
19
19
 
20
20
  VALUE bitmap_data(VALUE vself, VALUE vpixels) {
21
- int pixel_size = RARRAY(vpixels)->len;
21
+ int pixel_size = RARRAY_LEN(vpixels);
22
22
  unsigned long color;
23
23
  int a; // alpha for swf bitmap data
24
24
  float a_dash;
@@ -27,7 +27,7 @@ VALUE bitmap_data(VALUE vself, VALUE vpixels) {
27
27
  int i;
28
28
  int data_index = 0;
29
29
  for (i=0; i<pixel_size; ++i) {
30
- color = NUM2ULONG((RARRAY(vpixels)->ptr[i]));
30
+ color = NUM2ULONG((RARRAY_PTR(vpixels)[i]));
31
31
  a = alpha(color);
32
32
  a_dash = a / 255.0;
33
33
  r = (unsigned char)(red(color) * a_dash);
@@ -38,12 +38,13 @@ VALUE bitmap_data(VALUE vself, VALUE vpixels) {
38
38
  data[data_index] = g; ++data_index;
39
39
  data[data_index] = b; ++data_index;
40
40
  }
41
- VALUE vdata = rb_str_new(0,0); // 戻り値用にrubyの空文字を作成 vdata = '' と同じ
41
+ VALUE vdata;
42
+ vdata = rb_str_new(0,0); // 戻り値用にrubyの空文字を作成 vdata = '' と同じ
42
43
  rb_str_cat(vdata, data, (pixel_size * 4)); // rubyの文字列としてバイナリデータを連結
43
44
  return vdata;
44
45
  }
45
46
 
46
- Init_oily_png2swf() {
47
+ void Init_oily_png2swf() {
47
48
  VALUE Png2swf = rb_define_module("OilyPng2swf");
48
49
 
49
50
  VALUE DefineBitsLossless2 = rb_define_module_under(Png2swf, "DefineBitsLossless2");
@@ -1,3 +1,3 @@
1
1
  module Png2swf
2
- VERSION = "0.0.6"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,92 +1,81 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: png2swf
3
- version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 6
10
- version: 0.0.6
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Naoki Maeda
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2011-09-27 00:00:00 +01:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
11
+ date: 2014-09-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
22
14
  name: oily_png
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 19
30
- segments:
31
- - 1
32
- - 0
33
- - 2
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
34
19
  version: 1.0.2
35
20
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: rake
39
21
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
43
31
  - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 3
46
- segments:
47
- - 0
48
- version: "0"
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
49
34
  type: :development
50
- version_requirements: *id002
51
- - !ruby/object:Gem::Dependency
52
- name: rake-compiler
53
35
  prerelease: false
54
- requirement: &id003 !ruby/object:Gem::Requirement
55
- none: false
56
- requirements:
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
57
38
  - - ">="
58
- - !ruby/object:Gem::Version
59
- hash: 3
60
- segments:
61
- - 0
62
- version: "0"
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake-compiler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
63
48
  type: :development
64
- version_requirements: *id003
65
- - !ruby/object:Gem::Dependency
66
- name: rspec
67
49
  prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
69
- none: false
70
- requirements:
71
- - - ~>
72
- - !ruby/object:Gem::Version
73
- hash: 7
74
- segments:
75
- - 2
76
- version: "2"
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2'
77
62
  type: :development
78
- version_requirements: *id004
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2'
79
69
  description: Encode png for swfmill bitmap formats.
80
- email:
70
+ email:
81
71
  - maeda.na@gmail.com
82
72
  executables: []
83
-
84
- extensions:
73
+ extensions:
85
74
  - ext/oily_png2swf/extconf.rb
86
- extra_rdoc_files:
75
+ extra_rdoc_files:
87
76
  - README.rdoc
88
- files:
89
- - .gitignore
77
+ files:
78
+ - ".gitignore"
90
79
  - Gemfile
91
80
  - LICENSE
92
81
  - README.rdoc
@@ -99,45 +88,34 @@ files:
99
88
  - lib/png2swf/define_bits_lossless2.rb
100
89
  - lib/png2swf/version.rb
101
90
  - png2swf.gemspec
102
- has_rdoc: true
103
91
  homepage: http://wiki.github.com/maedana/png2swf
104
92
  licenses: []
105
-
93
+ metadata: {}
106
94
  post_install_message:
107
- rdoc_options:
108
- - --title
95
+ rdoc_options:
96
+ - "--title"
109
97
  - png2swf
110
- - --main
98
+ - "--main"
111
99
  - README.rdoc
112
- - --line-numbers
113
- - --inline-source
114
- require_paths:
100
+ - "--line-numbers"
101
+ - "--inline-source"
102
+ require_paths:
115
103
  - lib
116
104
  - ext
117
- required_ruby_version: !ruby/object:Gem::Requirement
118
- none: false
119
- requirements:
105
+ required_ruby_version: !ruby/object:Gem::Requirement
106
+ requirements:
120
107
  - - ">="
121
- - !ruby/object:Gem::Version
122
- hash: 3
123
- segments:
124
- - 0
125
- version: "0"
126
- required_rubygems_version: !ruby/object:Gem::Requirement
127
- none: false
128
- requirements:
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ required_rubygems_version: !ruby/object:Gem::Requirement
111
+ requirements:
129
112
  - - ">="
130
- - !ruby/object:Gem::Version
131
- hash: 3
132
- segments:
133
- - 0
134
- version: "0"
113
+ - !ruby/object:Gem::Version
114
+ version: '0'
135
115
  requirements: []
136
-
137
116
  rubyforge_project: png2swf
138
- rubygems_version: 1.5.0
117
+ rubygems_version: 2.2.2
139
118
  signing_key:
140
- specification_version: 3
119
+ specification_version: 4
141
120
  summary: Encode png for swfmill bitmap formats.
142
121
  test_files: []
143
-