fspath 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
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: ruby
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
@@ -95,13 +94,13 @@ files:
95
94
  - VERSION
96
95
  - fspath.gemspec
97
96
  - lib/fspath.rb
97
+ - lib/fspath/all.rb
98
98
  - lib/fspath/darwin.rb
99
99
  - lib/fspath/xattr.rb
100
100
  - spec/fspath/darwin_spec.rb
101
101
  - spec/fspath/xattr_spec.rb
102
102
  - spec/fspath_spec.rb
103
103
  - spec/spec_helper.rb
104
- has_rdoc: true
105
104
  homepage: http://github.com/toy/fspath
106
105
  licenses:
107
106
  - MIT
@@ -131,12 +130,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
130
  requirements: []
132
131
 
133
132
  rubyforge_project:
134
- rubygems_version: 1.3.7
133
+ rubygems_version: 1.8.10
135
134
  signing_key:
136
135
  specification_version: 3
137
136
  summary: Better than Pathname
138
- test_files:
139
- - spec/fspath/darwin_spec.rb
140
- - spec/fspath/xattr_spec.rb
141
- - spec/fspath_spec.rb
142
- - spec/spec_helper.rb
137
+ test_files: []
138
+