Skip to content

Commit

Permalink
フォルダの配置の修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Sibakeny committed May 7, 2021
1 parent f31236d commit caea0de
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 44 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Sp::Rails::Saml
# SpRailsSaml

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/sp/rails/saml`. 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/sp_rails_saml`. 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 "sp/rails/saml"
require "sp_rails_saml"

# 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
11 changes: 0 additions & 11 deletions lib/sp/rails/saml.rb

This file was deleted.

11 changes: 0 additions & 11 deletions lib/sp/rails/saml/hello.rb

This file was deleted.

7 changes: 0 additions & 7 deletions lib/sp/rails/saml/version.rb

This file was deleted.

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

module SpRailsSaml
class Error < StandardError; end
end
3 changes: 3 additions & 0 deletions lib/sp_rails_saml/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module SpRailsSaml
VERSION = "0.1.0"
end
4 changes: 2 additions & 2 deletions sp-rails-saml.gemspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
require_relative 'lib/sp/rails/saml/version'
require_relative 'lib/sp_rails_saml/version'

Gem::Specification.new do |spec|
spec.name = "sp-rails-saml"
spec.version = Sp::Rails::Saml::VERSION
spec.version = SpRailsSaml::VERSION
spec.authors = ["psyashes"]
spec.email = ["[email protected]"]

Expand Down
9 changes: 0 additions & 9 deletions spec/sp/rails/saml_spec.rb

This file was deleted.

5 changes: 5 additions & 0 deletions spec/sp_rails_saml/saml_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
RSpec.describe SpRailsSaml do
it "has a version number" do
expect(SpRailsSaml::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,5 +1,5 @@
require "bundler/setup"
require "sp/rails/saml"
require "sp_rails_saml"

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

0 comments on commit caea0de

Please sign in to comment.