bloatpng 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,24 @@
1
1
  = bloatpng
2
2
 
3
- Description goes here.
3
+ _Bigger is always better._
4
+
5
+ == About
6
+
7
+ BloatPNG helps you arbitrarily increase the size of PNG image files without altering their appearance.
8
+
9
+ == Usage
10
+
11
+ === Commandline
12
+
13
+ `bloat INPUT_FILE OUTPUT_FILE KILOBYTES_TO_ADD`
14
+
15
+ === In your ruby code
16
+
17
+ `BloatPNG.bloat(input_filename, output_filename, optional_bytes_to_add)`
18
+
19
+ For example, to inflate the file `smiley.png` by 1MB and save it as 'sad.png'
20
+
21
+ `BloatPNG.bloat('smiley.png', 'sad.png', 1*1024*1024)`
4
22
 
5
23
  == Contributing to bloatpng
6
24
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
data/bin/bloat CHANGED
@@ -13,4 +13,4 @@ unless File.exists? ARGV[0]
13
13
  puts "Error: unable to open that file."
14
14
  end
15
15
 
16
- BloatPNG.bloat(ARGV[0], ARGV[1], ARGV[2] * 1024)
16
+ BloatPNG.bloat(ARGV[0], ARGV[1], ARGV[2].to_f * 1024)
data/bloatpng.gemspec CHANGED
@@ -5,17 +5,17 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "bloatpng"
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nate Benes"]
12
- s.date = "2013-01-07"
12
+ s.date = "2013-01-08"
13
13
  s.description = "There are plenty of tools to make your PNG's smaller. Sometimes bigger is better."
14
14
  s.email = "natebenes@gmail.com"
15
15
  s.executables = ["bloat"]
16
16
  s.extra_rdoc_files = [
17
17
  "LICENSE.txt",
18
- "README.rdoc"
18
+ "README.md"
19
19
  ]
20
20
  s.files = [
21
21
  ".document",
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
  "Gemfile",
24
24
  "Gemfile.lock",
25
25
  "LICENSE.txt",
26
- "README.rdoc",
26
+ "README.md",
27
27
  "Rakefile",
28
28
  "VERSION",
29
29
  "bin/bloat",
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: bloatpng
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nate Benes
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-07 00:00:00.000000000 Z
12
+ date: 2013-01-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  prerelease: false
@@ -99,14 +99,14 @@ executables:
99
99
  extensions: []
100
100
  extra_rdoc_files:
101
101
  - LICENSE.txt
102
- - README.rdoc
102
+ - README.md
103
103
  files:
104
104
  - .document
105
105
  - .travis.yml
106
106
  - Gemfile
107
107
  - Gemfile.lock
108
108
  - LICENSE.txt
109
- - README.rdoc
109
+ - README.md
110
110
  - Rakefile
111
111
  - VERSION
112
112
  - bin/bloat
@@ -129,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  segments:
131
131
  - 0
132
- hash: -4058835666247743217
132
+ hash: 3722532584680845685
133
133
  none: false
134
134
  required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  requirements: