Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
Refactor folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
marjinal1st committed Jan 20, 2014
1 parent 7c6663e commit da84e3d
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 18 deletions.
Empty file added lib/medium-editor-rails.rb
Empty file.
9 changes: 9 additions & 0 deletions lib/medium-editor-rails/engine.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module MediumEditorRails
module Rails
class Engine < ::Rails::Engine
initializer 'MediumEditorRails precompile hook', :group => :all do |app|
app.config.assets.precompile += %w()
end
end
end
end
5 changes: 5 additions & 0 deletions lib/medium-editor-rails/railtie.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module MediumEditorRails
module Rails
class Railtie < ::Rails::Railtie; end
end
end
6 changes: 6 additions & 0 deletions lib/medium-editor-rails/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module MediumEditorRails
module Rails
VERSION = "0.0.1"
MEDIUM_EDITOR_VERSION = ""
end
end
9 changes: 0 additions & 9 deletions lib/medium/editor/rails.rb

This file was deleted.

7 changes: 0 additions & 7 deletions lib/medium/editor/rails/version.rb

This file was deleted.

4 changes: 2 additions & 2 deletions medium-editor-rails.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 'medium/editor/rails/version'
require 'medium-editor-rails/version'

Gem::Specification.new do |spec|
spec.name = "medium-editor-rails"
spec.version = Medium::Editor::Rails::VERSION
spec.version = MediumEditorRails::Rails::VERSION
spec.authors = ["Ahmet Sezgin Duran"]
spec.email = ["[email protected]"]
spec.summary = %q{TODO: Write a short summary. Required.}
Expand Down

0 comments on commit da84e3d

Please sign in to comment.