Skip to content

Commit fe344e5

Browse files
committed
Finish renaming gem
This includes file and directory changes and everything relating to that. Renaming a gem is more involved that I thought!
1 parent c5c43aa commit fe344e5

File tree

10 files changed

+21
-21
lines changed

10 files changed

+21
-21
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ source "https://rubygems.org"
22

33
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
44

5-
# Specify your gem's dependencies in ten_years_rails_conf_2018.gemspec
5+
# Specify your gem's dependencies in ten_years_rails.gemspec
66
gemspec

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
ten_years_rails_conf_2018 (0.1.0)
4+
ten_years_rails (0.1.0)
55
actionview
66
activesupport
77
colorize (>= 0.8.1)
@@ -81,7 +81,7 @@ DEPENDENCIES
8181
bundler (~> 1.16)
8282
rake (~> 10.0)
8383
rspec (~> 3.0)
84-
ten_years_rails_conf_2018!
84+
ten_years_rails!
8585

8686
BUNDLED WITH
8787
1.16.1

bin/console

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env ruby
22

33
require "bundler/setup"
4-
require "ten_years_rails_conf_2018"
4+
require "ten_years_rails"
55

66
# You can add fixtures and/or initialization code here to make experimenting
77
# with your gem easier. You can also use a different console, if you like.

lib/ten_years_rails.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
require "ten_years_rails/version"
2+
require "deprecation_tracker"
3+
4+
module TenYearsRails
5+
# Your code goes here...
6+
end

lib/ten_years_rails/version.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module TenYearsRails
2+
VERSION = "0.1.0"
3+
end

lib/ten_years_rails_conf_2018.rb

Lines changed: 0 additions & 6 deletions
This file was deleted.

lib/ten_years_rails_conf_2018/version.rb

Lines changed: 0 additions & 3 deletions
This file was deleted.

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require "bundler/setup"
2-
require "ten_years_rails_conf_2018"
2+
require "ten_years_rails"
33

44
RSpec.configure do |config|
55
# Enable flags like --only-failures and --next-failure

spec/ten_years_rails_conf_2018_spec.rb renamed to spec/ten_years_rails_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
RSpec.describe TenYearsRailsConf2018 do
1+
RSpec.describe TenYearsRails do
22
it "has a version number" do
3-
expect(TenYearsRailsConf2018::VERSION).not_to be nil
3+
expect(TenYearsRails::VERSION).not_to be nil
44
end
55

66
it "does something useful" do

ten_years_rails_conf_2018.gemspec renamed to ten_years_rails.gemspec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11

22
lib = File.expand_path("../lib", __FILE__)
33
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4-
require "ten_years_rails_conf_2018/version"
4+
require "ten_years_rails/version"
55

66
Gem::Specification.new do |spec|
7-
spec.name = "ten_years_rails_conf_2018"
8-
spec.version = TenYearsRailsConf2018::VERSION
7+
spec.name = "ten_years_rails"
8+
spec.version = TenYearsRails::VERSION
99
spec.authors = ["Jordan Raine"]
1010
spec.email = ["[email protected]"]
1111

12-
spec.summary = %q{Companion code to Ten Years of Rails Upgrade at RailsConf2018}
13-
spec.homepage = "https://github.com/clio/ten_years_rails_conf_2018"
12+
spec.summary = %q{Companion code to Ten Years of Rails Upgrades}
13+
spec.homepage = "https://github.com/clio/ten_years_rails"
1414
spec.license = "MIT"
1515

1616
spec.files = `git ls-files -z`.split("\x0").reject do |f|

0 commit comments

Comments
 (0)