Skip to content

Commit c2edd03

Browse files
committed
Shuffle files around
1 parent 1ca1709 commit c2edd03

File tree

11 files changed

+21
-27
lines changed

11 files changed

+21
-27
lines changed

Gemfile

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ source 'https://rubygems.org'
22

33
# Specify your gem's dependencies in csv-importer.gemspec
44
gemspec
5+
6+
gem 'rspec'

bin/console

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env ruby
22

33
require "bundler/setup"
4-
require "csv/importer"
4+
require "csv_importer"
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.

bin/setup

100644100755
File mode changed.

csv-importer.gemspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# coding: utf-8
22
lib = File.expand_path('../lib', __FILE__)
33
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4-
require 'csv/importer/version'
4+
require 'csv_importer/version'
55

66
Gem::Specification.new do |spec|
77
spec.name = "csv-importer"
8-
spec.version = Csv::Importer::VERSION
8+
spec.version = CSVImporter::VERSION
99
spec.authors = ["Philippe Creux"]
1010
spec.email = ["[email protected]"]
1111

lib/csv/importer.rb

-7
This file was deleted.

lib/csv/importer/version.rb

-5
This file was deleted.

lib/csv_importer.rb

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
require "csv_importer/version"
2+
3+
module CSVImporter
4+
# Your code goes here...
5+
end

lib/csv_importer/version.rb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module CSVImporter
2+
VERSION = "0.1.0"
3+
end

spec/csv/importer_spec.rb

-11
This file was deleted.

spec/csv_importer_spec.rb

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
require 'spec_helper'
2+
3+
describe CSVImporter do
4+
it 'has a version number' do
5+
expect(CSVImporter::VERSION).not_to be nil
6+
end
7+
end

spec/spec_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2-
require 'csv/importer'
2+
require 'csv_importer'

0 commit comments

Comments
 (0)