Skip to content

Commit

Permalink
fixed require bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bear-in-mind committed Oct 12, 2020
1 parent a4f6aa2 commit 531f883
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/.bundle/
/.yardoc
/.gem/
/_yardoc/
/coverage/
/doc/
Expand Down
Binary file removed abyme-0.1.0.gem
Binary file not shown.
Binary file added abyme-0.1.2.gem
Binary file not shown.
8 changes: 4 additions & 4 deletions abyme.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require "abyme/version"

Gem::Specification.new do |spec|
spec.name = "abyme"
spec.version = Abyme::VERSION
spec.version = Abyme::VERSION::STRING
spec.authors = ["Romain Sanson", "Louis Sommer"]
spec.email = ["louis.sommer@hey.com"]

Expand All @@ -19,9 +19,9 @@ Gem::Specification.new do |spec|

# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
# spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
# `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
# end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 7 additions & 1 deletion lib/abyme/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
module Abyme
VERSION = "0.1.0"
module VERSION
MAJOR = 0
MINOR = 1
PATCH = 2

STRING = [MAJOR, MINOR, PATCH].join(".")
end
end
2 changes: 2 additions & 0 deletions lib/abyme/view_helpers.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'abyme/abyme_builder'

module Abyme
module ViewHelpers

Expand Down

0 comments on commit 531f883

Please sign in to comment.