Skip to content

Commit

Permalink
rename to slather
Browse files Browse the repository at this point in the history
  • Loading branch information
marklarr committed Jun 17, 2014
1 parent d125230 commit fbb1cf4
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# Smother
# Slather

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

gem 'smother'
gem 'slather'

And then execute:

$ bundle

Or install it yourself as:

$ gem install smother
$ gem install slather

## Usage

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`)
Expand Down
7 changes: 7 additions & 0 deletions lib/slather.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
require 'slather/version'
require 'slather/project'
require 'slather/coverage_file'
require 'slather/coveralls_coverage_file'

module Slather
end
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Smother
module Slather
class CoverageFile

attr_accessor :project, :gcno_file_pathname
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Smother
module Slather
class CoverallsCoverageFile < CoverageFile

def coverage_data
Expand Down
4 changes: 2 additions & 2 deletions lib/smother/project.rb → lib/slather/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'xcodeproj'
require 'json'

module Smother
module Slather
class Project < Xcodeproj::Project

def derived_data_dir
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/smother/version.rb → lib/slather/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Smother
module Slather
VERSION = "0.0.1"
end
7 changes: 0 additions & 7 deletions lib/smother.rb

This file was deleted.

6 changes: 3 additions & 3 deletions smother.gemspec → slather.gemspec
Original file line number Diff line number Diff line change
@@ -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 = ["[email protected]"]
spec.summary = %q{TODO: Write a short summary. Required.}
Expand Down

0 comments on commit fbb1cf4

Please sign in to comment.