faster_path 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/faster_path/version.rb +1 -1
- data/src/helpers.rs +6 -0
- data/src/lib.rs +0 -2
- data/src/pathname.rs +1 -1
- metadata +1 -2
- data/lib/faster_path.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f424e30f95784fca0f8a926ed9fcc1bf685b9d9a7e19ffbd8f469db470ab231
|
4
|
+
data.tar.gz: f8ae55e8ffd704212b9c5dfa155bbed7599b494f0c628dd5d5815e018baf9a90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b40f9b24736616516f4ebad5d23532e63be150bedcb47d57a9f8eca488b7ec1844748c9a058d6345d6059a0fde72dafa75e4fcad0be62a065bf926924156cf31
|
7
|
+
data.tar.gz: cb1d557b873d1cf64a8b30754c5e53dc7fa18da2b35993a65af2aaf6017b81d9f3f1413cc9ac26ea012a9879a80a07e7988b5a3536b5ceb90b82e2bd0c399cdf
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
[![TravisCI Build Status](https://travis-ci.org/danielpclark/faster_path.svg?branch=master)](https://travis-ci.org/danielpclark/faster_path)
|
4
4
|
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/10ul0gk3cwhlt2lj/branch/master?svg=true)](https://ci.appveyor.com/project/danielpclark/faster-path/branch/master)
|
5
5
|
[![Latest Tag](https://img.shields.io/github/tag/danielpclark/faster_path.svg)](https://github.com/danielpclark/faster_path/tags)
|
6
|
-
[![Commits Since Last Release](https://img.shields.io/github/commits-since/danielpclark/faster_path/v0.3.
|
6
|
+
[![Commits Since Last Release](https://img.shields.io/github/commits-since/danielpclark/faster_path/v0.3.2.svg)](https://github.com/danielpclark/faster_path/pulse)
|
7
7
|
[![Binary Release](https://img.shields.io/github/release/danielpclark/faster_path.svg)](https://github.com/danielpclark/faster_path/releases)
|
8
8
|
[![Coverage Status](https://coveralls.io/repos/github/danielpclark/faster_path/badge.svg)](https://coveralls.io/github/danielpclark/faster_path)
|
9
9
|
[![Inline docs](http://inch-ci.org/github/danielpclark/faster_path.svg?branch=master)](http://inch-ci.org/github/danielpclark/faster_path)
|
@@ -115,7 +115,7 @@ curl -sSf https://static.rust-lang.org/rustup.sh | sh
|
|
115
115
|
Add this line to your application's Gemfile:
|
116
116
|
|
117
117
|
```ruby
|
118
|
-
gem 'faster_path', '~> 0.3.
|
118
|
+
gem 'faster_path', '~> 0.3.2'
|
119
119
|
```
|
120
120
|
|
121
121
|
And then execute:
|
data/lib/faster_path/version.rb
CHANGED
data/src/helpers.rs
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
use ruru::{RString, Object, Class, AnyObject};
|
2
2
|
use debug::RubyDebugInfo;
|
3
3
|
|
4
|
+
pub trait TryFrom<T>: Sized {
|
5
|
+
type Error;
|
6
|
+
|
7
|
+
fn try_from(value: T) -> Result<Self, Self::Error>;
|
8
|
+
}
|
9
|
+
|
4
10
|
#[inline]
|
5
11
|
pub fn is_same_path(a: &str, b: &str) -> bool {
|
6
12
|
if cfg!(windows) {
|
data/src/lib.rs
CHANGED
@@ -4,8 +4,6 @@
|
|
4
4
|
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
|
5
5
|
// http://opensource.org/licenses/MIT>, at your option. This file may not be
|
6
6
|
// copied, modified, or distributed except according to those terms.
|
7
|
-
#![feature(try_from)]
|
8
|
-
|
9
7
|
#[macro_use]
|
10
8
|
extern crate ruru;
|
11
9
|
|
data/src/pathname.rs
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faster_path
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel P. Clark
|
@@ -155,7 +155,6 @@ files:
|
|
155
155
|
- ext/Rakefile
|
156
156
|
- faster_path.gemspec
|
157
157
|
- lib/faster_path.rb
|
158
|
-
- lib/faster_path.so
|
159
158
|
- lib/faster_path/optional/monkeypatches.rb
|
160
159
|
- lib/faster_path/optional/refinements.rb
|
161
160
|
- lib/faster_path/version.rb
|
data/lib/faster_path.so
DELETED
Binary file
|