mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
update ruby build config
This commit is contained in:
12
Gruntfile.js
12
Gruntfile.js
@@ -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']);
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
[](http://gruntjs.com/)
|
|
||||||
[](http://travis-ci.org/dsmorse/gridster.js)
|
[](http://travis-ci.org/dsmorse/gridster.js)
|
||||||
|
[](http://gruntjs.com/)
|
||||||
[](http://badge.fury.io/rb/gridster.js-rails)
|
[](http://badge.fury.io/rb/gridster.js-rails)
|
||||||
|
[](http://badge.fury.io/gh/dsmorse%2Fgridster.js)
|
||||||
|
[](http://badge.fury.io/bo/gridster-js)
|
||||||
|
|
||||||
Gridster.js
|
Gridster.js
|
||||||
===========
|
===========
|
||||||
|
@@ -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",
|
||||||
|
@@ -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"]
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
@@ -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"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user