Skip to content

Commit

Permalink
Fix naming inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
errm committed Jul 16, 2016
1 parent 5347df9 commit d8b10cd
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 24 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 reevoo_sapience.gemspec
# Specify your gem's dependencies in sapience.gemspec
gemspec
35 changes: 35 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
PATH
remote: .
specs:
sapience (0.1.0)

GEM
remote: https://rubygems.org/
specs:
diff-lcs (1.2.5)
rake (10.5.0)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.1)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)

PLATFORMS
ruby

DEPENDENCIES
bundler (~> 1.12)
rake (~> 10.0)
rspec (~> 3.0)
sapience!

BUNDLED WITH
1.12.5
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Sapience

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/reevoo_sapience`. To experiment with that code, run `bin/console` for an interactive prompt.
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/sapience`. To experiment with that code, run `bin/console` for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

Expand Down
2 changes: 1 addition & 1 deletion bin/console
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby

require "bundler/setup"
require "reevoo_sapience"
require "sapience"

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.
Expand Down
5 changes: 0 additions & 5 deletions lib/reevoo_sapience.rb

This file was deleted.

5 changes: 5 additions & 0 deletions lib/sapience.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require "sapience/version"

module Sapience
# Your code goes here...
end
2 changes: 1 addition & 1 deletion lib/reevoo_sapience/version.rb → lib/sapience/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ReevooSapience
module Sapience
VERSION = "0.1.0"
end
6 changes: 3 additions & 3 deletions reevoo_sapience.gemspec → sapience.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 'reevoo_sapience/version'
require 'sapience/version'

Gem::Specification.new do |spec|
spec.name = "reevoo_sapience"
spec.version = ReevooSapience::VERSION
spec.name = "sapience"
spec.version = Sapience::VERSION
spec.authors = ["Mikael Henriksson", "Alex Malkov"]
spec.email = ["[email protected]", "[email protected]"]

Expand Down
11 changes: 0 additions & 11 deletions spec/reevoo_sapience_spec.rb

This file was deleted.

7 changes: 7 additions & 0 deletions spec/sapience_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
require 'spec_helper'

describe Sapience do
it 'has a version number' do
expect(described_class::VERSION).not_to be nil
end
end
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'reevoo_sapience'
require 'sapience'

0 comments on commit d8b10cd

Please sign in to comment.