Skip to content

Commit

Permalink
update ruby build config
Browse files Browse the repository at this point in the history
  • Loading branch information
David Morse committed May 29, 2015
1 parent 0ab1348 commit 57bf55a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 10 deletions.
12 changes: 9 additions & 3 deletions Gruntfile.js
Expand Up @@ -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': {
Expand Down Expand Up @@ -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: {
Expand Down Expand Up @@ -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']);
Expand Down
4 changes: 3 additions & 1 deletion 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
===========
Expand Down
4 changes: 3 additions & 1 deletion 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"
Expand All @@ -16,7 +16,9 @@
"private": false,
"ignore": [
".bowerrc",
".jshintrc",
".gitignore",
".travis.yml",
"CONTRIBUTING.md",
"Gruntfile.js",
"package.json",
Expand Down
4 changes: 1 addition & 3 deletions gridster.js-rails.gemspec
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion 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
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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"
},
Expand Down

0 comments on commit 57bf55a

Please sign in to comment.