gridster-rails 0.1.0 → 0.1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +24 -19
- data/lib/gridster-rails/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Gridster::Rails
|
2
2
|
|
3
|
-
This is gridster.js GEMified for the Rails >= 3.1 asset pipeline through the following:
|
3
|
+
This is [gridster.js](http://gridster.net) GEMified for the Rails >= 3.1 asset pipeline through the following:
|
4
4
|
|
5
5
|
bundle gem gridster-rails
|
6
6
|
cd gridster-rails
|
@@ -14,29 +14,32 @@ This is gridster.js GEMified for the Rails >= 3.1 asset pipeline through the fol
|
|
14
14
|
curl https://raw.github.com/ducksboard/gridster.js/master/LICENSE >> LICENSE
|
15
15
|
git add .
|
16
16
|
git commit -am "initial gridster-rails"
|
17
|
-
git remote add origin
|
17
|
+
git remote add origin git@github.com:vanetten/gridster-rails.git
|
18
18
|
|
19
|
-
* modify lib/gridster-rails/version.rb to match gridster.js version
|
20
|
-
`VERSION = "0.1.0"`
|
19
|
+
* modify **lib/gridster-rails/version.rb** to match gridster.js version
|
21
20
|
|
22
|
-
|
21
|
+
VERSION = "0.1.0.1"
|
23
22
|
|
24
|
-
|
25
|
-
end
|
23
|
+
* modify **lib/gridster-rails.rb** to subclass Rails::Engine
|
26
24
|
|
27
|
-
|
25
|
+
class Engine < ::Rails::Engine
|
26
|
+
end
|
28
27
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
28
|
+
* modify **gridster-rails.gemspec**
|
29
|
+
|
30
|
+
gem.description = "This gem provides jquery.gridster.js and jquery.gridster.css for your Rails 3 application."
|
31
|
+
gem.summary = "Use gridster with Rails 3"
|
32
|
+
gem.homepage = "http://rubygems.org/gems/gridster-rails"
|
33
|
+
gem.files = Dir["{lib,vendor}/**/*"] + ["LICENSE", "README.md"]
|
34
|
+
gem.add_dependency "railties", "~> 3.1"
|
34
35
|
|
35
36
|
* build
|
36
|
-
|
37
|
+
|
38
|
+
rake build
|
37
39
|
|
38
40
|
* release
|
39
|
-
|
41
|
+
|
42
|
+
rake release
|
40
43
|
|
41
44
|
## Installation
|
42
45
|
|
@@ -54,11 +57,13 @@ Or install it yourself as:
|
|
54
57
|
|
55
58
|
## Usage
|
56
59
|
|
57
|
-
Add to application.js
|
58
|
-
|
60
|
+
Add to **application.js**
|
61
|
+
|
62
|
+
//= require jquery.gridster.js`
|
63
|
+
|
64
|
+
Add to **application.css**
|
59
65
|
|
60
|
-
|
61
|
-
`*= require fullcalendar`
|
66
|
+
*= require fullcalendar`
|
62
67
|
|
63
68
|
## Contributing
|
64
69
|
|