Skip to content
Browse files

switch from jeweler to bundler for gem management and also release a …

…new version
  • Loading branch information...
1 parent a83fbc1 commit e149b6a2d6d0153c36e6ed40575ffcc2d66581b1 @neerajdotname neerajdotname committed
Showing with 40 additions and 223 deletions.
  1. +5 −0 Gemfile
  2. +16 −0 Gemfile.lock
  3. +1 −1 README.md
  4. +2 −50 Rakefile
  5. +15 −171 admin_data.gemspec
  6. +1 −1 lib/admin_data/version.rb
View
5 Gemfile
@@ -0,0 +1,5 @@
+source "http://rubygems.org"
+
+gem 'rake', '=0.8.7'
+
+gemspec
View
16 Gemfile.lock
@@ -0,0 +1,16 @@
+PATH
+ remote: .
+ specs:
+ admin_data (1.1.12)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ rake (0.8.7)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ admin_data!
+ rake (= 0.8.7)
View
2 README.md
@@ -10,7 +10,7 @@
#Test#
-####cd _test/rails_app_ and read the instructions mentioned at README.md there.####
+<tt>cd _test/rails_root</tt> and read the instructions mentioned at README.md there.
View
52 Rakefile
@@ -1,50 +1,2 @@
-require 'rake'
-require 'rake/testtask'
-require 'rake/rdoctask'
-
-desc 'Default: run unit tests.'
-task :default => :test
-
-desc 'Test admin_data gem.'
-Rake::TestTask.new(:test) do |t|
- t.libs << 'lib' << 'test'
- t.pattern = 'test/**/*_test.rb'
- t.verbose = true
-end
-
-desc 'Generate documentation for admin_data gem.'
-Rake::RDocTask.new(:rdoc) do |rdoc|
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = 'AdminData'
- rdoc.options << '--line-numbers' << '--inline-source'
- rdoc.rdoc_files.include('README.md')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
-
-begin
- require 'jeweler'
- require './lib/admin_data/version'
- Jeweler::Tasks.new do |s|
- s.name = "admin_data"
- s.version = AdminData::VERSION
- s.summary = s.description = "Manage database using browser"
- s.email = "neerajdotname@gmail.com"
- s.homepage = "http://github.com/neerajdotname/admin_data"
- s.authors = ['Neeraj Singh']
- s.files = FileList["[A-Z]*", "{app,config,lib}/**/*", 'init.rb']
-
- s.add_dependency('will_paginate', '>= 3.0.pre2')
-
- s.add_development_dependency 'flexmock', '>= 0.8.7'
- s.add_development_dependency 'shoulda', '>= 2.11.3'
- s.add_development_dependency 'factory_girl_rails'
- s.add_development_dependency 'nokogiri', '>= 1.4.3.1'
- end
- Jeweler::GemcutterTasks.new
-rescue LoadError => le
- puts "Jeweler not available. Install it for jeweler-related tasks with: gem install jeweler: #{le.message}"
-end
-
-
-
-#TODO delete and destroy from show page do not provide any feedback
+require 'bundler'
+Bundler::GemHelper.install_tasks
View
186 admin_data.gemspec
@@ -1,177 +1,21 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "admin_data/version"
Gem::Specification.new do |s|
- s.name = %q{admin_data}
- s.version = "1.1.11"
+ s.name = "admin_data"
+ s.version = AdminData::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["Neeraj Singh"]
+ s.email = ["neeraj@BigBinary.com"]
+ s.homepage = ""
+ s.summary = %q{Manage data as if you own it}
+ s.description = %q{Manage data as if you own it}
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Neeraj Singh"]
- s.date = %q{2011-03-16}
- s.description = %q{Manage database using browser}
- s.email = %q{neerajdotname@gmail.com}
- s.extra_rdoc_files = [
- "README.md"
- ]
- s.files = [
- "History.txt",
- "README.md",
- "Rakefile",
- "app/controllers/admin_data/application_controller.rb",
- "app/controllers/admin_data/crud_controller.rb",
- "app/controllers/admin_data/feed_controller.rb",
- "app/controllers/admin_data/home_controller.rb",
- "app/controllers/admin_data/migration_controller.rb",
- "app/controllers/admin_data/public_controller.rb",
- "app/controllers/admin_data/search_controller.rb",
- "app/controllers/admin_data/table_structure_controller.rb",
- "app/helpers/admin_data/application_helper.rb",
- "app/views/admin_data/crud/association/_association_info.html.erb",
- "app/views/admin_data/crud/association/_belongs_to_info.html.erb",
- "app/views/admin_data/crud/association/_habtm_info.html.erb",
- "app/views/admin_data/crud/association/_has_many_info.html.erb",
- "app/views/admin_data/crud/association/_has_one_info.html.erb",
- "app/views/admin_data/crud/edit.html.erb",
- "app/views/admin_data/crud/misc/_form.html.erb",
- "app/views/admin_data/crud/misc/_modify_record.html.erb",
- "app/views/admin_data/crud/new.html.erb",
- "app/views/admin_data/crud/show.html.erb",
- "app/views/admin_data/feed/index.rss.builder",
- "app/views/admin_data/home/index.html.erb",
- "app/views/admin_data/migration/index.html.erb",
- "app/views/admin_data/migration/jstest.html.erb",
- "app/views/admin_data/search/advance_search.html.erb",
- "app/views/admin_data/search/quick_search.html.erb",
- "app/views/admin_data/search/search/_advance_search_form.html.erb",
- "app/views/admin_data/search/search/_errors.html.erb",
- "app/views/admin_data/search/search/_listing.html.erb",
- "app/views/admin_data/search/search/_search_form.html.erb",
- "app/views/admin_data/search/search/_sortby.html.erb",
- "app/views/admin_data/search/search/_title.html.erb",
- "app/views/admin_data/shared/_breadcrum.html.erb",
- "app/views/admin_data/shared/_drop_down_klasses.html.erb",
- "app/views/admin_data/shared/_flash_message.html.erb",
- "app/views/admin_data/shared/_header.html.erb",
- "app/views/admin_data/shared/_powered_by.html.erb",
- "app/views/admin_data/shared/_secondary_navigation.html.erb",
- "app/views/admin_data/table_structure/index.html.erb",
- "app/views/layouts/admin_data.html.erb",
- "app/views/layouts/search.html.erb",
- "config/routes.rb",
- "lib/admin_data.rb",
- "lib/admin_data/active_record_util.rb",
- "lib/admin_data/authenticator.rb",
- "lib/admin_data/config.rb",
- "lib/admin_data/configuration.rb",
- "lib/admin_data/date_util.rb",
- "lib/admin_data/rails_version_check.rb",
- "lib/admin_data/railtie.rb",
- "lib/admin_data/search.rb",
- "lib/admin_data/setup_config.rb",
- "lib/admin_data/util.rb",
- "lib/admin_data/version.rb",
- "lib/public/images/add.png",
- "lib/public/images/no.png",
- "lib/public/images/site.png",
- "lib/public/javascripts/advance_search/act_on_result.js",
- "lib/public/javascripts/advance_search/advance_search.js",
- "lib/public/javascripts/advance_search/advance_search_structure.js",
- "lib/public/javascripts/advance_search/ajaxify_advance_search.js",
- "lib/public/javascripts/advance_search/build_first_row.js",
- "lib/public/javascripts/advance_search/event_bindings.js",
- "lib/public/javascripts/advance_search/global_ajax_setting.js",
- "lib/public/javascripts/advance_search/trigger_submit_on_domready.js",
- "lib/public/javascripts/misc/drop_down_change.js",
- "lib/public/javascripts/misc/js_util.js",
- "lib/public/javascripts/misc/quick_search_input_focus.js",
- "lib/public/javascripts/test/act_on_result.js",
- "lib/public/javascripts/test/advance_search.js",
- "lib/public/javascripts/test/ajaxify_advance_search.js",
- "lib/public/javascripts/test/build_first_row.js",
- "lib/public/javascripts/test/event_bindings.js",
- "lib/public/javascripts/vendor/jack.js",
- "lib/public/javascripts/vendor/jquery-1.4.2.js",
- "lib/public/javascripts/vendor/jquery-ui-1.7.2.custom.min.js",
- "lib/public/javascripts/vendor/jquery.ba-isjquery.js",
- "lib/public/javascripts/vendor/jquery_form.js",
- "lib/public/javascripts/vendor/log.js",
- "lib/public/javascripts/vendor/qunit.js",
- "lib/public/javascripts/vendor/rails.js",
- "lib/public/stylesheets/base.css",
- "lib/public/stylesheets/vendor/jquery-ui-1.7.2.custom.css"
- ]
- s.homepage = %q{http://github.com/neerajdotname/admin_data}
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Manage database using browser}
- s.test_files = [
- "test/rails_root/app/controllers/application_controller.rb",
- "test/rails_root/app/helpers/application_helper.rb",
- "test/rails_root/app/models/city.rb",
- "test/rails_root/app/models/club.rb",
- "test/rails_root/app/models/newspaper.rb",
- "test/rails_root/app/models/phone_number.rb",
- "test/rails_root/app/models/user.rb",
- "test/rails_root/app/models/website.rb",
- "test/rails_root/config/application.rb",
- "test/rails_root/config/boot.rb",
- "test/rails_root/config/environment.rb",
- "test/rails_root/config/environments/development.rb",
- "test/rails_root/config/environments/production.rb",
- "test/rails_root/config/environments/test.rb",
- "test/rails_root/config/initializers/admin_data.rb",
- "test/rails_root/config/initializers/backtrace_silencers.rb",
- "test/rails_root/config/initializers/empty_spaces_to_nil.rb",
- "test/rails_root/config/initializers/inflections.rb",
- "test/rails_root/config/initializers/mime_types.rb",
- "test/rails_root/config/initializers/secret_token.rb",
- "test/rails_root/config/initializers/session_store.rb",
- "test/rails_root/config/routes.rb",
- "test/rails_root/db/migrate/20091030202259_create_users.rb",
- "test/rails_root/db/schema.rb",
- "test/rails_root/db/seeds.rb",
- "test/rails_root/features/step_definitions/advance_search_steps.rb",
- "test/rails_root/features/step_definitions/app_steps.rb",
- "test/rails_root/features/step_definitions/async.rb",
- "test/rails_root/features/step_definitions/configuration_steps.rb",
- "test/rails_root/features/step_definitions/crud_show_steps.rb",
- "test/rails_root/features/step_definitions/feed_steps.rb",
- "test/rails_root/features/step_definitions/quick_search_steps.rb",
- "test/rails_root/features/step_definitions/util.rb",
- "test/rails_root/features/step_definitions/web_steps.rb",
- "test/rails_root/features/support/env.rb",
- "test/rails_root/features/support/hooks.rb",
- "test/rails_root/features/support/paths.rb",
- "test/rails_root/test/factories.rb",
- "test/rails_root/test/performance/browsing_test.rb",
- "test/rails_root/test/test_helper.rb"
- ]
-
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ s.rubyforge_project = "admin_data"
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<will_paginate>, [">= 3.0.pre2"])
- s.add_development_dependency(%q<flexmock>, [">= 0.8.7"])
- s.add_development_dependency(%q<shoulda>, [">= 2.11.3"])
- s.add_development_dependency(%q<factory_girl_rails>, [">= 0"])
- s.add_development_dependency(%q<nokogiri>, [">= 1.4.3.1"])
- else
- s.add_dependency(%q<will_paginate>, [">= 3.0.pre2"])
- s.add_dependency(%q<flexmock>, [">= 0.8.7"])
- s.add_dependency(%q<shoulda>, [">= 2.11.3"])
- s.add_dependency(%q<factory_girl_rails>, [">= 0"])
- s.add_dependency(%q<nokogiri>, [">= 1.4.3.1"])
- end
- else
- s.add_dependency(%q<will_paginate>, [">= 3.0.pre2"])
- s.add_dependency(%q<flexmock>, [">= 0.8.7"])
- s.add_dependency(%q<shoulda>, [">= 2.11.3"])
- s.add_dependency(%q<factory_girl_rails>, [">= 0"])
- s.add_dependency(%q<nokogiri>, [">= 1.4.3.1"])
- end
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
end
-
View
2 lib/admin_data/version.rb
@@ -1,3 +1,3 @@
module AdminData
- VERSION = '1.1.11'
+ VERSION = '1.1.12'
end

0 comments on commit e149b6a

Please sign in to comment.
Something went wrong with that request. Please try again.