fspath 0.0.2 → 0.0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +8 -4
  2. data/VERSION +1 -1
  3. data/fspath.gemspec +5 -1
  4. metadata +3 -2
data/Rakefile CHANGED
@@ -11,16 +11,20 @@ name = 'fspath'
11
11
  summary = 'Better than Pathname'
12
12
 
13
13
  require 'jeweler'
14
- [nil].each do |platform|
15
- Jeweler::Tasks.new do |gem|
14
+ [nil, 'darwin'].each do |platform|
15
+ spec = Gem::Specification.new do |gem|
16
16
  gem.name = name
17
17
  gem.homepage = "http://github.com/toy/fspath"
18
18
  gem.summary = summary
19
19
  gem.authors = ["Boba Fat"]
20
20
  gem.platform = platform
21
- gem.add_dependency 'rb-appscript' if platform == 'darwin'
21
+ if platform == 'darwin'
22
+ gem.add_dependency 'rb-appscript'
23
+ end
24
+ end
25
+ Jeweler::RubygemsDotOrgTasks.new do |rubygems_tasks|
26
+ rubygems_tasks.jeweler = Jeweler::Tasks.new(spec).jeweler
22
27
  end
23
- Jeweler::RubygemsDotOrgTasks.new
24
28
  end
25
29
 
26
30
  desc "Replace system gem with symlink to this folder"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.2.4
data/fspath.gemspec CHANGED
@@ -5,7 +5,8 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fspath}
8
- s.version = "0.0.2"
8
+ s.version = "0.0.2.4"
9
+ s.platform = %q{darwin}
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
12
  s.authors = ["Boba Fat"]
@@ -40,17 +41,20 @@ Gem::Specification.new do |s|
40
41
  s.specification_version = 3
41
42
 
42
43
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
44
+ s.add_runtime_dependency(%q<rb-appscript>, [">= 0"])
43
45
  s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
44
46
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
45
47
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
46
48
  s.add_development_dependency(%q<rcov>, [">= 0"])
47
49
  else
50
+ s.add_dependency(%q<rb-appscript>, [">= 0"])
48
51
  s.add_dependency(%q<rspec>, ["~> 2.1.0"])
49
52
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
50
53
  s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
51
54
  s.add_dependency(%q<rcov>, [">= 0"])
52
55
  end
53
56
  else
57
+ s.add_dependency(%q<rb-appscript>, [">= 0"])
54
58
  s.add_dependency(%q<rspec>, ["~> 2.1.0"])
55
59
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
56
60
  s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fspath
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 79
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
9
  - 2
10
- version: 0.0.2
10
+ - 4
11
+ version: 0.0.2.4
11
12
  platform: ruby
12
13
  authors:
13
14
  - Boba Fat