fspath 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- Mzk2NGMwY2Y1MmVjYzQ4Yzk1MDE1MmE3ZWViMGYyMjExZjdlODA3Zg==
5
- data.tar.gz: !binary |-
6
- MGIwY2I2ZjRlODA5MjMyZDgwNTZmZWY3ZjQ1ZGQ4NjdiZTY1MDNiYw==
2
+ SHA1:
3
+ metadata.gz: 4bad6a1d976a04a791ec8be82565503c0e3262d9
4
+ data.tar.gz: d36e0a34a2a4d3b039e7932df9bddcfa6a110e73
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- YTNhOWE2YTc5NmI1MTAwNWE1ODgzOWE0NmExYmZkYzFhZDBhYzVjOTk3NWU0
10
- NGYyOGQ1NDcxM2I3Yzc1MTExNjU5MjlmNDk1Yjc1Zjk2MjNiYzUyNmZhNTEw
11
- YWY3ZmEyYTVmMzI2ZTI4N2Q5YTcxZWU0YTg5MjExMWI3YzMxMDY=
12
- data.tar.gz: !binary |-
13
- YjM5ZDU2MjBjNTgzMThiOWVjNTVhOTIwY2RjNDIxZWI1MGYzYjMxZTBmZjY0
14
- Y2Q2ZTc1MzBmZTA3NzBlNjg2YmJhM2RmYWIzNjkxNGYyMmQzMDliMWEyNjlm
15
- Njc4MjMwM2UyMjE4ZjVmMzU2M2Y0NjRkMGRkNjU1M2NlOTI2OGU=
6
+ metadata.gz: 673f88c2ee8feb4dc32fdb750f6d9429886e4230f7dcb0d2f204bc5028c8e1d277669dfea0f76b81cf307c8fd9ab593714fd5167f3ab87966d907612ed4b51a0
7
+ data.tar.gz: 79021400b1af61648417a3559e33ca9303335a77fb3d728a274a525072a6adc12284558530c81ffe523d20fcf9ae249367dbf21aee4af2f2eb9027cc32ddb87a
data/.rubocop.yml CHANGED
@@ -3,7 +3,11 @@ AllCops:
3
3
  - '*.gemspec'
4
4
 
5
5
  Lint/EndAlignment:
6
- AlignWith: variable
6
+ EnforcedStyleAlignWith: variable
7
+
8
+ Metrics/BlockLength:
9
+ Exclude:
10
+ - spec/**/*_spec.rb
7
11
 
8
12
  Metrics/ClassLength:
9
13
  Max: 200
@@ -18,7 +22,7 @@ Style/BracesAroundHashParameters:
18
22
  Enabled: false
19
23
 
20
24
  Style/CaseIndentation:
21
- IndentWhenRelativeTo: end
25
+ EnforcedStyle: end
22
26
 
23
27
  Style/DotPosition:
24
28
  EnforcedStyle: trailing
@@ -38,6 +42,10 @@ Style/IfUnlessModifier:
38
42
  Style/IndentHash:
39
43
  EnforcedStyle: consistent
40
44
 
45
+ Style/MultilineIfModifier:
46
+ Exclude:
47
+ - spec/**/*_spec.rb
48
+
41
49
  Style/OpMethod: # leave name in `def ~(name = nil)`
42
50
  Enabled: false
43
51
 
data/.travis.yml CHANGED
@@ -1,11 +1,15 @@
1
1
  sudo: false
2
2
  language: ruby
3
+ before_install:
4
+ - if [[ $TRAVIS_RUBY_VERSION =~ ^2\.[34] ]]; then gem update --system; fi
3
5
  rvm:
4
6
  - '1.8'
5
7
  - '1.9'
6
8
  - '2.0'
7
9
  - '2.1'
8
10
  - '2.2'
11
+ - '2.3.3'
12
+ - '2.4.0'
9
13
  - jruby-18mode
10
14
  - jruby-19mode
11
15
  - ree
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2016 Ivan Kuchin
1
+ Copyright (c) 2010-2017 Ivan Kuchin
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.markdown CHANGED
@@ -86,4 +86,4 @@ Path parts:
86
86
 
87
87
  ## Copyright
88
88
 
89
- Copyright (c) 2010-2016 Ivan Kuchin. See LICENSE.txt for details.
89
+ Copyright (c) 2010-2017 Ivan Kuchin. See LICENSE.txt for details.
data/fspath.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'fspath'
5
- s.version = '3.0.1'
5
+ s.version = '3.0.2'
6
6
  s.summary = %q{Better than Pathname}
7
7
  s.homepage = "http://github.com/toy/#{s.name}"
8
8
  s.authors = ['Ivan Kuchin']
@@ -17,6 +17,6 @@ Gem::Specification.new do |s|
17
17
 
18
18
  s.add_development_dependency 'rspec', '~> 3.0'
19
19
  if RUBY_VERSION >= '2.0'
20
- s.add_development_dependency 'rubocop', '~> 0.28'
20
+ s.add_development_dependency 'rubocop', '~> 0.47'
21
21
  end
22
22
  end
data/lib/fspath.rb CHANGED
@@ -151,7 +151,7 @@ class FSPath < Pathname
151
151
 
152
152
  # Expand glob
153
153
  def glob(*args, &block)
154
- flags = args.last.is_a?(Fixnum) ? args.pop : nil
154
+ flags = args.last.is_a?(Integer) ? args.pop : nil
155
155
  args = [File.join(escape_glob_string, *args)]
156
156
  args << flags if flags
157
157
  self.class.glob(*args, &block)
metadata CHANGED
@@ -1,39 +1,53 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fspath
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-05 00:00:00.000000000 Z
11
+ date: 2017-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.47'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.47'
27
41
  description:
28
42
  email:
29
43
  executables: []
30
44
  extensions: []
31
45
  extra_rdoc_files: []
32
46
  files:
33
- - .appveyor.yml
34
- - .gitignore
35
- - .rubocop.yml
36
- - .travis.yml
47
+ - ".appveyor.yml"
48
+ - ".gitignore"
49
+ - ".rubocop.yml"
50
+ - ".travis.yml"
37
51
  - Gemfile
38
52
  - LICENSE.txt
39
53
  - README.markdown
@@ -50,20 +64,19 @@ require_paths:
50
64
  - lib
51
65
  required_ruby_version: !ruby/object:Gem::Requirement
52
66
  requirements:
53
- - - ! '>='
67
+ - - ">="
54
68
  - !ruby/object:Gem::Version
55
69
  version: '0'
56
70
  required_rubygems_version: !ruby/object:Gem::Requirement
57
71
  requirements:
58
- - - ! '>='
72
+ - - ">="
59
73
  - !ruby/object:Gem::Version
60
74
  version: '0'
61
75
  requirements: []
62
76
  rubyforge_project: fspath
63
- rubygems_version: 2.6.4
77
+ rubygems_version: 2.6.10
64
78
  signing_key:
65
79
  specification_version: 4
66
80
  summary: Better than Pathname
67
81
  test_files:
68
82
  - spec/fspath_spec.rb
69
- has_rdoc: