diff --git a/Gemfile.lock b/Gemfile.lock index 5854c84..e8e7001 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,8 +1,8 @@ PATH remote: . specs: - nsa_panel (0.0.6) - rails (~> 3.2.12) + nsa_panel (0.1.0) + rails (>= 3.2.12, < 5) GEM remote: http://rubygems.org/ diff --git a/Rakefile b/Rakefile index cfc121e..baa7086 100644 --- a/Rakefile +++ b/Rakefile @@ -23,18 +23,4 @@ end APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__) load 'rails/tasks/engine.rake' - - Bundler::GemHelper.install_tasks - -require 'rake/testtask' - -Rake::TestTask.new(:test) do |t| - t.libs << 'lib' - t.libs << 'test' - t.pattern = 'test/**/*_test.rb' - t.verbose = false -end - - -task :default => :test diff --git a/lib/nsa_panel/version.rb b/lib/nsa_panel/version.rb index 3e772a7..97f02b8 100644 --- a/lib/nsa_panel/version.rb +++ b/lib/nsa_panel/version.rb @@ -1,3 +1,3 @@ module NsaPanel - VERSION = '0.0.6' + VERSION = '0.1.0' end diff --git a/nsa_panel.gemspec b/nsa_panel.gemspec index 888110d..1266e6f 100644 --- a/nsa_panel.gemspec +++ b/nsa_panel.gemspec @@ -16,8 +16,7 @@ Gem::Specification.new do |s| s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"] s.test_files = Dir["test/**/*"] - s.add_dependency "rails", "~> 3.2.12" - # s.add_dependency "jquery-rails" + s.add_dependency "rails", ">= 3.2.12", "< 5" s.add_development_dependency "sqlite3" end diff --git a/test/functional/nsa_panel/dashboard_controller_test.rb b/test/functional/nsa_panel/dashboard_controller_test.rb deleted file mode 100644 index 2b701fe..0000000 --- a/test/functional/nsa_panel/dashboard_controller_test.rb +++ /dev/null @@ -1,9 +0,0 @@ -require 'test_helper' - -module NsaPanel - class DashboardControllerTest < ActionController::TestCase - # test "the truth" do - # assert true - # end - end -end diff --git a/test/functional/nsa_panel/data_controller_test.rb b/test/functional/nsa_panel/data_controller_test.rb deleted file mode 100644 index 7f2e77f..0000000 --- a/test/functional/nsa_panel/data_controller_test.rb +++ /dev/null @@ -1,11 +0,0 @@ -require 'test_helper' - -module NsaPanel - class DataControllerTest < ActionController::TestCase - test "should get show" do - get :show - assert_response :success - end - - end -end diff --git a/test/integration/navigation_test.rb b/test/integration/navigation_test.rb deleted file mode 100644 index 97a94c9..0000000 --- a/test/integration/navigation_test.rb +++ /dev/null @@ -1,10 +0,0 @@ -require 'test_helper' - -class NavigationTest < ActionDispatch::IntegrationTest - fixtures :all - - # test "the truth" do - # assert true - # end -end - diff --git a/test/nsa_panel_test.rb b/test/nsa_panel_test.rb deleted file mode 100644 index 0f0de51..0000000 --- a/test/nsa_panel_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class NsaPanelTest < ActiveSupport::TestCase - test "truth" do - assert_kind_of Module, NsaPanel - end -end diff --git a/test/test_helper.rb b/test/test_helper.rb deleted file mode 100644 index 1e26a31..0000000 --- a/test/test_helper.rb +++ /dev/null @@ -1,15 +0,0 @@ -# Configure Rails Environment -ENV["RAILS_ENV"] = "test" - -require File.expand_path("../dummy/config/environment.rb", __FILE__) -require "rails/test_help" - -Rails.backtrace_cleaner.remove_silencers! - -# Load support files -Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } - -# Load fixtures from the engine -if ActiveSupport::TestCase.method_defined?(:fixture_path=) - ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__) -end diff --git a/test/unit/helpers/nsa_panel/dashboard_helper_test.rb b/test/unit/helpers/nsa_panel/dashboard_helper_test.rb deleted file mode 100644 index e9e16a7..0000000 --- a/test/unit/helpers/nsa_panel/dashboard_helper_test.rb +++ /dev/null @@ -1,6 +0,0 @@ -require 'test_helper' - -module NsaPanel - class DashboardHelperTest < ActionView::TestCase - end -end diff --git a/test/unit/helpers/nsa_panel/data_helper_test.rb b/test/unit/helpers/nsa_panel/data_helper_test.rb deleted file mode 100644 index 7161807..0000000 --- a/test/unit/helpers/nsa_panel/data_helper_test.rb +++ /dev/null @@ -1,6 +0,0 @@ -require 'test_helper' - -module NsaPanel - class DataHelperTest < ActionView::TestCase - end -end