fspath 0.1.2-darwin → 0.2.0-darwin

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.2.0
data/fspath.gemspec CHANGED
@@ -4,13 +4,13 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{fspath}
8
- s.version = "0.1.2"
9
- s.platform = %q{darwin}
7
+ s.name = "fspath"
8
+ s.version = "0.2.0"
9
+ s.platform = "darwin"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["Ivan Kuchin"]
13
- s.date = %q{2010-12-18}
13
+ s.date = "2011-10-04"
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE.txt",
16
16
  "README.markdown",
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
25
25
  "VERSION",
26
26
  "fspath.gemspec",
27
27
  "lib/fspath.rb",
28
+ "lib/fspath/all.rb",
28
29
  "lib/fspath/darwin.rb",
29
30
  "lib/fspath/xattr.rb",
30
31
  "spec/fspath/darwin_spec.rb",
@@ -32,20 +33,13 @@ Gem::Specification.new do |s|
32
33
  "spec/fspath_spec.rb",
33
34
  "spec/spec_helper.rb"
34
35
  ]
35
- s.homepage = %q{http://github.com/toy/fspath}
36
+ s.homepage = "http://github.com/toy/fspath"
36
37
  s.licenses = ["MIT"]
37
38
  s.require_paths = ["lib"]
38
- s.rubygems_version = %q{1.3.7}
39
- s.summary = %q{Better than Pathname}
40
- s.test_files = [
41
- "spec/fspath/darwin_spec.rb",
42
- "spec/fspath/xattr_spec.rb",
43
- "spec/fspath_spec.rb",
44
- "spec/spec_helper.rb"
45
- ]
39
+ s.rubygems_version = "1.8.10"
40
+ s.summary = "Better than Pathname"
46
41
 
47
42
  if s.respond_to? :specification_version then
48
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
43
  s.specification_version = 3
50
44
 
51
45
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
data/lib/fspath/all.rb ADDED
@@ -0,0 +1,2 @@
1
+ require 'fspath/darwin'
2
+ require 'fspath/xattr'
data/lib/fspath/darwin.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require 'fspath'
1
2
  require 'appscript'
2
3
 
3
4
  class FSPath < Pathname
data/lib/fspath/xattr.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require 'fspath'
1
2
  require 'xattr'
2
3
 
3
4
  Xattr.class_eval do
data/lib/fspath.rb CHANGED
@@ -93,8 +93,3 @@ module Kernel
93
93
  end
94
94
  private :Pathname
95
95
  end
96
-
97
- require 'fspath/xattr'
98
- if RUBY_PLATFORM.downcase.include?('darwin')
99
- require 'fspath/darwin'
100
- end
@@ -1,4 +1,5 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
+ require 'fspath/darwin'
2
3
 
3
4
  describe FSPath do
4
5
  if RUBY_PLATFORM.downcase.include?('darwin')
@@ -1,4 +1,5 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
+ require 'fspath/xattr'
2
3
 
3
4
  describe Xattr do
4
5
  describe "new" do
data/spec/fspath_spec.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+ require 'fspath'
2
3
 
3
4
  describe FSPath do
4
5
  it "should inherit from Pathname" do
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,2 @@
1
1
  $:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
2
2
  require 'rspec'
3
- require 'fspath'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fspath
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
- prerelease: false
4
+ hash: 23
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
9
8
  - 2
10
- version: 0.1.2
9
+ - 0
10
+ version: 0.2.0
11
11
  platform: darwin
12
12
  authors:
13
13
  - Ivan Kuchin
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-18 00:00:00 +03:00
19
- default_executable:
18
+ date: 2011-10-04 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: xattr
@@ -109,13 +108,13 @@ files:
109
108
  - VERSION
110
109
  - fspath.gemspec
111
110
  - lib/fspath.rb
111
+ - lib/fspath/all.rb
112
112
  - lib/fspath/darwin.rb
113
113
  - lib/fspath/xattr.rb
114
114
  - spec/fspath/darwin_spec.rb
115
115
  - spec/fspath/xattr_spec.rb
116
116
  - spec/fspath_spec.rb
117
117
  - spec/spec_helper.rb
118
- has_rdoc: true
119
118
  homepage: http://github.com/toy/fspath
120
119
  licenses:
121
120
  - MIT
@@ -145,12 +144,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
144
  requirements: []
146
145
 
147
146
  rubyforge_project:
148
- rubygems_version: 1.3.7
147
+ rubygems_version: 1.8.10
149
148
  signing_key:
150
149
  specification_version: 3
151
150
  summary: Better than Pathname
152
- test_files:
153
- - spec/fspath/darwin_spec.rb
154
- - spec/fspath/xattr_spec.rb
155
- - spec/fspath_spec.rb
156
- - spec/spec_helper.rb
151
+ test_files: []
152
+