filename-helper 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 115866ca42211c7107dbaf11e7c02b806fa54c5f
4
- data.tar.gz: d94301070718a6064c77cdbb9813814a04a50102
3
+ metadata.gz: 156b7f3784873d2b2f6b6ab07bf6ac780a006943
4
+ data.tar.gz: 0189f86576a29ce1b32a757efe0238600af2b5f8
5
5
  SHA512:
6
- metadata.gz: a5e274242fac396d8f4dc76f3e93b1b2564db1eb6330a60e525b0a93343df585f9b22e7fe0156ee6801b155605a94006eb01bf03b3e5364311065271973afef0
7
- data.tar.gz: f75f3c97d50f652472b01c0a2b9a7221596f6b4c5a5d5fb6c60b39faa20dd3e69c3b12231f94af345d1f540c4fb5d3020dca9dacfa47d4f322117bb27e4fa5f0
6
+ metadata.gz: 27934311b5c07d446e655443ea751887aba0eb54f14d5d8c6d52a5be4f31be82495e5f8f81eb1db7653ed1f574ba50285d527fe3bb1a721ea75ebb28434fa88d
7
+ data.tar.gz: 192b78eda34b6f6db9c8644e672e0d4f21adca3b8b61735877150aaf1b8f9092eec78108fb2f0b1d13ea2c58be6e9a1568d2f00f5048a47057bbbfcd9a78ddd5
data/README.md CHANGED
@@ -1,17 +1,17 @@
1
1
  # Filename
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/filename-helper.png)](http://badge.fury.io/rb/filename-helper)
4
+ [![Build Status](https://travis-ci.org/max-power/filename.png?branch=master)](https://travis-ci.org/max-power/filename)
5
+
3
6
  Simple Filename helper. Works well with Pathname.
4
7
 
5
- Pathname.new('ruby') + Filename.new('love', :rb)
6
-
7
- [![GitHub version](https://badge.fury.io/gh/max-power%2Ffilename.png)](http://badge.fury.io/gh/max-power%2Ffilename)
8
- [![Build Status](https://travis-ci.org/max-power/filename.png?branch=master)](https://travis-ci.org/max-power/filename)
8
+ Pathname.new('give/me') + Filename.parse('ham.plz').suffix('eggs', seperator: '_and_').prefix(:all, :the)
9
9
 
10
10
  ## Installation
11
11
 
12
12
  Add this line to your application's Gemfile:
13
13
 
14
- gem 'filename', github: 'max-power/filename'
14
+ gem 'filename-helper'
15
15
 
16
16
  ## Usage
17
17
 
@@ -24,10 +24,10 @@ Add this line to your application's Gemfile:
24
24
  Filename.new('index', ['html', 'erb']).to_s
25
25
  #'index.html.erb'
26
26
 
27
- Filename.new('index', 'html', nil, 'erb', nil).to_s
27
+ Filename.new('index', 'html', nil, 'erb', nil).to_s
28
28
  # 'index.html.erb'
29
29
 
30
- Filename.new(nil, 'htaccess').to_s
30
+ Filename.new(nil, 'htaccess').to_s
31
31
  # '.htaccess'
32
32
 
33
33
  Filename.parse('landscape.jpg').suffix('400x300', 'greyscale', 'inverted').to_s
@@ -38,7 +38,7 @@ Add this line to your application's Gemfile:
38
38
 
39
39
  Filename is build to work well with Pathname:
40
40
 
41
- Pathname.new('/this/is-a') + Filename.new('big', 'test', 'file')
41
+ Pathname.new('/this/is-a') + Filename.new('big', 'test', 'file')
42
42
  # '/this/is-a/big.test.file'
43
43
 
44
44
  ## Contributing
data/filename.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["kevin.melchert@gmail.com"]
11
11
  spec.summary = %q{Simple Filename helper. Works well with Pathname.}
12
12
  spec.description = %q{Simple Filename helper. Works well with Pathname.}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/max-power/filename"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
@@ -1,3 +1,3 @@
1
1
  class Filename
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filename-helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Power
@@ -69,7 +69,7 @@ files:
69
69
  - lib/filename.rb
70
70
  - lib/filename/version.rb
71
71
  - spec/filename_spec.rb
72
- homepage: ''
72
+ homepage: https://github.com/max-power/filename
73
73
  licenses:
74
74
  - MIT
75
75
  metadata: {}