jpegtran 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,7 @@
1
1
 
2
+ 0.1.3 (2011-09-08)
3
+ * the 'lookup-hash' dependency removed
4
+
2
5
  0.1.2 (2011-07-30)
3
6
  * executing directly by 'command-builder'
4
7
  * switch to more modern 'hash-utils'
data/Gemfile CHANGED
@@ -4,7 +4,6 @@ source "http://rubygems.org"
4
4
  gem "hash-utils", ">= 0.18.0"
5
5
  gem "command-builder", ">= 0.2.0"
6
6
  gem "unix-whereis", ">= 0.1.0"
7
- gem "lookup-hash", ">= 0.2.0"
8
7
 
9
8
  # Add dependencies to develop your gem here.
10
9
  # Include everything needed to run rake, tests, features, etc.
@@ -5,19 +5,16 @@ GEM
5
5
  hash-utils (>= 0.18.0)
6
6
  pipe-run (>= 0.2.1)
7
7
  git (1.2.5)
8
- hash-utils (0.18.0)
8
+ hash-utils (0.19.0)
9
9
  jeweler (1.6.4)
10
10
  bundler (~> 1.0)
11
11
  git (>= 1.2.5)
12
12
  rake
13
- lookup-hash (0.2.0)
14
- hash-utils (>= 0.11.0)
15
13
  pipe-run (0.2.1)
16
14
  rake (0.9.2)
17
- unix-whereis (0.1.0)
18
- command-builder (>= 0.1.0)
19
- hash-utils (>= 0.9.0)
20
- pipe-run (>= 0.1.0)
15
+ unix-whereis (0.1.1)
16
+ command-builder (>= 0.2.0)
17
+ hash-utils (>= 0.18.0)
21
18
 
22
19
  PLATFORMS
23
20
  ruby
@@ -27,5 +24,4 @@ DEPENDENCIES
27
24
  command-builder (>= 0.2.0)
28
25
  hash-utils (>= 0.18.0)
29
26
  jeweler (>= 1.5.2)
30
- lookup-hash (>= 0.2.0)
31
27
  unix-whereis (>= 0.1.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -4,13 +4,13 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{jpegtran}
8
- s.version = "0.1.2"
7
+ s.name = "jpegtran"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = [%q{Martin Kozák}]
12
- s.date = %q{2011-07-30}
13
- s.email = %q{martinkozak@martinkozak.net}
11
+ s.authors = ["Martin Koz\u{e1}k"]
12
+ s.date = "2011-09-08"
13
+ s.email = "martinkozak@martinkozak.net"
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE.txt",
16
16
  "README.md"
@@ -29,11 +29,11 @@ Gem::Specification.new do |s|
29
29
  "test",
30
30
  "test.jpg"
31
31
  ]
32
- s.homepage = %q{https://github.com/martinkozak/jpegtran}
33
- s.licenses = [%q{MIT}]
34
- s.require_paths = [%q{lib}]
35
- s.rubygems_version = %q{1.8.5}
36
- s.summary = %q{Ruby interface to 'jpegtran' tool.}
32
+ s.homepage = "https://github.com/martinkozak/jpegtran"
33
+ s.licenses = ["MIT"]
34
+ s.require_paths = ["lib"]
35
+ s.rubygems_version = "1.8.10"
36
+ s.summary = "Ruby interface to 'jpegtran' tool."
37
37
 
38
38
  if s.respond_to? :specification_version then
39
39
  s.specification_version = 3
@@ -42,14 +42,12 @@ Gem::Specification.new do |s|
42
42
  s.add_runtime_dependency(%q<hash-utils>, [">= 0.18.0"])
43
43
  s.add_runtime_dependency(%q<command-builder>, [">= 0.2.0"])
44
44
  s.add_runtime_dependency(%q<unix-whereis>, [">= 0.1.0"])
45
- s.add_runtime_dependency(%q<lookup-hash>, [">= 0.2.0"])
46
45
  s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
47
46
  s.add_development_dependency(%q<jeweler>, [">= 1.5.2"])
48
47
  else
49
48
  s.add_dependency(%q<hash-utils>, [">= 0.18.0"])
50
49
  s.add_dependency(%q<command-builder>, [">= 0.2.0"])
51
50
  s.add_dependency(%q<unix-whereis>, [">= 0.1.0"])
52
- s.add_dependency(%q<lookup-hash>, [">= 0.2.0"])
53
51
  s.add_dependency(%q<bundler>, [">= 1.0.0"])
54
52
  s.add_dependency(%q<jeweler>, [">= 1.5.2"])
55
53
  end
@@ -57,7 +55,6 @@ Gem::Specification.new do |s|
57
55
  s.add_dependency(%q<hash-utils>, [">= 0.18.0"])
58
56
  s.add_dependency(%q<command-builder>, [">= 0.2.0"])
59
57
  s.add_dependency(%q<unix-whereis>, [">= 0.1.0"])
60
- s.add_dependency(%q<lookup-hash>, [">= 0.2.0"])
61
58
  s.add_dependency(%q<bundler>, [">= 1.0.0"])
62
59
  s.add_dependency(%q<jeweler>, [">= 1.5.2"])
63
60
  end
@@ -1,10 +1,10 @@
1
1
  # encoding: utf-8
2
2
  # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
+ require "hash-utils/object" # >= 0.18.0
4
5
  require "command-builder" # >= 0.2.0
5
6
  require "unix/whereis"
6
- require "lookup-hash"
7
- require "hash-utils/object" # >= 0.18.0
7
+ require "set"
8
8
 
9
9
  ##
10
10
  # The +jpegtran+ tool command frontend.
@@ -23,7 +23,7 @@ module Jpegtran
23
23
  # Indicates turn on/off style arguments.
24
24
  #
25
25
 
26
- BOOLEAN_ARGS = LookupHash[
26
+ BOOLEAN_ARGS = Set::new [
27
27
  :optimize, :progressive, :grayscale, :perfect, :transpose,
28
28
  :transverse, :trim, :arithmetic
29
29
  ]
@@ -32,7 +32,7 @@ module Jpegtran
32
32
  # Holds copy values.
33
33
  #
34
34
 
35
- COPY_OPTIONS = LookupHash[
35
+ COPY_OPTIONS = Set::new [
36
36
  :none, :comments, :all
37
37
  ]
38
38
 
@@ -40,7 +40,7 @@ module Jpegtran
40
40
  # Holds flip values.
41
41
  #
42
42
 
43
- FLIP_OPTIONS = LookupHash[
43
+ FLIP_OPTIONS = Set::new [
44
44
  :horizontal, :vertical
45
45
  ]
46
46
 
metadata CHANGED
@@ -1,93 +1,79 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: jpegtran
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.3
4
5
  prerelease:
5
- version: 0.1.2
6
6
  platform: ruby
7
- authors:
8
- - "Martin Koz\xC3\xA1k"
7
+ authors:
8
+ - Martin Kozák
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-07-30 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-09-08 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: hash-utils
17
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &11385200 !ruby/object:Gem::Requirement
18
17
  none: false
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
22
21
  version: 0.18.0
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
24
+ version_requirements: *11385200
25
+ - !ruby/object:Gem::Dependency
27
26
  name: command-builder
28
- requirement: &id002 !ruby/object:Gem::Requirement
27
+ requirement: &11383940 !ruby/object:Gem::Requirement
29
28
  none: false
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
33
32
  version: 0.2.0
34
33
  type: :runtime
35
34
  prerelease: false
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *11383940
36
+ - !ruby/object:Gem::Dependency
38
37
  name: unix-whereis
39
- requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirement: &11382140 !ruby/object:Gem::Requirement
40
39
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
44
43
  version: 0.1.0
45
44
  type: :runtime
46
45
  prerelease: false
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: lookup-hash
50
- requirement: &id004 !ruby/object:Gem::Requirement
51
- none: false
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: 0.2.0
56
- type: :runtime
57
- prerelease: false
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
46
+ version_requirements: *11382140
47
+ - !ruby/object:Gem::Dependency
60
48
  name: bundler
61
- requirement: &id005 !ruby/object:Gem::Requirement
49
+ requirement: &11303780 !ruby/object:Gem::Requirement
62
50
  none: false
63
- requirements:
64
- - - ">="
65
- - !ruby/object:Gem::Version
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
66
54
  version: 1.0.0
67
55
  type: :development
68
56
  prerelease: false
69
- version_requirements: *id005
70
- - !ruby/object:Gem::Dependency
57
+ version_requirements: *11303780
58
+ - !ruby/object:Gem::Dependency
71
59
  name: jeweler
72
- requirement: &id006 !ruby/object:Gem::Requirement
60
+ requirement: &11302800 !ruby/object:Gem::Requirement
73
61
  none: false
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
77
65
  version: 1.5.2
78
66
  type: :development
79
67
  prerelease: false
80
- version_requirements: *id006
68
+ version_requirements: *11302800
81
69
  description:
82
70
  email: martinkozak@martinkozak.net
83
71
  executables: []
84
-
85
72
  extensions: []
86
-
87
- extra_rdoc_files:
73
+ extra_rdoc_files:
88
74
  - LICENSE.txt
89
75
  - README.md
90
- files:
76
+ files:
91
77
  - .document
92
78
  - CHANGES.txt
93
79
  - Gemfile
@@ -101,34 +87,31 @@ files:
101
87
  - test
102
88
  - test.jpg
103
89
  homepage: https://github.com/martinkozak/jpegtran
104
- licenses:
90
+ licenses:
105
91
  - MIT
106
92
  post_install_message:
107
93
  rdoc_options: []
108
-
109
- require_paths:
94
+ require_paths:
110
95
  - lib
111
- required_ruby_version: !ruby/object:Gem::Requirement
96
+ required_ruby_version: !ruby/object:Gem::Requirement
112
97
  none: false
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- hash: 4556189913197607796
117
- segments:
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ segments:
118
103
  - 0
119
- version: "0"
120
- required_rubygems_version: !ruby/object:Gem::Requirement
104
+ hash: 3769897826179762785
105
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
106
  none: false
122
- requirements:
123
- - - ">="
124
- - !ruby/object:Gem::Version
125
- version: "0"
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
126
111
  requirements: []
127
-
128
112
  rubyforge_project:
129
- rubygems_version: 1.8.5
113
+ rubygems_version: 1.8.10
130
114
  signing_key:
131
115
  specification_version: 3
132
116
  summary: Ruby interface to 'jpegtran' tool.
133
117
  test_files: []
134
-