From fbb1cf46366381190caed3f03307584396a9b9e4 Mon Sep 17 00:00:00 2001 From: Mark Larsen Date: Mon, 16 Jun 2014 22:02:45 -0700 Subject: [PATCH] rename to slather --- Gemfile | 2 +- README.md | 8 ++++---- lib/slather.rb | 7 +++++++ lib/{smother => slather}/coverage_file.rb | 2 +- lib/{smother => slather}/coveralls_coverage_file.rb | 2 +- lib/{smother => slather}/project.rb | 4 ++-- lib/{smother => slather}/version.rb | 2 +- lib/smother.rb | 7 ------- smother.gemspec => slather.gemspec | 6 +++--- 9 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 lib/slather.rb rename lib/{smother => slather}/coverage_file.rb (99%) rename lib/{smother => slather}/coveralls_coverage_file.rb (96%) rename lib/{smother => slather}/project.rb (94%) rename lib/{smother => slather}/version.rb (61%) delete mode 100644 lib/smother.rb rename smother.gemspec => slather.gemspec (90%) diff --git a/Gemfile b/Gemfile index e0e33e91..d49677cc 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,4 @@ source 'https://rubygems.org' -# Specify your gem's dependencies in smother.gemspec +# Specify your gem's dependencies in slather.gemspec gemspec diff --git a/README.md b/README.md index 6a4020ed..55af2a69 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Smother +# Slather TODO: Write a gem description @@ -6,7 +6,7 @@ TODO: Write a gem description Add this line to your application's Gemfile: - gem 'smother' + gem 'slather' And then execute: @@ -14,7 +14,7 @@ And then execute: Or install it yourself as: - $ gem install smother + $ gem install slather ## Usage @@ -22,7 +22,7 @@ TODO: Write usage instructions here ## Contributing -1. Fork it ( https://github.com/[my-github-username]/smother/fork ) +1. Fork it ( https://github.com/[my-github-username]/slather/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) diff --git a/lib/slather.rb b/lib/slather.rb new file mode 100644 index 00000000..8fb1bffc --- /dev/null +++ b/lib/slather.rb @@ -0,0 +1,7 @@ +require 'slather/version' +require 'slather/project' +require 'slather/coverage_file' +require 'slather/coveralls_coverage_file' + +module Slather +end diff --git a/lib/smother/coverage_file.rb b/lib/slather/coverage_file.rb similarity index 99% rename from lib/smother/coverage_file.rb rename to lib/slather/coverage_file.rb index f6ecae79..b6a45255 100644 --- a/lib/smother/coverage_file.rb +++ b/lib/slather/coverage_file.rb @@ -1,4 +1,4 @@ -module Smother +module Slather class CoverageFile attr_accessor :project, :gcno_file_pathname diff --git a/lib/smother/coveralls_coverage_file.rb b/lib/slather/coveralls_coverage_file.rb similarity index 96% rename from lib/smother/coveralls_coverage_file.rb rename to lib/slather/coveralls_coverage_file.rb index eb7dc64b..0ace4b68 100644 --- a/lib/smother/coveralls_coverage_file.rb +++ b/lib/slather/coveralls_coverage_file.rb @@ -1,4 +1,4 @@ -module Smother +module Slather class CoverallsCoverageFile < CoverageFile def coverage_data diff --git a/lib/smother/project.rb b/lib/slather/project.rb similarity index 94% rename from lib/smother/project.rb rename to lib/slather/project.rb index 16abaabc..cd03e945 100644 --- a/lib/smother/project.rb +++ b/lib/slather/project.rb @@ -2,7 +2,7 @@ require 'xcodeproj' require 'json' -module Smother +module Slather class Project < Xcodeproj::Project def derived_data_dir @@ -12,7 +12,7 @@ def derived_data_dir def coverage_files Dir["#{derived_data_dir}/**/*.gcno"].map do |file| - coverage_file = Smother::CoverallsCoverageFile.new(file) + coverage_file = Slather::CoverallsCoverageFile.new(file) coverage_file.project = self # If there's no source file for this gcno, or the gcno is old, it probably belongs to another project. if coverage_file.source_file_pathname diff --git a/lib/smother/version.rb b/lib/slather/version.rb similarity index 61% rename from lib/smother/version.rb rename to lib/slather/version.rb index 71b405e2..65ced06c 100644 --- a/lib/smother/version.rb +++ b/lib/slather/version.rb @@ -1,3 +1,3 @@ -module Smother +module Slather VERSION = "0.0.1" end diff --git a/lib/smother.rb b/lib/smother.rb deleted file mode 100644 index 3a6f18bf..00000000 --- a/lib/smother.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'smother/version' -require 'smother/project' -require 'smother/coverage_file' -require 'smother/coveralls_coverage_file' - -module Smother -end diff --git a/smother.gemspec b/slather.gemspec similarity index 90% rename from smother.gemspec rename to slather.gemspec index 0a70564d..96d621f4 100644 --- a/smother.gemspec +++ b/slather.gemspec @@ -1,11 +1,11 @@ # coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require 'smother/version' +require 'slather/version' Gem::Specification.new do |spec| - spec.name = "smother" - spec.version = Smother::VERSION + spec.name = "slather" + spec.version = Slather::VERSION spec.authors = ["Mark Larsen"] spec.email = ["larse503@gmail.com"] spec.summary = %q{TODO: Write a short summary. Required.}