summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/Gemfile13
-rw-r--r--users/leap_web_users.gemspec8
-rw-r--r--users/lib/leap_web_users.rb2
-rw-r--r--users/lib/leap_web_users/engine.rb4
-rw-r--r--users/lib/leap_web_users/version.rb3
5 files changed, 8 insertions, 22 deletions
diff --git a/users/Gemfile b/users/Gemfile
index 5e6ebd6..81b0ae8 100644
--- a/users/Gemfile
+++ b/users/Gemfile
@@ -1,17 +1,12 @@
source "http://rubygems.org"
+eval(File.read(File.dirname(__FILE__) + '/../common_dependencies.rb'))
+eval(File.read(File.dirname(__FILE__) + '/../ui_dependencies.rb'))
+
# Declare your gem's dependencies in leap_web_users.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec
-# jquery-rails is used by the dummy application
-gem "jquery-rails"
-
-# Declare any dependencies that are still in development here instead of in
-# your gemspec. These might include edge Rails or gems from your path or
-# Git. Remember to move these dependencies to your gemspec before releasing
-# your gem to rubygems.org.
-
# To use debugger
-gem 'ruby-debug'
+# gem 'ruby-debug'
diff --git a/users/leap_web_users.gemspec b/users/leap_web_users.gemspec
index 94c32ff..f64a76a 100644
--- a/users/leap_web_users.gemspec
+++ b/users/leap_web_users.gemspec
@@ -1,6 +1,5 @@
$:.push File.expand_path("../lib", __FILE__)
-require "leap_web_core/dependencies"
require File.expand_path('../../lib/leap_web/version.rb', __FILE__)
# Describe your gem and declare its dependencies:
@@ -16,12 +15,7 @@ Gem::Specification.new do |s|
s.files = Dir["{app,config,db,lib}/**/*"] + ["Rakefile", "Readme.md"]
s.test_files = Dir["test/**/*"]
- s.add_dependency "rails", "~> 3.2.8"
s.add_dependency "leap_web_core", LeapWeb::VERSION
- s.add_dependency "ruby-srp", "~> 0.1.1"
-
- LeapWebCore::Dependencies.add_ui_gems_to_spec(s)
-
- s.add_development_dependency "mocha"
+ s.add_dependency "ruby-srp", "~> 0.1.1"
end
diff --git a/users/lib/leap_web_users.rb b/users/lib/leap_web_users.rb
index e1b7b1f..1ea1c40 100644
--- a/users/lib/leap_web_users.rb
+++ b/users/lib/leap_web_users.rb
@@ -1,3 +1,5 @@
+require "leap_web_core"
+require "leap_web_core/ui_dependencies"
require "leap_web_users/engine"
module LeapWebUsers
diff --git a/users/lib/leap_web_users/engine.rb b/users/lib/leap_web_users/engine.rb
index b6ab60e..734564b 100644
--- a/users/lib/leap_web_users/engine.rb
+++ b/users/lib/leap_web_users/engine.rb
@@ -1,8 +1,6 @@
# thou shall require all your dependencies in an engine.
require "ruby-srp"
-require "leap_web_core"
-LeapWebCore::Dependencies.require_ui_gems
-
+require "haml-rails"
module LeapWebUsers
class Engine < ::Rails::Engine
diff --git a/users/lib/leap_web_users/version.rb b/users/lib/leap_web_users/version.rb
deleted file mode 100644
index 14e54c1..0000000
--- a/users/lib/leap_web_users/version.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-module LeapWebUsers
- VERSION = "0.0.1"
-end