Skip to content

Commit ff31778

Browse files
authored
Merge pull request #140 from OpenVoxProject/metadata
Adjust gem metadata
2 parents dcccb66 + 7f72858 commit ff31778

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def location_for(place, fake_version = nil)
1313
end
1414

1515
# Make sure these gem requirements are in sync with the gempspec. Specifically,
16-
# the runtime_dependencies in puppet.gemspec match the runtime dependencies here
16+
# the runtime_dependencies in openvox.gemspec match the runtime dependencies here
1717
# (like facter, semantic_puppet, and puppet-resource_api)
1818

1919
gem "facter", *location_for(ENV['FACTER_LOCATION'] || ["~> 4.3"])

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ rest of the [developer documents](docs/index.md).
3636

3737
## Licensing
3838

39-
See [LICENSE](LICENSE) file. OpenVox is licensed by Vox Pupuli as a community maintained
40-
implementation of Puppet. Vox Pupuli can be contacted at: voxpupuli@groups.io.
41-
Puppet itself is licensed by Puppet, Inc. under the Apache license. Puppet, Inc. can be contacted at: info@puppet.com
39+
See [LICENSE](LICENSE) file. OpenVox is licensed by the OpenVox Project as a community maintained
40+
implementation of Puppet. The OpenVox Project can be contacted at: openvox@voxpupuli.org.
41+
Puppet itself is licensed by Puppet, Inc. under the Apache license. Puppet, Inc. can be contacted at: info@puppet.com.
4242

4343
## Support
4444

Rakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ end
5959
namespace :pl_ci do
6060
desc 'Build puppet gems'
6161
task :gem_build, [:gemspec] do |t, args|
62-
args.with_defaults(gemspec: 'puppet.gemspec')
62+
args.with_defaults(gemspec: 'openvox.gemspec')
6363
stdout, stderr, status = Open3.capture3(<<~END)
6464
gem build #{args.gemspec} --platform x86-mingw32 && \
6565
gem build #{args.gemspec} --platform x64-mingw32 && \
@@ -79,11 +79,11 @@ namespace :pl_ci do
7979
# this is taken from `rake package:nightly_gem`
8080
extended_dot_version = %x{git describe --tags --dirty --abbrev=7}.chomp.tr('-', '.')
8181

82-
# we must create tempfile in the same directory as puppetg.gemspec, since
82+
# we must create tempfile in the same directory as openvox.gemspec, since
8383
# it uses __dir__ to determine which files to include
8484
require 'tempfile'
8585
Tempfile.create('gemspec', __dir__) do |dst|
86-
File.open('puppet.gemspec', 'r') do |src|
86+
File.open('openvox.gemspec', 'r') do |src|
8787
src.readlines.each do |line|
8888
if line.match?(/version\s*=\s*['"][0-9.]+['"]/)
8989
line = "spec.version = '#{extended_dot_version}'"

puppet.gemspec renamed to openvox.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ Gem::Specification.new do |spec|
55

66
spec.required_rubygems_version = Gem::Requirement.new("> 1.3.1")
77
spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")
8-
spec.authors = ["Vox Pupuli"]
8+
spec.authors = ["OpenVox Project"]
99
spec.date = "2012-08-17"
1010
spec.description = <<~EOF
1111
OpenVox is a community implementation of Puppet, an automated administrative engine for your Linux, Unix, and Windows systems, performs administrative tasks
1212
(such as adding users, installing packages, and updating server configurations) based on a centralized specification.
1313
EOF
14-
spec.email = "openvox@voxpupuli.org."
14+
spec.email = "openvox@voxpupuli.org"
1515
spec.executables = ["puppet"]
1616
spec.files = Dir['[A-Z]*'] + Dir['install.rb'] + Dir['bin/*'] + Dir['lib/**/*'] + Dir['conf/*'] + Dir['man/**/*'] + Dir['tasks/*'] + Dir['locales/**/*'] + Dir['ext/**/*'] + Dir['examples/**/*']
1717
spec.license = "Apache-2.0"

tasks/vox.rake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace :vox do
55
version = args[:version]
66
abort "#{version} does not appear to be a valid version string in x.y.z format" unless Gem::Version.correct?(version)
77

8-
# Update lib/puppet/version.rb and puppet.gemspec
8+
# Update lib/puppet/version.rb and openvox.gemspec
99
puts "Setting version to #{version}"
1010

1111
data = File.read('lib/puppet/version.rb')
@@ -14,10 +14,10 @@ namespace :vox do
1414

1515
File.write('lib/puppet/version.rb', new_data)
1616

17-
data = File.read('puppet.gemspec')
17+
data = File.read('openvox.gemspec')
1818
new_data = data.sub(/spec.version = "\d+\.\d+\.\d+"/, "spec.version = \"#{version}\"")
19-
raise 'Failed to update version in puppet.gemspec' if data == new_data
19+
raise 'Failed to update version in openvox.gemspec' if data == new_data
2020

21-
File.write('puppet.gemspec', new_data)
21+
File.write('openvox.gemspec', new_data)
2222
end
2323
end

0 commit comments

Comments
 (0)