dzt 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c018286ce3a4f3757165b6161bf7b72bed6b27f7
4
+ data.tar.gz: a33c40482e316a18db138ae5e6a4874c6fcd2b16
5
+ SHA512:
6
+ metadata.gz: b0071e6a9db8c4c60d997ec3e74a99468a5772536efdba703ab4d69a2cda1dcea021d5d61c8cf8cab6734ca41cb561612dbe5a2d37d11ce647e94fe25b667d5b
7
+ data.tar.gz: 19b6653c1f5b024abe55f605eb38098f9eb43d3f786bf0c175ef1866fa9e311bc774e81351da38a01eb4dfb2b59cdf5cbf5aa20eaa804e5fd4fed47977013c45
@@ -1,4 +1,6 @@
1
- ### Next
1
+ ### 0.2.1 (1/2/2015)
2
+
3
+ * [#8](https://github.com/dblock/dzt/pull/8): Fixes setting quality via command line - [@dzucconi](https://github.com/dzucconi).
2
4
 
3
5
  ### 0.2.0 (10/20/2014)
4
6
 
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2014 Daniel Doubrovkine.
3
+ Copyright (c) 2015 Daniel Doubrovkine.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,7 +1,10 @@
1
1
  DZT
2
2
  ===
3
3
 
4
- [![Build Status](https://travis-ci.org/dblock/dzt.png)](https://travis-ci.org/dblock/dzt)
4
+ [![Gem Version](http://img.shields.io/gem/v/dzt.svg)](http://badge.fury.io/rb/dzt)
5
+ [![Build Status](http://img.shields.io/travis/dblock/dzt.svg)](https://travis-ci.org/dblock/dzt)
6
+ [![Dependency Status](https://gemnasium.com/dblock/dzt.svg)](https://gemnasium.com/dblock/dzt)
7
+ [![Code Climate](https://codeclimate.com/github/dblock/dzt.svg)](https://codeclimate.com/github/dblock/dzt)
5
8
 
6
9
  Slice deep-zoom tiled images to be used with [OpenSeaDragon](http://openseadragon.github.io/) or [ARTiledImageView](https://github.com/dblock/ARTiledImageView).
7
10
 
@@ -48,6 +51,6 @@ See [CONTRIBUTING](CONTRIBUTING.md).
48
51
 
49
52
  ## Copyright and License
50
53
 
51
- Copyright (c) 2014, Daniel Doubrovkine, [Artsy](http://artsy.github.io). Some tiling code inspired from [deep_zoom_slicer](https://github.com/meso-unimpressed/deep_zoom_slicer).
54
+ Copyright (c) 2015, Daniel Doubrovkine, [Artsy](http://artsy.github.io). Some tiling code inspired from [deep_zoom_slicer](https://github.com/meso-unimpressed/deep_zoom_slicer).
52
55
 
53
56
  This project is licensed under the [MIT License](LICENSE.md).
data/bin/dzt CHANGED
@@ -12,9 +12,9 @@ default_command :slice
12
12
  desc "Slice an image"
13
13
  command :slice do |c|
14
14
  c.flag [:o, :output, 'output'], desc: 'Output folder'
15
- c.flag [:ts, :tilesize, 'tile-size'], desc: 'Tile size', default_value: DZT::Tiler::DEFAULT_TILE_SIZE
16
- c.flag [:to, :tileoverlap, 'tile-overlap'], desc: 'Tile overlap', default_value: DZT::Tiler::DEFAULT_TILE_OVERLAP
17
- c.flag [:q, :quality], desc: 'Output quality', default_value: DZT::Tiler::DEFAULT_QUALITY
15
+ c.flag [:ts, :tilesize, 'tile-size'], desc: 'Tile size', default_value: DZT::Tiler::DEFAULT_TILE_SIZE, type: Integer
16
+ c.flag [:to, :tileoverlap, 'tile-overlap'], desc: 'Tile overlap', default_value: DZT::Tiler::DEFAULT_TILE_OVERLAP, type: Integer
17
+ c.flag [:q, :quality], desc: 'Output quality', default_value: DZT::Tiler::DEFAULT_QUALITY, type: Integer
18
18
  c.flag [:f, :format], desc: 'Tile format', default_value: DZT::Tiler::DEFAULT_TILE_FORMAT
19
19
  c.flag [:overwrite], desc: 'Overwrite output files', default_value: DZT::Tiler::DEFAULT_OVERWRITE_FLAG
20
20
  c.flag [:acl], desc: 'S3 Acl', default_value: DZT::S3Storage::DEFAULT_ACL
@@ -21,7 +21,7 @@ module DZT
21
21
 
22
22
  def write(file, dest, options = {})
23
23
  quality = options[:quality]
24
- file.write(dest) { @quality = quality if quality }
24
+ file.write(dest) { self.quality = quality if quality }
25
25
  end
26
26
  end
27
27
  end
@@ -1,3 +1,3 @@
1
1
  module DZT
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,46 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dzt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
5
- prerelease:
4
+ version: 0.2.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Daniel Doubrovkine
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-10-20 00:00:00.000000000 Z
11
+ date: 2015-01-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: gli
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rmagick
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  description:
@@ -50,43 +45,39 @@ executables:
50
45
  extensions: []
51
46
  extra_rdoc_files: []
52
47
  files:
53
- - bin/dzt
54
- - lib/dzt/file_storage.rb
55
- - lib/dzt/s3_storage.rb
56
- - lib/dzt/tiler.rb
57
- - lib/dzt/version.rb
58
- - lib/dzt.rb
59
48
  - CHANGELOG.md
60
49
  - CONTRIBUTING.md
61
50
  - LICENSE.md
62
51
  - README.md
63
52
  - RELEASING.md
53
+ - bin/dzt
54
+ - lib/dzt.rb
55
+ - lib/dzt/file_storage.rb
56
+ - lib/dzt/s3_storage.rb
57
+ - lib/dzt/tiler.rb
58
+ - lib/dzt/version.rb
64
59
  homepage: http://github.com/dblock/dzt
65
60
  licenses:
66
61
  - MIT
62
+ metadata: {}
67
63
  post_install_message:
68
64
  rdoc_options: []
69
65
  require_paths:
70
66
  - lib
71
67
  required_ruby_version: !ruby/object:Gem::Requirement
72
- none: false
73
68
  requirements:
74
- - - ! '>='
69
+ - - ">="
75
70
  - !ruby/object:Gem::Version
76
71
  version: '0'
77
- segments:
78
- - 0
79
- hash: 600770840380266267
80
72
  required_rubygems_version: !ruby/object:Gem::Requirement
81
- none: false
82
73
  requirements:
83
- - - ! '>='
74
+ - - ">="
84
75
  - !ruby/object:Gem::Version
85
76
  version: 1.3.6
86
77
  requirements: []
87
78
  rubyforge_project:
88
- rubygems_version: 1.8.25
79
+ rubygems_version: 2.2.2
89
80
  signing_key:
90
- specification_version: 3
81
+ specification_version: 4
91
82
  summary: Tile images for deep-zoom.
92
83
  test_files: []