furnace-swf 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) 2012 Peter Zotov <whitequark@whitequark.org>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a
4
+ 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 included
12
+ in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,9 +1,10 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
+ require 'furnace-swf'
3
4
 
4
5
  Gem::Specification.new do |s|
5
6
  s.name = "furnace-swf"
6
- s.version = "0.0.1"
7
+ s.version = Furnace::SWF::VERSION
7
8
  s.authors = ["Peter Zotov", "Sergey Gridassov"]
8
9
  s.email = ["whitequark@whitequark.org", "grindars@gmail.com"]
9
10
  s.homepage = "http://github.com/whitequark/furnace-swf"
@@ -17,7 +17,7 @@ module Furnace::SWF
17
17
  when 'FWS'
18
18
  stream.do_read io
19
19
  when 'CWS'
20
- uncompressed = Zlib.inflate(io.read_all_bytes)
20
+ uncompressed = Zlib::Inflate.inflate(io.read_all_bytes)
21
21
  stream.do_read BinData::IO.new(StringIO.new(uncompressed))
22
22
  else
23
23
  raise ArgumentError, "invalid signature"
@@ -1,3 +1,3 @@
1
1
  module Furnace::SWF
2
- VERSION = "0.0.1"
3
- end
2
+ VERSION = "0.0.2"
3
+ end
metadata CHANGED
@@ -1,41 +1,40 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: furnace-swf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ prerelease:
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Peter Zotov
9
9
  - Sergey Gridassov
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-02-04 00:00:00.000000000 Z
13
+ date: 2012-05-02 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bindata
17
- requirement: &71683110 !ruby/object:Gem::Requirement
18
- none: false
17
+ version_requirements: &2068 !ruby/object:Gem::Requirement
19
18
  requirements:
20
19
  - - ! '>='
21
20
  - !ruby/object:Gem::Version
22
21
  version: '0'
23
- type: :runtime
22
+ none: false
23
+ requirement: *2068
24
24
  prerelease: false
25
- version_requirements: *71683110
25
+ type: :runtime
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: trollop
28
- requirement: &71682470 !ruby/object:Gem::Requirement
29
- none: false
28
+ version_requirements: &2086 !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - ! '>='
32
31
  - !ruby/object:Gem::Version
33
32
  version: '0'
34
- type: :runtime
33
+ none: false
34
+ requirement: *2086
35
35
  prerelease: false
36
- version_requirements: *71682470
37
- description: furnace-swf allows one to load, modify and write back Flash SWF files.
38
- It can be used with furnace-avm2 in order to achieve impressive results.
36
+ type: :runtime
37
+ description: furnace-swf allows one to load, modify and write back Flash SWF files. It can be used with furnace-avm2 in order to achieve impressive results.
39
38
  email:
40
39
  - whitequark@whitequark.org
41
40
  - grindars@gmail.com
@@ -46,6 +45,7 @@ extra_rdoc_files: []
46
45
  files:
47
46
  - .gitignore
48
47
  - Gemfile
48
+ - LICENSE
49
49
  - Rakefile
50
50
  - bin/furnace-swf
51
51
  - furnace-swf.gemspec
@@ -65,27 +65,27 @@ files:
65
65
  - lib/furnace-swf/version.rb
66
66
  homepage: http://github.com/whitequark/furnace-swf
67
67
  licenses: []
68
- post_install_message:
68
+ post_install_message:
69
69
  rdoc_options: []
70
70
  require_paths:
71
71
  - lib
72
72
  required_ruby_version: !ruby/object:Gem::Requirement
73
- none: false
74
73
  requirements:
75
74
  - - ! '>='
76
75
  - !ruby/object:Gem::Version
77
76
  version: '0'
78
- required_rubygems_version: !ruby/object:Gem::Requirement
79
77
  none: false
78
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
79
  requirements:
81
80
  - - ! '>='
82
81
  - !ruby/object:Gem::Version
83
82
  version: '0'
83
+ none: false
84
84
  requirements: []
85
- rubyforge_project:
86
- rubygems_version: 1.8.10
87
- signing_key:
85
+ rubyforge_project:
86
+ rubygems_version: 1.8.15
87
+ signing_key:
88
88
  specification_version: 3
89
89
  summary: Flash SWF file reader and writer
90
90
  test_files: []
91
- has_rdoc:
91
+ ...