photile 0.1.2.pre → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -13,8 +13,9 @@ task :build do
13
13
  end
14
14
 
15
15
  desc "Deploy gem to Rubygems repo"
16
- task :deploy
17
- #`gem build photile.gemspec && gem push hola-0.0.0.gem && rm *.gem`
16
+ task :deploy do
17
+ version = `git describe`
18
+ system "gem build photile.gemspec && gem push photile-#{version}.gem && rm *.gem"
18
19
  end
19
20
 
20
21
  desc "Build docs"
data/lib/photile.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  class Photile
2
2
  end
3
3
 
4
- require 'photile/cli'
4
+ require 'photile/cli'
data/photile.gemspec CHANGED
@@ -1,8 +1,8 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'photile'
3
- s.version = '0.1.2.pre'
3
+ s.version = `git describe`
4
4
  s.date = '2012-11-02'
5
- s.summary = 'A ruby gem to chop a photo into tiles, watermark them, etc.'
5
+ s.summary = 'A ruby gem to compress a photo, chop it into tiles, watermark it, etc.'
6
6
  s.description = 'Photile is just a layer on top of Imagemagick and Jpegtran to make certain image processing tasks dead simple.'
7
7
  s.author = 'Nitin Dhar'
8
8
  s.email = 'nitindhar7@yahoo.com'
data/test/test_photile.rb CHANGED
@@ -2,7 +2,9 @@ require 'test/unit'
2
2
  require 'photile'
3
3
 
4
4
  class PhotileTest < Test::Unit::TestCase
5
- def test_stub
6
- assert true
5
+ def test_requirements
6
+ assert_not_nil `which convert`
7
+ assert_not_nil `which composite`
8
+ assert_not_nil `which jpegtran`
7
9
  end
8
10
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: photile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.pre
5
- prerelease: 6
4
+ version: 0.1.2
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nitin Dhar
@@ -60,9 +60,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
60
60
  required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
- - - ! '>'
63
+ - - ! '>='
64
64
  - !ruby/object:Gem::Version
65
- version: 1.3.1
65
+ version: '0'
66
66
  requirements:
67
67
  - imagemagick
68
68
  - imagemagick-common
@@ -71,5 +71,5 @@ rubyforge_project:
71
71
  rubygems_version: 1.8.24
72
72
  signing_key:
73
73
  specification_version: 3
74
- summary: A ruby gem to chop a photo into tiles, watermark them, etc.
74
+ summary: A ruby gem to compress a photo, chop it into tiles, watermark it, etc.
75
75
  test_files: []