AbsoluteRenamer 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,11 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
4
+ # -*- encoding: utf-8 -*-
5
+
4
6
  Gem::Specification.new do |s|
5
7
  s.name = %q{AbsoluteRenamer}
6
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
7
9
 
8
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
11
  s.authors = ["Simon COURTOIS"]
@@ -58,12 +60,11 @@ Gem::Specification.new do |s|
58
60
  "test/string_test.rb",
59
61
  "test/test_helper.rb"
60
62
  ]
61
- s.has_rdoc = true
62
63
  s.homepage = %q{http://github.com/simonc/AbsoluteRenamer}
63
64
  s.rdoc_options = ["--charset=UTF-8"]
64
65
  s.require_paths = ["lib"]
65
66
  s.rubyforge_project = %q{absrenamer}
66
- s.rubygems_version = %q{1.2.0}
67
+ s.rubygems_version = %q{1.3.5}
67
68
  s.summary = %q{AbsoluteRenamer is a very powerful tool that helps files and directories renaming using the Krename syntax.}
68
69
  s.test_files = [
69
70
  "test/string_test.rb",
@@ -80,9 +81,9 @@ Gem::Specification.new do |s|
80
81
 
81
82
  if s.respond_to? :specification_version then
82
83
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
83
- s.specification_version = 2
84
+ s.specification_version = 3
84
85
 
85
- if current_version >= 3 then
86
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
86
87
  s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
87
88
  else
88
89
  s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -19,6 +19,7 @@ module AbsoluteRenamer
19
19
 
20
20
  find_gems
21
21
  find_gems_from_conf
22
+ exclude_gems
22
23
 
23
24
  @gems.each do |gem_name, gem_infos|
24
25
  gem gem_name, gem_infos[:version]
@@ -44,6 +45,12 @@ module AbsoluteRenamer
44
45
  end
45
46
  end
46
47
 
48
+ def exclude_gems
49
+ if @conf[:exclude]
50
+ @gems.reject! { |gem_name, gem_infos| @conf[:exclude].include? gem_name }
51
+ end
52
+ end
53
+
47
54
  def load_core
48
55
  require 'absolute_renamer/core-packages/core-packages'
49
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: AbsoluteRenamer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon COURTOIS
@@ -14,7 +14,7 @@ default_executable: absrenamer
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: thoughtbot-shoulda
17
- type: :runtime
17
+ type: :development
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement
20
20
  requirements:
@@ -74,6 +74,8 @@ files:
74
74
  - test/test_helper.rb
75
75
  has_rdoc: true
76
76
  homepage: http://github.com/simonc/AbsoluteRenamer
77
+ licenses: []
78
+
77
79
  post_install_message:
78
80
  rdoc_options:
79
81
  - --charset=UTF-8
@@ -94,9 +96,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
96
  requirements: []
95
97
 
96
98
  rubyforge_project: absrenamer
97
- rubygems_version: 1.2.0
99
+ rubygems_version: 1.3.5
98
100
  signing_key:
99
- specification_version: 2
101
+ specification_version: 3
100
102
  summary: AbsoluteRenamer is a very powerful tool that helps files and directories renaming using the Krename syntax.
101
103
  test_files:
102
104
  - test/string_test.rb