regren 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NDI5NjJiZDY2MTMxMDgxYjRlNDlkMzk1MGZhMDI2MjlhMWRjYTQwNg==
5
+ data.tar.gz: !binary |-
6
+ MGY1MWJhYTNjZGQ5YjFiMzM5M2FhYTA4ZGNlOTE2MmI1MWQ2ZDRkNg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ OTQ4MTVlYzViZWU1MWVmYjgzNWRlM2MxMzUwM2ViMzRlMGU0YWEwN2VlMjk3
10
+ ZjBjMGZkNjg1MzIyYmRmZDgxNWU4ZDU3N2M5ODVhNzU4NzlmOGZkN2Q1ZTE5
11
+ MWMwY2YxYzc4NTIyN2JiNzhhOTlmNTQ1Y2Y5MzY3M2Y4YWJkOTc=
12
+ data.tar.gz: !binary |-
13
+ NjI4ZWQ5YWY5MDJiYWEyMzE4MDJhYjlkMmZmMDVhNzVlMTlmYmI5NDk5NmM4
14
+ MTg4NmQwY2NmOWU5MzEwNjM0MmJhNmUxNWIxNDNkNzQ0MzlkMTdiNmRkNWM0
15
+ ODRiN2QxOTUxYmRkMTU3MjczODk4ZjkxY2U2MWZjM2Q4OWFiODY=
@@ -1,4 +1,7 @@
1
1
  class FileNameHistory
2
+
3
+ require 'colorize'
4
+
2
5
  attr_reader :history, :current
3
6
 
4
7
  def initialize(name, history = [])
@@ -113,14 +113,7 @@ describe 'FolderContentsHistory test' do
113
113
 
114
114
  it 'warns about conflict' do
115
115
  @fch.plan_reapplication('.')
116
- -> { @fch.log }.must_output(<<-MSG.gsub(/^.*\|/,'')
117
- |==================================================
118
- |!!! Some files would be lost by this operation !!!
119
- |==================================================
120
- |test-1
121
- |-> test-3
122
- MSG
123
- )
116
+ -> { @fch.log }.must_output(/!!! Some files would be lost by this operation !!!/)
124
117
  end
125
118
  end
126
- end
119
+ end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: regren
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
5
- prerelease:
4
+ version: 0.0.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Adam Ruzicka
@@ -14,23 +13,46 @@ dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: multi_json
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ - - ! '>='
20
21
  - !ruby/object:Gem::Version
21
22
  version: 1.10.1
22
23
  type: :runtime
23
24
  prerelease: false
24
25
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
26
  requirements:
27
27
  - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.10'
30
+ - - ! '>='
28
31
  - !ruby/object:Gem::Version
29
32
  version: 1.10.1
33
+ - !ruby/object:Gem::Dependency
34
+ name: colorize
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ~>
38
+ - !ruby/object:Gem::Version
39
+ version: '0.7'
40
+ - - ! '>='
41
+ - !ruby/object:Gem::Version
42
+ version: 0.7.3
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ~>
48
+ - !ruby/object:Gem::Version
49
+ version: '0.7'
50
+ - - ! '>='
51
+ - !ruby/object:Gem::Version
52
+ version: 0.7.3
30
53
  - !ruby/object:Gem::Dependency
31
54
  name: minitest
32
55
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
56
  requirements:
35
57
  - - ~>
36
58
  - !ruby/object:Gem::Version
@@ -41,7 +63,6 @@ dependencies:
41
63
  type: :development
42
64
  prerelease: false
43
65
  version_requirements: !ruby/object:Gem::Requirement
44
- none: false
45
66
  requirements:
46
67
  - - ~>
47
68
  - !ruby/object:Gem::Version
@@ -49,6 +70,20 @@ dependencies:
49
70
  - - ! '>='
50
71
  - !ruby/object:Gem::Version
51
72
  version: 4.7.3
73
+ - !ruby/object:Gem::Dependency
74
+ name: rake
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ~>
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ type: :development
81
+ prerelease: false
82
+ version_requirements: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
52
87
  description: A simple gem for batch renaming files
53
88
  email: a.ruzicka@outlook.com
54
89
  executables:
@@ -64,26 +99,26 @@ files:
64
99
  homepage: https://github.com/adamruzicka/regren
65
100
  licenses:
66
101
  - MIT
102
+ metadata: {}
67
103
  post_install_message:
68
104
  rdoc_options: []
69
105
  require_paths:
70
106
  - lib
71
107
  required_ruby_version: !ruby/object:Gem::Requirement
72
- none: false
73
108
  requirements:
74
109
  - - ! '>='
75
110
  - !ruby/object:Gem::Version
76
111
  version: 1.9.2
77
112
  required_rubygems_version: !ruby/object:Gem::Requirement
78
- none: false
79
113
  requirements:
80
114
  - - ! '>='
81
115
  - !ruby/object:Gem::Version
82
116
  version: '0'
83
117
  requirements: []
84
118
  rubyforge_project:
85
- rubygems_version: 1.8.25
119
+ rubygems_version: 2.2.2
86
120
  signing_key:
87
- specification_version: 3
121
+ specification_version: 4
88
122
  summary: regren
89
123
  test_files: []
124
+ has_rdoc: