swf_embed 0.0.1 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -16
- data/VERSION +1 -1
- data/ext/extconf.rb +1 -0
- data/ext/swf_embed.c +10 -0
- data/swf_embed.gemspec +54 -0
- metadata +10 -10
- data/.gitignore +0 -21
data/Rakefile
CHANGED
@@ -18,22 +18,6 @@ rescue LoadError
|
|
18
18
|
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
19
19
|
end
|
20
20
|
|
21
|
-
require 'spec/rake/spectask'
|
22
|
-
Spec::Rake::SpecTask.new(:spec) do |spec|
|
23
|
-
spec.libs << 'lib' << 'spec'
|
24
|
-
spec.spec_files = FileList['spec/**/*_spec.rb']
|
25
|
-
end
|
26
|
-
|
27
|
-
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
28
|
-
spec.libs << 'lib' << 'spec'
|
29
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
30
|
-
spec.rcov = true
|
31
|
-
end
|
32
|
-
|
33
|
-
task :spec => :check_dependencies
|
34
|
-
|
35
|
-
task :default => :spec
|
36
|
-
|
37
21
|
require 'rake/rdoctask'
|
38
22
|
Rake::RDocTask.new do |rdoc|
|
39
23
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
data/ext/extconf.rb
CHANGED
data/ext/swf_embed.c
CHANGED
@@ -4,8 +4,18 @@
|
|
4
4
|
#else
|
5
5
|
#include <st.h>
|
6
6
|
#endif
|
7
|
+
#ifdef HAVE_STDINT_H
|
7
8
|
#include <stdint.h>
|
9
|
+
#endif
|
10
|
+
#if defined HAVE_ENDIAN_H
|
8
11
|
#include <endian.h>
|
12
|
+
#elif defined HAVE_LIBKERN_OSBYTEORDER_H
|
13
|
+
#include <libkern/OSByteOrder.h>
|
14
|
+
#define htole16 OSSwapHostToLittleConstInt16
|
15
|
+
#define htole32 OSSwapHostToLittleConstInt32
|
16
|
+
#else
|
17
|
+
#error "not defined htole16/htole32"
|
18
|
+
#endif
|
9
19
|
|
10
20
|
static void
|
11
21
|
h16(VALUE str, int value)
|
data/swf_embed.gemspec
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{swf_embed}
|
8
|
+
s.version = "0.0.6"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["miyucy"]
|
12
|
+
s.date = %q{2011-04-04}
|
13
|
+
s.description = %q{Parameter Injector for Flash Lite}
|
14
|
+
s.email = %q{miyucy@gmail.com}
|
15
|
+
s.extensions = ["ext/extconf.rb"]
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"LICENSE",
|
18
|
+
"README.rdoc"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
".document",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"ext/extconf.rb",
|
27
|
+
"ext/swf_embed.c",
|
28
|
+
"spec/spec.opts",
|
29
|
+
"spec/spec_helper.rb",
|
30
|
+
"spec/swf_embed_spec.rb",
|
31
|
+
"swf_embed.gemspec"
|
32
|
+
]
|
33
|
+
s.homepage = %q{http://github.com/miyucy/swf_embed}
|
34
|
+
s.require_paths = ["lib"]
|
35
|
+
s.rubygems_version = %q{1.6.2}
|
36
|
+
s.summary = %q{Parameter Injector for Flash Lite}
|
37
|
+
s.test_files = [
|
38
|
+
"spec/spec_helper.rb",
|
39
|
+
"spec/swf_embed_spec.rb"
|
40
|
+
]
|
41
|
+
|
42
|
+
if s.respond_to? :specification_version then
|
43
|
+
s.specification_version = 3
|
44
|
+
|
45
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
46
|
+
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
47
|
+
else
|
48
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
49
|
+
end
|
50
|
+
else
|
51
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swf_embed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 19
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- miyucy
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-04-04 00:00:00 +09:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -45,7 +45,6 @@ extra_rdoc_files:
|
|
45
45
|
- README.rdoc
|
46
46
|
files:
|
47
47
|
- .document
|
48
|
-
- .gitignore
|
49
48
|
- LICENSE
|
50
49
|
- README.rdoc
|
51
50
|
- Rakefile
|
@@ -55,13 +54,14 @@ files:
|
|
55
54
|
- spec/spec.opts
|
56
55
|
- spec/spec_helper.rb
|
57
56
|
- spec/swf_embed_spec.rb
|
57
|
+
- swf_embed.gemspec
|
58
58
|
has_rdoc: true
|
59
59
|
homepage: http://github.com/miyucy/swf_embed
|
60
60
|
licenses: []
|
61
61
|
|
62
62
|
post_install_message:
|
63
|
-
rdoc_options:
|
64
|
-
|
63
|
+
rdoc_options: []
|
64
|
+
|
65
65
|
require_paths:
|
66
66
|
- lib
|
67
67
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -85,10 +85,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
requirements: []
|
86
86
|
|
87
87
|
rubyforge_project:
|
88
|
-
rubygems_version: 1.
|
88
|
+
rubygems_version: 1.6.2
|
89
89
|
signing_key:
|
90
90
|
specification_version: 3
|
91
91
|
summary: Parameter Injector for Flash Lite
|
92
92
|
test_files:
|
93
|
-
- spec/swf_embed_spec.rb
|
94
93
|
- spec/spec_helper.rb
|
94
|
+
- spec/swf_embed_spec.rb
|