From 57bf55a8e500be477c0c4fb08cd187891d0a293c Mon Sep 17 00:00:00 2001 From: David Morse Date: Thu, 28 May 2015 20:33:28 -0600 Subject: [PATCH] update ruby build config --- Gruntfile.js | 12 +++++++++--- README.md | 4 +++- bower.json | 4 +++- gridster.js-rails.gemspec | 4 +--- lib/gridster.js-rails/version.rb | 2 +- package.json | 2 +- 6 files changed, 18 insertions(+), 10 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 01c010d25a..822fdeb5b5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -123,7 +123,7 @@ module.exports = function(grunt) { command: 'gem build gridster.js-rails.gemspec' }, 'publish-rails-gem': { - command: 'gem push gridster.js-rails-<%= pkg.version %>' + command: 'gem push gridster.js-rails-<%= pkg.version %>.gem' } }, 'gh-pages': { @@ -153,7 +153,13 @@ module.exports = function(grunt) { } }, clean: { - dist: ['.grunt','gh-pages', 'dist'] + dist: [ + 'gridster.js-rails*.gem', + '.grunt', + 'gh-pages', + 'dist', + 'vendor' + ] }, changelog: { options: { @@ -193,7 +199,7 @@ module.exports = function(grunt) { grunt.registerTask('docs', ['clean', 'build', 'yuidoc', 'copy:dist', 'gh-pages']); //builds and releases the gem files - grunt.registerTask('rails:publish', ['shell:build-rails-gem', 'shell:publish-rails-gem']); + grunt.registerTask('rails:publish', ['clean', 'build', 'shell:publish-rails-gem']); //use one of the four release tasks to build the artifacts for the release (it will push the docs pages only) grunt.registerTask('release:patch', ['build', 'bump-only:patch', 'build', 'docs', 'changelog']); diff --git a/README.md b/README.md index c8bb4ff25d..cd016f0c51 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ -[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/) [![Build Status](https://travis-ci.org/dsmorse/gridster.js.svg)](http://travis-ci.org/dsmorse/gridster.js) +[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/) [![Gem Version](https://badge.fury.io/rb/gridster.js-rails.svg)](http://badge.fury.io/rb/gridster.js-rails) +[![GitHub version](https://badge.fury.io/gh/dsmorse%2Fgridster.js.svg)](http://badge.fury.io/gh/dsmorse%2Fgridster.js) +[![Bower version](https://badge.fury.io/bo/gridster-js.svg)](http://badge.fury.io/bo/gridster-js) Gridster.js =========== diff --git a/bower.json b/bower.json index b92cb8e3fd..8c96b3f98c 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "gridster", - "homepage": "https://github.com/DecksterTeam/gridster.js", + "homepage": "dsmorse.github.io/gridster.js/", "version": "0.6.9", "dependencies": { "jquery": "^2.1.3" @@ -16,7 +16,9 @@ "private": false, "ignore": [ ".bowerrc", + ".jshintrc", ".gitignore", + ".travis.yml", "CONTRIBUTING.md", "Gruntfile.js", "package.json", diff --git a/gridster.js-rails.gemspec b/gridster.js-rails.gemspec index 1ecea25132..c31e4d8589 100644 --- a/gridster.js-rails.gemspec +++ b/gridster.js-rails.gemspec @@ -12,9 +12,7 @@ Gem::Specification.new do |spec| spec.homepage = "https://github.com/dsmorse/gridster.js" spec.licenses = ['MIT'] - spec.files = `git ls-files -z`.split("\x0").reject { |f| - f.match(%r{^(test|spec|features|dist|demos|node_modules|src|\.bowerrc|\.jshintrc|Gruntfile\.js|bower\.json|package\.json)}) - } + spec.files = Dir["{demos,lib,vendor}/**/*"] + ["LICENSE", "bower.json", "package.json", "CHANGELOG.md", "README.md"] spec.require_paths = ["lib"] diff --git a/lib/gridster.js-rails/version.rb b/lib/gridster.js-rails/version.rb index 3da5602e74..9729002763 100644 --- a/lib/gridster.js-rails/version.rb +++ b/lib/gridster.js-rails/version.rb @@ -1,5 +1,5 @@ module Gridster module Rails - VERSION = "0.6.8" + VERSION = "0.6.9.1" end end diff --git a/package.json b/package.json index 00e690105c..8798d5722e 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "title": "gridster.js", "description": "a drag-and-drop multi-column jQuery grid plugin", "version": "0.6.9", - "homepage": "http://gridster.net/", + "homepage": "dsmorse.github.io/gridster.js/", "author": { "name": "ducksboard" },