filename 0.1.1 → 0.1.2

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: 2a1de0199d6e088c7d3d5f25ccec790fe5d6a183
4
- data.tar.gz: 9ca727622fa431fbe294459fc8d2b717e0b94c77
3
+ metadata.gz: b9792c1e6d402110199752afe49e824e67eefe03
4
+ data.tar.gz: c49e896a1ce8fd7168f18a63bbdad39a3b1222f0
5
5
  SHA512:
6
- metadata.gz: 7e4b09f62796ac810a689861558e89b71e7dc97a2b9a91e4101dd4c50093eab8823e686ec957f455dd93be4852564935a3f65bf8672290a6ed74a8cc2e2a88b6
7
- data.tar.gz: ae6b3e89a1e4de2bc179437a579a1b1850d1792d9216f7179d9fa631b1a1d291d71241d98c994a7dde4cbb1aca30b75012556a0e728262163894a75ca785e639
6
+ metadata.gz: f8984b8b2d4964880d51946c1ef580f657258df1f20faa3a94d304fb57e25e45360c2452746354d01c73c4e4302ea117d78c6bb12d2d7df611e3fe90e6a95f38
7
+ data.tar.gz: 931fd4b0a5d4f856654254757626c8c73b4fcefad7ba4c20e3f89cf6e9a6512a9f2f0b924f7cfb0f38071dd9527cc5538f1d5a50d35b12a0cae4f8e01c444c17
@@ -49,7 +49,7 @@ class FileName
49
49
  # we can use @a and @b in proc object set by :format option.
50
50
  #
51
51
  # [:filter]
52
- # We specify filters :before and after for basename without suffix, which is got by File.basename(path, ".*")
52
+ # We specify filters :before and :after for basename without suffix, which is got by File.basename(path, ".*")
53
53
  #
54
54
  # [:extension]
55
55
  # Default value of the option of FileName#create.
@@ -343,7 +343,7 @@ class FileName
343
343
  end
344
344
 
345
345
  class Manage
346
- @@filename_directory = File.join(ENV['HOME'], '.filename_gem')
346
+ @@filename_directory = File.join(ENV['HOME'] || '', '.filename_gem')
347
347
  @@configuration = nil
348
348
 
349
349
  CONF_DIRECTORY = 'conf'
@@ -1,3 +1,3 @@
1
1
  class FileName
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filename
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takayuki YAMAGUCHI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-04 00:00:00.000000000 Z
11
+ date: 2015-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
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: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: yard
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: File name generator with sequential number or time string
@@ -74,7 +74,7 @@ executables:
74
74
  extensions: []
75
75
  extra_rdoc_files: []
76
76
  files:
77
- - .gitignore
77
+ - ".gitignore"
78
78
  - Gemfile
79
79
  - LICENSE.txt
80
80
  - README.md
@@ -97,17 +97,17 @@ require_paths:
97
97
  - lib
98
98
  required_ruby_version: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - '>='
100
+ - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  requirements:
105
- - - '>='
105
+ - - ">="
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.0.3
110
+ rubygems_version: 2.5.0
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: Create filename with sequential number or time string that is not duplicated.