update ruby build config

This commit is contained in:
David Morse
2015-05-28 20:33:28 -06:00
parent 0ab1348707
commit 57bf55a8e5
6 changed files with 18 additions and 10 deletions

View File

@@ -123,7 +123,7 @@ module.exports = function(grunt) {
command: 'gem build gridster.js-rails.gemspec' command: 'gem build gridster.js-rails.gemspec'
}, },
'publish-rails-gem': { 'publish-rails-gem': {
command: 'gem push gridster.js-rails-<%= pkg.version %>' command: 'gem push gridster.js-rails-<%= pkg.version %>.gem'
} }
}, },
'gh-pages': { 'gh-pages': {
@@ -153,7 +153,13 @@ module.exports = function(grunt) {
} }
}, },
clean: { clean: {
dist: ['.grunt','gh-pages', 'dist'] dist: [
'gridster.js-rails*.gem',
'.grunt',
'gh-pages',
'dist',
'vendor'
]
}, },
changelog: { changelog: {
options: { options: {
@@ -193,7 +199,7 @@ module.exports = function(grunt) {
grunt.registerTask('docs', ['clean', 'build', 'yuidoc', 'copy:dist', 'gh-pages']); grunt.registerTask('docs', ['clean', 'build', 'yuidoc', 'copy:dist', 'gh-pages']);
//builds and releases the gem files //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) //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']); grunt.registerTask('release:patch', ['build', 'bump-only:patch', 'build', 'docs', 'changelog']);

View File

@@ -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) [![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) [![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 Gridster.js
=========== ===========

View File

@@ -1,6 +1,6 @@
{ {
"name": "gridster", "name": "gridster",
"homepage": "https://github.com/DecksterTeam/gridster.js", "homepage": "dsmorse.github.io/gridster.js/",
"version": "0.6.9", "version": "0.6.9",
"dependencies": { "dependencies": {
"jquery": "^2.1.3" "jquery": "^2.1.3"
@@ -16,7 +16,9 @@
"private": false, "private": false,
"ignore": [ "ignore": [
".bowerrc", ".bowerrc",
".jshintrc",
".gitignore", ".gitignore",
".travis.yml",
"CONTRIBUTING.md", "CONTRIBUTING.md",
"Gruntfile.js", "Gruntfile.js",
"package.json", "package.json",

View File

@@ -12,9 +12,7 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/dsmorse/gridster.js" spec.homepage = "https://github.com/dsmorse/gridster.js"
spec.licenses = ['MIT'] spec.licenses = ['MIT']
spec.files = `git ls-files -z`.split("\x0").reject { |f| spec.files = Dir["{demos,lib,vendor}/**/*"] + ["LICENSE", "bower.json", "package.json", "CHANGELOG.md", "README.md"]
f.match(%r{^(test|spec|features|dist|demos|node_modules|src|\.bowerrc|\.jshintrc|Gruntfile\.js|bower\.json|package\.json)})
}
spec.require_paths = ["lib"] spec.require_paths = ["lib"]

View File

@@ -1,5 +1,5 @@
module Gridster module Gridster
module Rails module Rails
VERSION = "0.6.8" VERSION = "0.6.9.1"
end end
end end

View File

@@ -3,7 +3,7 @@
"title": "gridster.js", "title": "gridster.js",
"description": "a drag-and-drop multi-column jQuery grid plugin", "description": "a drag-and-drop multi-column jQuery grid plugin",
"version": "0.6.9", "version": "0.6.9",
"homepage": "http://gridster.net/", "homepage": "dsmorse.github.io/gridster.js/",
"author": { "author": {
"name": "ducksboard" "name": "ducksboard"
}, },