Skip to content

Commit

Permalink
release 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mdxp committed Feb 25, 2013
1 parent 8c40779 commit af9faac
Show file tree
Hide file tree
Showing 13 changed files with 33 additions and 193 deletions.
5 changes: 0 additions & 5 deletions .document

This file was deleted.

57 changes: 2 additions & 55 deletions .gitignore
@@ -1,57 +1,4 @@
# rcov generated *.gem
coverage

# rdoc generated
rdoc

# yard generated
doc
.yardoc

# bundler
.bundle .bundle

# Gemfile.lock
Gemfile.lock Gemfile.lock

pkg/*
# jeweler generated
pkg

# ci integration
spec/reports/

# for inflight assets
spec/in-flight/

# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
#
# * Create a file at ~/.gitignore
# * Include files you want ignored
# * Run: git config --global core.excludesfile ~/.gitignore
#
# After doing this, these files will be ignored in all your git projects,
# saving you from having to 'pollute' every project you touch with them
#
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
#
# For MacOS:
#
.DS_Store

# For TextMate
#*.tmproj
#tmtags

# For emacs:
#*~
#\#*
#.\#*

# For vim:
#*.swp

# For redcar:
#.redcar

# For rubinius:
#*.rbc
1 change: 0 additions & 1 deletion .rspec

This file was deleted.

21 changes: 2 additions & 19 deletions Gemfile
@@ -1,21 +1,4 @@
source "http://rubygems.org" source "http://rubygems.org"
# Add dependencies required to use your gem here.
# Example:
# gem "activesupport", ">= 2.3.5"


# Add dependencies to develop your gem here. # Specify your gem's dependencies in chef-jenkins.gemspec
# Include everything needed to run rake, tests, features, etc. gemspec
group :development do
gem "rspec", ">= 2.3.0"
gem "bundler", "~> 1.0.0"
gem "jeweler", "~> 1.6.2"
gem "rcov", "~> 0.9.0"
gem "ci_reporter", ">= 0"
gem "chef", ">= 0.10.4"
gem "mixlib-cli", ">= 0"
gem "mixlib-config", ">= 0"
gem "mixlib-log", ">= 0"
gem "git", ">= 1.2.5"
gem "rake", ">= 0"
gem "foodcritic", "~> 1.4.0"
end
53 changes: 1 addition & 52 deletions Rakefile
@@ -1,52 +1 @@
# encoding: utf-8 require "bundler/gem_tasks"

require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "chef-jenkins"
gem.homepage = "http://github.com/adamhjk/chef-jenkins"
gem.license = "MIT"
gem.summary = %Q{Chef+Jenkins}
gem.description = %Q{Keep your chef server in sync with jenkins}
gem.email = "adam@opscode.com"
gem.authors = ["Adam Jacob"]
# dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec => [ 'ci:setup:rspec' ]) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end

RSpec::Core::RakeTask.new(:rcov => [ 'ci:setup:rspec' ]) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
end

task :default => :spec

require 'ci/reporter/rake/rspec'

require 'rdoc/task'
RDoc::Task.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""

rdoc.rdoc_dir = 'rdoc'
rdoc.title = "chef-jenkins #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end

1 change: 0 additions & 1 deletion VERSION

This file was deleted.

1 change: 1 addition & 0 deletions bin/chef-jenkins
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
# #
# Author:: Marius Ducea (<marius.ducea@gmail.com>)
# Author:: Adam Jacob (<adam@opscode.com>) # Author:: Adam Jacob (<adam@opscode.com>)
# Copyright:: Copyright (c) 2011 Opscode, Inc. # Copyright:: Copyright (c) 2011 Opscode, Inc.
# License:: Apache License, Version 2.0 # License:: Apache License, Version 2.0
Expand Down
76 changes: 17 additions & 59 deletions chef-jenkins.gemspec
@@ -1,70 +1,28 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "chef/jenkins/version"


Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "chef-jenkins" s.name = "chef-jenkins"
s.version = "0.0.1" s.version = Chef::Jenkins::VERSION
s.authors = ["Adam Jacob", "Marius Ducea"]
s.email = ["adam@opscode.com", "marius.ducea@gmail.com"]
s.homepage = "https://github.com/mdxp/chef-jenkins"
s.summary = %q{Chef+Jenkins}
s.description = %q{Keep your chef server in sync with jenkins}


s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.rubyforge_project = "chef-jenkins"
s.authors = ["Adam Jacob"]
s.date = "2012-05-08" s.files = `git ls-files`.split("\n")
s.description = "Keep your chef server in sync with jenkins" s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.email = "adam@opscode.com" s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.executables = ["chef-jenkins"] s.require_paths = ["lib"]
s.extra_rdoc_files = [ s.extra_rdoc_files = [
"LICENSE", "LICENSE",
"README.rdoc" "README.rdoc"
] ]


s.files = `git ls-files`.split($\) s.add_dependency "chef", ">= 0.10.10"
s.homepage = "http://github.com/adamhjk/chef-jenkins" s.add_dependency "git", ">= 1.2.5"
s.licenses = ["MIT"]
s.require_paths = ["lib"]
s.rubygems_version = "1.8.15"
s.summary = "Chef+Jenkins"


if s.respond_to? :specification_version then
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rspec>, [">= 2.3.0"])
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_development_dependency(%q<jeweler>, ["~> 1.6.2"])
s.add_development_dependency(%q<rcov>, [">= 0"])
s.add_development_dependency(%q<ci_reporter>, [">= 0"])
s.add_development_dependency(%q<chef>, [">= 0.10.4"])
s.add_development_dependency(%q<mixlib-cli>, [">= 0"])
s.add_development_dependency(%q<mixlib-config>, [">= 0"])
s.add_development_dependency(%q<mixlib-log>, [">= 0"])
s.add_development_dependency(%q<git>, [">= 1.2.5"])
s.add_development_dependency(%q<rake>, [">= 0"])
else
s.add_dependency(%q<rspec>, [">= 2.3.0"])
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
s.add_dependency(%q<rcov>, [">= 0"])
s.add_dependency(%q<ci_reporter>, [">= 0"])
s.add_dependency(%q<chef>, [">= 0.10.4"])
s.add_dependency(%q<mixlib-cli>, [">= 0"])
s.add_dependency(%q<mixlib-config>, [">= 0"])
s.add_dependency(%q<mixlib-log>, [">= 0"])
s.add_dependency(%q<git>, [">= 1.2.5"])
s.add_dependency(%q<rake>, [">= 0"])
end
else
s.add_dependency(%q<rspec>, [">= 2.3.0"])
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
s.add_dependency(%q<rcov>, [">= 0"])
s.add_dependency(%q<ci_reporter>, [">= 0"])
s.add_dependency(%q<chef>, [">= 0.10.4"])
s.add_dependency(%q<mixlib-cli>, [">= 0"])
s.add_dependency(%q<mixlib-config>, [">= 0"])
s.add_dependency(%q<mixlib-log>, [">= 0"])
s.add_dependency(%q<git>, [">= 1.2.5"])
s.add_dependency(%q<rake>, [">= 0"])
end
end end

3 changes: 2 additions & 1 deletion lib/chef-jenkins.rb
@@ -1,4 +1,5 @@
# #
# Author:: Marius Ducea (<marius.ducea@gmail.com>)
# Author:: Adam Jacob (<adam@opscode.com>) # Author:: Adam Jacob (<adam@opscode.com>)
# Copyright:: Copyright (c) 2011 Opscode, Inc. # Copyright:: Copyright (c) 2011 Opscode, Inc.
# License:: Apache License, Version 2.0 # License:: Apache License, Version 2.0
Expand All @@ -17,4 +18,4 @@
# #


require 'chef/jenkins' require 'chef/jenkins'

require "chef/jenkins/version"
1 change: 1 addition & 0 deletions lib/chef/application/jenkins.rb
@@ -1,4 +1,5 @@
# #
# Author:: Marius Ducea (<marius.ducea@gmail.com>)
# Author:: Adam Jacob (<adam@opscode.com) # Author:: Adam Jacob (<adam@opscode.com)
# Copyright:: Copyright (c) 2011 Opscode, Inc. # Copyright:: Copyright (c) 2011 Opscode, Inc.
# License:: Apache License, Version 2.0 # License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/chef/jenkins.rb
@@ -1,4 +1,5 @@
# #
# Author:: Marius Ducea (<marius.ducea@gmail.com>)
# Author:: Adam Jacob (<adam@opscode.com>) # Author:: Adam Jacob (<adam@opscode.com>)
# Copyright:: Copyright (c) 2011 Opscode, Inc. # Copyright:: Copyright (c) 2011 Opscode, Inc.
# License:: Apache License, Version 2.0 # License:: Apache License, Version 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/chef/jenkins/config.rb
@@ -1,4 +1,5 @@
# #
# Author:: Marius Ducea (<marius.ducea@gmail.com>)
# Author:: Adam Jacob (<adam@opscode.com>) # Author:: Adam Jacob (<adam@opscode.com>)
# Copyright:: Copyright (c) 2011 Opscode, Inc. # Copyright:: Copyright (c) 2011 Opscode, Inc.
# License:: Apache License, Version 2.0 # License:: Apache License, Version 2.0
Expand Down
5 changes: 5 additions & 0 deletions lib/chef/jenkins/version.rb
@@ -0,0 +1,5 @@
module Chef
module Jenkins
VERSION = "0.2.1"
end
end

0 comments on commit af9faac

Please sign in to comment.