assembly-objectfile 1.5.1 → 1.5.3

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.
data/README.rdoc CHANGED
@@ -55,6 +55,9 @@ content type specific operations (such as jp2 generation).
55
55
  - 1.4.8 compute mimetype with file unix command by default, and then check for existence of mimetype in exif unless we have a "trusted" mimetype
56
56
  - 1.4.9 update list of trusted mimetypes
57
57
  - 1.5.0 add the ability to skip auto label generation for resources if no labels are supplied
58
+ - 1.5.1 Pin mini_exiftool to 1.x and Nokogiri to 1.5.x branch for Ruby 1.8.7, added image/png and application/zip
59
+ - 1.5.2 Fix for Rails 4 and support for 'rake console'
60
+ - 1.5.3 More gemfile updates
58
61
 
59
62
  ==Usage
60
63
 
data/Rakefile CHANGED
@@ -1,4 +1,10 @@
1
1
  require "bundler/gem_tasks"
2
2
 
3
3
  require 'dlss/rake/dlss_release'
4
- Dlss::Release.new
4
+ Dlss::Release.new
5
+
6
+ desc "Run console with irb (default), pry, etc."
7
+ task :console, :irb do |t, args|
8
+ irb = args[:irb].nil?? 'irb' : args[:irb]
9
+ sh irb, "-r", "#{File.dirname(__FILE__)}/config/boot.rb"
10
+ end
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
 
22
22
  s.add_dependency 'mini_exiftool', "~> 1.6"
23
23
  s.add_dependency 'mime-types'
24
- s.add_dependency 'nokogiri', ((RUBY_VERSION < '1.9') ? "~> 1.5.10" : "~> 1") # 1.6.x requires ruby 1.9
24
+ s.add_dependency 'nokogiri', ((RUBY_VERSION < '1.9') ? "~> 1.5.6" : "~> 1") # 1.6.x requires ruby 1.9
25
25
  s.add_dependency 'activesupport', ((RUBY_VERSION < '1.9.3') ? "~> 3" : "") # 4.0 requires ruby 1.9.3
26
26
 
27
27
  s.add_development_dependency 'json'
data/bin/console CHANGED
@@ -1,8 +1,3 @@
1
- #! /usr/bin/env ruby
1
+ #!/bin/bash
2
2
 
3
- require 'rubygems'
4
- require 'irb'
5
-
6
- require File.expand_path(File.dirname(__FILE__) + '/../config/boot')
7
-
8
- IRB.start
3
+ bundle exec rake console
@@ -3,7 +3,7 @@ module Assembly
3
3
 
4
4
  class ObjectFile
5
5
  # Project version number
6
- VERSION = "1.5.1"
6
+ VERSION = "1.5.3"
7
7
  end
8
8
 
9
9
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assembly-objectfile
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
- - 1
10
- version: 1.5.1
9
+ - 3
10
+ version: 1.5.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Peter Mangiafico
@@ -55,12 +55,12 @@ dependencies:
55
55
  requirements:
56
56
  - - ~>
57
57
  - !ruby/object:Gem::Version
58
- hash: 23
58
+ hash: 15
59
59
  segments:
60
60
  - 1
61
61
  - 5
62
- - 10
63
- version: 1.5.10
62
+ - 6
63
+ version: 1.5.6
64
64
  prerelease: false
65
65
  type: :runtime
66
66
  name: nokogiri