media-path 0.1.3 → 0.1.4

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.
Files changed (3) hide show
  1. data/lib/media-path.rb +0 -1
  2. data/media-path.gemspec +1 -6
  3. metadata +25 -33
@@ -1,7 +1,6 @@
1
1
  # coding: utf-8
2
2
 
3
3
  class MediaPath
4
- VERSION = "0.1.3"
5
4
  # @since 0.0.1
6
5
  def self.first_file(*choices)
7
6
  choices.find { |file| File.file?(File.expand_path(file)) }
@@ -2,17 +2,15 @@
2
2
  # encoding: utf-8
3
3
 
4
4
  # NOTE: we can't use require_relative because when we run gem build, it use eval for executing this file
5
- require File.join(File.dirname(__FILE__), "lib", "media-path")
6
5
  require "base64"
7
6
 
8
7
  Gem::Specification.new do |s|
9
8
  s.name = "media-path"
10
- s.version = MediaPath::VERSION
9
+ s.version = "0.1.4"
11
10
  s.authors = ["Jakub Šťastný aka Botanicus"]
12
11
  s.homepage = "http://github.com/botanicus/media-path"
13
12
  s.summary = "MediaPath abstraction that provides easier interaction with paths and corresponding URLs." # TODO
14
13
  s.description = "" # TODO
15
- s.cert_chain = nil
16
14
  s.email = Base64.decode64("c3Rhc3RueUAxMDFpZGVhcy5jeg==\n")
17
15
  s.has_rdoc = true
18
16
 
@@ -21,9 +19,6 @@ Gem::Specification.new do |s|
21
19
 
22
20
  s.require_paths = ["lib"]
23
21
 
24
- # Ruby version
25
- s.required_ruby_version = ::Gem::Requirement.new("~> 1.9")
26
-
27
22
  # RubyForge
28
23
  s.rubyforge_project = "media-path"
29
24
  end
metadata CHANGED
@@ -1,27 +1,23 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: media-path
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.4
4
5
  prerelease:
5
- version: 0.1.3
6
6
  platform: ruby
7
- authors:
8
- - "Jakub \xC5\xA0\xC5\xA5astn\xC3\xBD aka Botanicus"
7
+ authors:
8
+ - Jakub Šťastný aka Botanicus
9
9
  autorequire:
10
10
  bindir: bin
11
- cert_chain:
12
- date: 2011-05-25 00:00:00 +02:00
13
- default_executable:
11
+ cert_chain: []
12
+ date: 2013-04-26 00:00:00.000000000 Z
14
13
  dependencies: []
15
-
16
- description: ""
17
- email: stastny@101ideas.cz
14
+ description: ''
15
+ email: !binary |-
16
+ c3Rhc3RueUAxMDFpZGVhcy5jeg==
18
17
  executables: []
19
-
20
18
  extensions: []
21
-
22
19
  extra_rdoc_files: []
23
-
24
- files:
20
+ files:
25
21
  - .gitignore
26
22
  - .rspec
27
23
  - CHANGELOG
@@ -36,33 +32,29 @@ files:
36
32
  - spec/spec.opts
37
33
  - spec/stubs/blog/public/js/moo.js
38
34
  - tasks.rb
39
- has_rdoc: true
40
35
  homepage: http://github.com/botanicus/media-path
41
36
  licenses: []
42
-
43
37
  post_install_message:
44
38
  rdoc_options: []
45
-
46
- require_paths:
39
+ require_paths:
47
40
  - lib
48
- required_ruby_version: !ruby/object:Gem::Requirement
41
+ required_ruby_version: !ruby/object:Gem::Requirement
49
42
  none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: "1.9"
54
- required_rubygems_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
48
  none: false
56
- requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: "0"
49
+ requirements:
50
+ - - ! '>='
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
60
53
  requirements: []
61
-
62
54
  rubyforge_project: media-path
63
- rubygems_version: 1.5.3
55
+ rubygems_version: 1.8.23
64
56
  signing_key:
65
57
  specification_version: 3
66
- summary: MediaPath abstraction that provides easier interaction with paths and corresponding URLs.
58
+ summary: MediaPath abstraction that provides easier interaction with paths and corresponding
59
+ URLs.
67
60
  test_files: []
68
-