tracksperanto.gemspec in tracksperanto-3.5.9 vs tracksperanto.gemspec in tracksperanto-4.0.0

- old
+ new

@@ -1,283 +1,60 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' -# -*- encoding: utf-8 -*- +require_relative 'lib/tracksperanto/version' -Gem::Specification.new do |s| - s.name = "tracksperanto" - s.version = "3.5.9" +Gem::Specification.new do |spec| + spec.name = "tracksperanto" + spec.version = Tracksperanto::VERSION + spec.required_ruby_version = '>= 2.1.0' - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Julik Tarkhanov"] - s.date = "2016-07-19" - s.description = "Converts 2D track exports between different apps like Flame, MatchMover, PFTrack..." - s.email = "me@julik.nl" - s.executables = ["tracksperanto"] - s.extra_rdoc_files = [ + # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host' + # to allow pushing to a single host or delete this section to allow pushing to any host. + if spec.respond_to?(:metadata) + spec.metadata['allowed_push_host'] = "https://rubygems.org" + else + raise "RubyGems 2.0 or newer is required to protect against " \ + "public gem pushes." + end + + spec.authors = ["Julik Tarkhanov"] + spec.date = "2016-07-19" + spec.description = "Converts 2D track exports between different apps like Flame, MatchMover, PFTrack..." + spec.email = "me@julik.nl" + spec.executables = ["tracksperanto"] + spec.extra_rdoc_files = [ "README.md" ] - s.files = [ - "CONTRIBUTING.md", - "Gemfile", - "History.txt", - "MIT_LICENSE.txt", - "README.md", - "Rakefile", - "bin/tracksperanto", - "lib/export/base.rb", - "lib/export/boujou.rb", - "lib/export/cosa.rb", - "lib/export/equalizer3.rb", - "lib/export/equalizer4.rb", - "lib/export/flame_stabilizer.rb", - "lib/export/flame_stabilizer_2014.rb", - "lib/export/flame_stabilizer_2014_cornerpin.rb", - "lib/export/flame_stabilizer_cornerpin.rb", - "lib/export/match_mover.rb", - "lib/export/maxscript.rb", - "lib/export/maya_live.rb", - "lib/export/maya_locators.rb", - "lib/export/mux.rb", - "lib/export/nuke_cam_tk_usertracks.rb", - "lib/export/nuke_script.rb", - "lib/export/pfmatchit.rb", - "lib/export/pftrack.rb", - "lib/export/pftrack_5.rb", - "lib/export/ruby.rb", - "lib/export/shake_text.rb", - "lib/export/syntheyes.rb", - "lib/export/xsi.rb", - "lib/import/base.rb", - "lib/import/boujou.rb", - "lib/import/equalizer3.rb", - "lib/import/equalizer4.rb", - "lib/import/flame_stabilizer.rb", - "lib/import/match_mover.rb", - "lib/import/match_mover_rzml.rb", - "lib/import/maya_live.rb", - "lib/import/nuke_script.rb", - "lib/import/pftrack.rb", - "lib/import/shake_grammar/catcher.rb", - "lib/import/shake_grammar/lexer.rb", - "lib/import/shake_script.rb", - "lib/import/shake_text.rb", - "lib/import/syntheyes.rb", - "lib/import/syntheyes_all_tracker_paths.rb", - "lib/pipeline/base.rb", - "lib/tools/base.rb", - "lib/tools/crop.rb", - "lib/tools/flip.rb", - "lib/tools/flop.rb", - "lib/tools/golden.rb", - "lib/tools/length_cutoff.rb", - "lib/tools/lens_disto.rb", - "lib/tools/lerp.rb", - "lib/tools/lint.rb", - "lib/tools/move_to_first.rb", - "lib/tools/pad.rb", - "lib/tools/prefix.rb", - "lib/tools/reformat.rb", - "lib/tools/scaler.rb", - "lib/tools/shift.rb", - "lib/tools/slipper.rb", - "lib/tools/start_trim.rb", - "lib/tracksperanto.rb", - "lib/tracksperanto/blacklist.rb", - "lib/tracksperanto/block_init.rb", - "lib/tracksperanto/buffer_io.rb", - "lib/tracksperanto/casts.rb", - "lib/tracksperanto/const_name.rb", - "lib/tracksperanto/ext_io.rb", - "lib/tracksperanto/format_detector.rb", - "lib/tracksperanto/io_wrapper.rb", - "lib/tracksperanto/keyframe.rb", - "lib/tracksperanto/parameters.rb", - "lib/tracksperanto/pf_coords.rb", - "lib/tracksperanto/returning.rb", - "lib/tracksperanto/safety.rb", - "lib/tracksperanto/simple_export.rb", - "lib/tracksperanto/tracker.rb", - "lib/tracksperanto/uv_coordinates.rb", - "lib/tracksperanto/yield_non_empty.rb", - "lib/tracksperanto/zip_tuples.rb", - "test/export/README_EXPORT_TESTS.txt", - "test/export/samples/ref_AfterEffects.jsx", - "test/export/samples/ref_FlameProperlyReorderedCornerpin.stabilizer", - "test/export/samples/ref_FlameSimpleReorderedCornerpin.stabilizer", - "test/export/samples/ref_Maxscript.ms", - "test/export/samples/ref_MayaLocators.ma", - "test/export/samples/ref_Mayalive.txt", - "test/export/samples/ref_Mayalive_CustomAspect.txt", - "test/export/samples/ref_NukeCameraTrackerUsertracks.txt", - "test/export/samples/ref_NukeScript.nk", - "test/export/samples/ref_PFMatchit.2dt", - "test/export/samples/ref_PFTrack.2dt", - "test/export/samples/ref_PFTrack5.2dt", - "test/export/samples/ref_Ruby.rb", - "test/export/samples/ref_ShakeText.txt", - "test/export/samples/ref_Syntheyes.txt", - "test/export/samples/ref_XSI.py", - "test/export/samples/ref_boujou.txt", - "test/export/samples/ref_equalizer.txt", - "test/export/samples/ref_equalizer3.txt", - "test/export/samples/ref_flame.stabilizer", - "test/export/samples/ref_flameCornerpin.stabilizer", - "test/export/samples/ref_flame_2014.stabilizer", - "test/export/samples/ref_flame_2014_cornerpin.stabilizer", - "test/export/samples/ref_matchmover.rz2", - "test/export/test_ae_export.rb", - "test/export/test_boujou_export.rb", - "test/export/test_equalizer3_export.rb", - "test/export/test_equalizer_export.rb", - "test/export/test_flame_stabilizer_2014_cornerpin_export.rb", - "test/export/test_flame_stabilizer_2014_export.rb", - "test/export/test_flame_stabilizer_cornerpin_export.rb", - "test/export/test_flame_stabilizer_export.rb", - "test/export/test_match_mover_export.rb", - "test/export/test_maxscript.rb", - "test/export/test_maya_live_export.rb", - "test/export/test_maya_locators_export.rb", - "test/export/test_mux.rb", - "test/export/test_nuke_camtracker_export.rb", - "test/export/test_nuke_export.rb", - "test/export/test_pfmatchit_export.rb", - "test/export/test_pftrack5_export.rb", - "test/export/test_pftrack_export.rb", - "test/export/test_ruby_export.rb", - "test/export/test_shake_export.rb", - "test/export/test_syntheyes_export.rb", - "test/export/test_xsi_python_export.rb", - "test/helper.rb", - "test/import/README.rdoc", - "test/import/test_3de_import.rb", - "test/import/test_3de_import3.rb", - "test/import/test_boujou_import.rb", - "test/import/test_flame_import.rb", - "test/import/test_match_mover_import.rb", - "test/import/test_match_mover_rzml_import.rb", - "test/import/test_maya_live_import.rb", - "test/import/test_nuke_import.rb", - "test/import/test_pftrack_import.rb", - "test/import/test_shake_catcher.rb", - "test/import/test_shake_lexer.rb", - "test/import/test_shake_script_import.rb", - "test/import/test_shake_text_import.rb", - "test/import/test_syntheyes_all_tracker_paths_import.rb", - "test/import/test_syntheyes_import.rb", - "test/subpixel/Flame_Smk2013_SubpixSample.stabilizer", - "test/subpixel/julik_pftrack.txt", - "test/subpixel/shake_subpix_v01.shk", - "test/subpixel/subpix_import_test.rb", - "test/subpixel/subpixel_grid.ifl", - "test/subpixel/subpixel_grid.sni", - "test/subpixel/subpixel_grid.tif", - "test/subpixel/sy_subpix_2dpaths.txt", - "test/test_blacklist.rb", - "test/test_block_init.rb", - "test/test_buffer_io.rb", - "test/test_casts.rb", - "test/test_cli.rb", - "test/test_const_name.rb", - "test/test_extio.rb", - "test/test_format_detector.rb", - "test/test_keyframe.rb", - "test/test_parameters.rb", - "test/test_pipeline.rb", - "test/test_safety.rb", - "test/test_simple_export.rb", - "test/test_tracker.rb", - "test/test_tracksperanto.rb", - "test/test_uv_coords.rb", - "test/test_yield_non_empty.rb", - "test/test_zip_tuples.rb", - "test/tools/test_crop_middleware.rb", - "test/tools/test_flip_middleware.rb", - "test/tools/test_flop_middleware.rb", - "test/tools/test_golden_middleware.rb", - "test/tools/test_length_cutoff_middleware.rb", - "test/tools/test_lens_middleware.rb", - "test/tools/test_lerp_middleware.rb", - "test/tools/test_lint_middleware.rb", - "test/tools/test_move_to_first_frame_middleware.rb", - "test/tools/test_pad_middleware.rb", - "test/tools/test_prefix.rb", - "test/tools/test_reformat_middleware.rb", - "test/tools/test_scaler_middleware.rb", - "test/tools/test_shift_middleware.rb", - "test/tools/test_slip_middleware.rb", - "test/tools/test_start_trim_middleware.rb", - "tracksperanto.gemspec" - ] - s.homepage = "http://guerilla-di.org/tracksperanto" - s.licenses = ["MIT"] - s.require_paths = ["lib"] - s.rubygems_version = "1.8.23.2" - s.summary = "A universal 2D tracks converter" - - if s.respond_to? :specification_version then - s.specification_version = 3 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<bundler>, [">= 0"]) - s.add_runtime_dependency(%q<obuf>, ["~> 1.1"]) - s.add_runtime_dependency(%q<tickly>, ["~> 2.1.6"]) - s.add_runtime_dependency(%q<bychar>, ["~> 3"]) - s.add_runtime_dependency(%q<progressive_io>, ["~> 1.0"]) - s.add_runtime_dependency(%q<flame_channel_parser>, ["~> 4.0"]) - s.add_runtime_dependency(%q<term-ansicolor>, ["<= 1.2.0"]) - s.add_runtime_dependency(%q<tins>, ["< 0.9.0"]) - s.add_runtime_dependency(%q<progressbar>, ["= 0.10.0"]) - s.add_runtime_dependency(%q<update_hints>, ["~> 1.0"]) - s.add_development_dependency(%q<test-unit>, ["= 3.1.5"]) - s.add_development_dependency(%q<approximately>, [">= 0"]) - s.add_development_dependency(%q<rake>, ["= 10.5.0"]) - s.add_development_dependency(%q<linebyline>, [">= 0"]) - s.add_development_dependency(%q<git>, ["< 1.3.0"]) - s.add_development_dependency(%q<jeweler>, ["= 1.8.4"]) - s.add_development_dependency(%q<flexmock>, ["~> 1.3.2"]) - s.add_development_dependency(%q<cli_test>, ["~> 1.0"]) - s.add_development_dependency(%q<rake-hooks>, ["~> 1.2.3"]) - else - s.add_dependency(%q<bundler>, [">= 0"]) - s.add_dependency(%q<obuf>, ["~> 1.1"]) - s.add_dependency(%q<tickly>, ["~> 2.1.6"]) - s.add_dependency(%q<bychar>, ["~> 3"]) - s.add_dependency(%q<progressive_io>, ["~> 1.0"]) - s.add_dependency(%q<flame_channel_parser>, ["~> 4.0"]) - s.add_dependency(%q<term-ansicolor>, ["<= 1.2.0"]) - s.add_dependency(%q<tins>, ["< 0.9.0"]) - s.add_dependency(%q<progressbar>, ["= 0.10.0"]) - s.add_dependency(%q<update_hints>, ["~> 1.0"]) - s.add_dependency(%q<test-unit>, ["= 3.1.5"]) - s.add_dependency(%q<approximately>, [">= 0"]) - s.add_dependency(%q<rake>, ["= 10.5.0"]) - s.add_dependency(%q<linebyline>, [">= 0"]) - s.add_dependency(%q<git>, ["< 1.3.0"]) - s.add_dependency(%q<jeweler>, ["= 1.8.4"]) - s.add_dependency(%q<flexmock>, ["~> 1.3.2"]) - s.add_dependency(%q<cli_test>, ["~> 1.0"]) - s.add_dependency(%q<rake-hooks>, ["~> 1.2.3"]) - end - else - s.add_dependency(%q<bundler>, [">= 0"]) - s.add_dependency(%q<obuf>, ["~> 1.1"]) - s.add_dependency(%q<tickly>, ["~> 2.1.6"]) - s.add_dependency(%q<bychar>, ["~> 3"]) - s.add_dependency(%q<progressive_io>, ["~> 1.0"]) - s.add_dependency(%q<flame_channel_parser>, ["~> 4.0"]) - s.add_dependency(%q<term-ansicolor>, ["<= 1.2.0"]) - s.add_dependency(%q<tins>, ["< 0.9.0"]) - s.add_dependency(%q<progressbar>, ["= 0.10.0"]) - s.add_dependency(%q<update_hints>, ["~> 1.0"]) - s.add_dependency(%q<test-unit>, ["= 3.1.5"]) - s.add_dependency(%q<approximately>, [">= 0"]) - s.add_dependency(%q<rake>, ["= 10.5.0"]) - s.add_dependency(%q<linebyline>, [">= 0"]) - s.add_dependency(%q<git>, ["< 1.3.0"]) - s.add_dependency(%q<jeweler>, ["= 1.8.4"]) - s.add_dependency(%q<flexmock>, ["~> 1.3.2"]) - s.add_dependency(%q<cli_test>, ["~> 1.0"]) - s.add_dependency(%q<rake-hooks>, ["~> 1.2.3"]) + spec.homepage = "http://guerilla-di.org/tracksperanto" + spec.licenses = ["MIT"] + spec.require_paths = ["lib"] + spec.rubygems_version = "1.8.23.2" + spec.summary = "A universal 2D tracks converter" + spec.files = `git ls-files -z`.split("\x0").reject do |f| + f.start_with?("test/import/samples/*/*.*") # Remove the sample files + end.reject do |f| + f.start_with? "test/subpixel" end + + spec.bindir = "bin" + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] + + spec.add_runtime_dependency "obuf", "~> 1.1" + spec.add_runtime_dependency "tickly", "~> 2.1.6" + spec.add_runtime_dependency "bychar", "~> 3" + spec.add_runtime_dependency "progressive_io", "~> 1.0" + spec.add_runtime_dependency "flame_channel_parser", "~> 4.0" + # Locked because newer versions require tins that do not work on 1.9.3 and less + spec.add_runtime_dependency 'term-ansicolor', '<= 1.2.0' + # flame_channel_parser wants it via framecurve, but for Ruby 1.8.7 we have to ask for an older version + spec.add_runtime_dependency 'tins', '< 0.9.0' + spec.add_runtime_dependency "progressbar", "0.10.0" + spec.add_runtime_dependency "update_hints", "~> 1.0" + + spec.add_development_dependency "bundler", '~> 1' + spec.add_development_dependency "test-unit", '~> 3' + spec.add_development_dependency "approximately" + spec.add_development_dependency "rake", '~> 10' + spec.add_development_dependency "linebyline" + spec.add_development_dependency "flexmock" + spec.add_development_dependency "cli_test", "~>1.0" end