staticise 0.5.10 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -5,8 +5,13 @@ gem 'haml'
5
5
  gem 'sass'
6
6
  gem 'coffee-script'
7
7
  gem 'commander'
8
+
8
9
  gem 'listen'
9
10
 
11
+ gem 'guard'
12
+ gem 'guard-coffeescript'
13
+ gem 'guard-sass'
14
+
10
15
  require 'rbconfig'
11
16
  gem 'wdm', '>= 0.1.0' if RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i
12
17
 
data/Gemfile.lock CHANGED
@@ -4,6 +4,7 @@ GEM
4
4
  activesupport (3.2.13)
5
5
  i18n (= 0.6.1)
6
6
  multi_json (~> 1.0)
7
+ coderay (1.0.9)
7
8
  coffee-script (2.2.0)
8
9
  coffee-script-source
9
10
  execjs
@@ -13,7 +14,20 @@ GEM
13
14
  execjs (1.4.0)
14
15
  multi_json (~> 1.0)
15
16
  ffi (1.8.1)
17
+ formatador (0.2.4)
16
18
  git (1.2.5)
19
+ guard (1.8.0)
20
+ formatador (>= 0.2.4)
21
+ listen (>= 1.0.0)
22
+ lumberjack (>= 1.0.2)
23
+ pry (>= 0.9.10)
24
+ thor (>= 0.14.6)
25
+ guard-coffeescript (1.3.0)
26
+ coffee-script (>= 2.2.0)
27
+ guard (>= 1.1.0)
28
+ guard-sass (1.2.0)
29
+ guard (>= 1.1.0)
30
+ sass (>= 3.1)
17
31
  haml (4.0.2)
18
32
  tilt
19
33
  highline (1.6.18)
@@ -28,7 +42,13 @@ GEM
28
42
  rb-fsevent (>= 0.9.3)
29
43
  rb-inotify (>= 0.9)
30
44
  rb-kqueue (>= 0.2)
45
+ lumberjack (1.0.3)
46
+ method_source (0.8.1)
31
47
  multi_json (1.7.3)
48
+ pry (0.9.12.2)
49
+ coderay (~> 1.0.5)
50
+ method_source (~> 0.8)
51
+ slop (~> 3.4)
32
52
  rake (10.0.4)
33
53
  rb-fsevent (0.9.3)
34
54
  rb-inotify (0.9.0)
@@ -44,6 +64,8 @@ GEM
44
64
  shoulda-context (1.1.1)
45
65
  shoulda-matchers (2.1.0)
46
66
  activesupport (>= 3.0.0)
67
+ slop (3.4.5)
68
+ thor (0.18.1)
47
69
  tilt (1.4.1)
48
70
 
49
71
  PLATFORMS
@@ -53,6 +75,9 @@ DEPENDENCIES
53
75
  bundler
54
76
  coffee-script
55
77
  commander
78
+ guard
79
+ guard-coffeescript
80
+ guard-sass
56
81
  haml
57
82
  jeweler
58
83
  listen
data/README.rdoc CHANGED
@@ -1,6 +1,49 @@
1
1
  = staticise
2
2
 
3
- Description goes here.
3
+ A static site generator using HAML, SASS, Less, CoffeeScript
4
+
5
+ == Prerequisites
6
+
7
+ * Ruby 1.9++
8
+
9
+ installer: http://www.ruby-lang.org/en/downloads/
10
+
11
+ * NodeJS:
12
+
13
+ installer: http://nodejs.org/download/
14
+
15
+ * CoffeeScript:
16
+
17
+ npm install -g coffee-script
18
+
19
+ * Less
20
+
21
+ npm install -g less
22
+
23
+
24
+ == Installation
25
+
26
+ Create your working folder.
27
+
28
+ mkdir my-website
29
+ cd my-website
30
+
31
+ Create a Gemfile:
32
+
33
+ touch Gemfile
34
+
35
+ Add the following into the Gemfile:
36
+
37
+ source 'https://rubygems.org'
38
+ gem 'staticise'
39
+
40
+ Then from your project root run:
41
+
42
+ bundle install
43
+ staticise init
44
+ staticise watch
45
+
46
+ And done, you can now start creating your static website using the power of dynamic libraries. Check the sample app here for more info https://github.com/melvinsembrano/staticise-sample
4
47
 
5
48
  == Contributing to staticise
6
49
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.10
1
+ 0.6.0
data/app/js/main.coffee CHANGED
@@ -1,5 +1,5 @@
1
1
  myScript =
2
2
  init: ->
3
- alert('hello')
3
+ alert('hello world')
4
4
 
5
5
  myScript.init()
data/app/pages/help.html CHANGED
@@ -2,3 +2,5 @@
2
2
  I am a help page
3
3
  </h1>
4
4
  <p>Hello world . com</p>
5
+ melvin
6
+
data/app/pages/index.haml CHANGED
@@ -1,6 +1,6 @@
1
1
  %h1 Hello World
2
2
  %p
3
- Hello world, hello world...
3
+ Hello world...
4
4
 
5
5
  %h5 Footer with haml partial
6
6
  = partial "footer.haml"
data/bin/staticise CHANGED
@@ -41,10 +41,14 @@ command :watch do |c|
41
41
  c.option '--no-coffee', 'do not include coffee files'
42
42
 
43
43
  c.action do |args, options|
44
+ `guard start -w #{ APP_ROOT }`
45
+ =begin
44
46
  Staticise::Renderer.all
45
47
 
46
48
  watcher = Staticise::Watcher.new(options)
47
49
  watcher.start
50
+ =end
51
+
48
52
  end
49
53
  end
50
54
 
@@ -0,0 +1,15 @@
1
+ module Guard
2
+ class Staticise
3
+ class Notifier
4
+ class << self
5
+ def image(result)
6
+ result ? :success: :faild
7
+ end
8
+
9
+ def notify(result, message)
10
+ ::Guard::Notifier.notify(message, :title => 'Guard::Staticise', :image => image(result))
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,71 @@
1
+ require 'guard'
2
+ require 'guard/guard'
3
+ require 'guard/watcher'
4
+
5
+ require File.expand_path(File.join(File.dirname(__FILE__), "..", "staticise"))
6
+
7
+ module Guard
8
+ class Staticise < Guard
9
+ autoload :Notifier, File.join(File.dirname(__FILE__), 'staticise', 'notifier')
10
+
11
+ DEFAULT_OPTIONS = {
12
+ :output => 'public',
13
+ :input => 'app/pages',
14
+ :all_on_start => true
15
+ }
16
+
17
+ def initialize(watchers =[], options = {})
18
+ watchers = [] if !watchers
19
+ ::Guard::UI.info("staticise watcher #{ watchers }")
20
+
21
+ defaults = DEFAULT_OPTIONS.clone
22
+
23
+ watchers << ::Guard::Watcher.new(%r{^#{ defaults[:input] }/(.+\.h[ta]ml)$})
24
+
25
+ super(watchers, defaults.merge(options))
26
+ end
27
+
28
+ def start
29
+ run_all if options[:all_on_start]
30
+ end
31
+
32
+ def stop
33
+
34
+ end
35
+
36
+ def reload
37
+
38
+ end
39
+
40
+ def run_all
41
+ begin
42
+ ::Staticise::Renderer.all
43
+ rescue Exception => e
44
+ message = "Error compiling pages: #{ e.message }"
45
+ ::Guard::UI.info(message)
46
+ Notifier.notify(false, message)
47
+
48
+
49
+ end
50
+ end
51
+
52
+ def run_on_changes(paths)
53
+ begin
54
+ paths.each do |f|
55
+ ::Staticise::Renderer.new(f).export
56
+ end
57
+ rescue Exception => e
58
+ message = "Error compiling #{ paths.join(", ")}: #{ e.message }"
59
+ ::Guard::UI.info(message)
60
+ Notifier.notify(false, message)
61
+
62
+ end
63
+
64
+ end
65
+
66
+ def run_on_removals(paths)
67
+ # Runner.remove(Inspector.clean(paths, :missing_ok => true), watchers, options)
68
+ end
69
+
70
+ end
71
+ end
@@ -1,7 +1,59 @@
1
- <html>
2
-
1
+ <!DOCTYPE html>
2
+ <html lang='en'>
3
+ <head>
4
+ <meta charset='utf-8'>
5
+ <meta content='IE=Edge,chrome=1' http-equiv='X-UA-Compatible'>
6
+ <meta content='width=device-width, initial-scale=1.0' name='viewport'>
7
+ <title></title>
8
+
9
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
+ <!--[if lt IE 9]>
11
+
12
+ <![endif]-->
13
+
14
+ <link href='images/apple-touch-icon-144x144.png' rel='apple-touch-icon-precomposed' sizes='144x144'>
15
+ <link href='images/apple-touch-icon-114x114.png' rel='apple-touch-icon-precomposed' sizes='114x114'>
16
+ <link href='images/apple-touch-icon-72x72.png' rel='apple-touch-icon-precomposed' sizes='72x72'>
17
+ <link href='images/apple-touch-icon.png' rel='apple-touch-icon-precomposed'>
18
+ <link href='favicon.ico' rel='shortcut icon'>
19
+ </head>
3
20
  <body>
4
- <h1>Cat Page</h1>
5
-
21
+ <div class='navbar navbar-fixed-top'>
22
+ <div class='navbar-inner'>
23
+ <div class='container'>
24
+ <a class='btn btn-navbar' data-target='.nav-collapse' data-toggle='collapse'>
25
+ <span class='icon-bar'></span>
26
+ <span class='icon-bar'></span>
27
+ <span class='icon-bar'></span>
28
+ </a>
29
+ <a class='brand' href='/' title='Im sick of damn excel sheet'>isodes</a>
30
+ <div class='container nav-collapse'>
31
+ <ul class='nav'>
32
+ <li></li>
33
+ <li></li>
34
+ <li></li>
35
+ <li></li>
36
+ </ul>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ <div class='container content-panel'>
42
+ <div class='row'>
43
+ <div class='span12'>
44
+
45
+ <h1>Cat Page</h1>
46
+ </div>
47
+ </div>
48
+ <footer>
49
+ <p>&copy; melvinsembrano@gmail.com 2013</p>
50
+ </footer>
51
+ </div>
52
+ <!--
53
+ Javascripts
54
+ ==================================================
55
+ -->
56
+ <!-- Placed at the end of the document so the pages load faster -->
57
+
6
58
  </body>
7
59
  </html>
@@ -1,7 +1,59 @@
1
- <html>
2
-
1
+ <!DOCTYPE html>
2
+ <html lang='en'>
3
+ <head>
4
+ <meta charset='utf-8'>
5
+ <meta content='IE=Edge,chrome=1' http-equiv='X-UA-Compatible'>
6
+ <meta content='width=device-width, initial-scale=1.0' name='viewport'>
7
+ <title></title>
8
+
9
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
+ <!--[if lt IE 9]>
11
+
12
+ <![endif]-->
13
+
14
+ <link href='images/apple-touch-icon-144x144.png' rel='apple-touch-icon-precomposed' sizes='144x144'>
15
+ <link href='images/apple-touch-icon-114x114.png' rel='apple-touch-icon-precomposed' sizes='114x114'>
16
+ <link href='images/apple-touch-icon-72x72.png' rel='apple-touch-icon-precomposed' sizes='72x72'>
17
+ <link href='images/apple-touch-icon.png' rel='apple-touch-icon-precomposed'>
18
+ <link href='favicon.ico' rel='shortcut icon'>
19
+ </head>
3
20
  <body>
4
- <h1>Dog Page</h1>
5
-
21
+ <div class='navbar navbar-fixed-top'>
22
+ <div class='navbar-inner'>
23
+ <div class='container'>
24
+ <a class='btn btn-navbar' data-target='.nav-collapse' data-toggle='collapse'>
25
+ <span class='icon-bar'></span>
26
+ <span class='icon-bar'></span>
27
+ <span class='icon-bar'></span>
28
+ </a>
29
+ <a class='brand' href='/' title='Im sick of damn excel sheet'>isodes</a>
30
+ <div class='container nav-collapse'>
31
+ <ul class='nav'>
32
+ <li></li>
33
+ <li></li>
34
+ <li></li>
35
+ <li></li>
36
+ </ul>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ <div class='container content-panel'>
42
+ <div class='row'>
43
+ <div class='span12'>
44
+
45
+ <h1>Dog Page</h1>
46
+ </div>
47
+ </div>
48
+ <footer>
49
+ <p>&copy; melvinsembrano@gmail.com 2013</p>
50
+ </footer>
51
+ </div>
52
+ <!--
53
+ Javascripts
54
+ ==================================================
55
+ -->
56
+ <!-- Placed at the end of the document so the pages load faster -->
57
+
6
58
  </body>
7
59
  </html>
data/public/help.html CHANGED
@@ -1,10 +1,63 @@
1
- <html>
2
-
1
+ <!DOCTYPE html>
2
+ <html lang='en'>
3
+ <head>
4
+ <meta charset='utf-8'>
5
+ <meta content='IE=Edge,chrome=1' http-equiv='X-UA-Compatible'>
6
+ <meta content='width=device-width, initial-scale=1.0' name='viewport'>
7
+ <title></title>
8
+
9
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
+ <!--[if lt IE 9]>
11
+
12
+ <![endif]-->
13
+
14
+ <link href='images/apple-touch-icon-144x144.png' rel='apple-touch-icon-precomposed' sizes='144x144'>
15
+ <link href='images/apple-touch-icon-114x114.png' rel='apple-touch-icon-precomposed' sizes='114x114'>
16
+ <link href='images/apple-touch-icon-72x72.png' rel='apple-touch-icon-precomposed' sizes='72x72'>
17
+ <link href='images/apple-touch-icon.png' rel='apple-touch-icon-precomposed'>
18
+ <link href='favicon.ico' rel='shortcut icon'>
19
+ </head>
3
20
  <body>
4
- <h1>
5
- I am a help page
6
- </h1>
7
- <p>Hello world . com</p>
8
-
21
+ <div class='navbar navbar-fixed-top'>
22
+ <div class='navbar-inner'>
23
+ <div class='container'>
24
+ <a class='btn btn-navbar' data-target='.nav-collapse' data-toggle='collapse'>
25
+ <span class='icon-bar'></span>
26
+ <span class='icon-bar'></span>
27
+ <span class='icon-bar'></span>
28
+ </a>
29
+ <a class='brand' href='/' title='Im sick of damn excel sheet'>isodes</a>
30
+ <div class='container nav-collapse'>
31
+ <ul class='nav'>
32
+ <li></li>
33
+ <li></li>
34
+ <li></li>
35
+ <li></li>
36
+ </ul>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ <div class='container content-panel'>
42
+ <div class='row'>
43
+ <div class='span12'>
44
+
45
+ <h1>
46
+ I am a help page
47
+ </h1>
48
+ <p>Hello world . com</p>
49
+ melvin
50
+ </div>
51
+ </div>
52
+ <footer>
53
+ <p>&copy; melvinsembrano@gmail.com 2013</p>
54
+ </footer>
55
+ </div>
56
+ <!--
57
+ Javascripts
58
+ ==================================================
59
+ -->
60
+ <!-- Placed at the end of the document so the pages load faster -->
61
+
9
62
  </body>
10
63
  </html>
data/public/index.html CHANGED
@@ -1,17 +1,69 @@
1
- <html>
2
-
1
+ <!DOCTYPE html>
2
+ <html lang='en'>
3
+ <head>
4
+ <meta charset='utf-8'>
5
+ <meta content='IE=Edge,chrome=1' http-equiv='X-UA-Compatible'>
6
+ <meta content='width=device-width, initial-scale=1.0' name='viewport'>
7
+ <title></title>
8
+
9
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
+ <!--[if lt IE 9]>
11
+
12
+ <![endif]-->
13
+
14
+ <link href='images/apple-touch-icon-144x144.png' rel='apple-touch-icon-precomposed' sizes='144x144'>
15
+ <link href='images/apple-touch-icon-114x114.png' rel='apple-touch-icon-precomposed' sizes='114x114'>
16
+ <link href='images/apple-touch-icon-72x72.png' rel='apple-touch-icon-precomposed' sizes='72x72'>
17
+ <link href='images/apple-touch-icon.png' rel='apple-touch-icon-precomposed'>
18
+ <link href='favicon.ico' rel='shortcut icon'>
19
+ </head>
3
20
  <body>
4
- <h1>Hello World</h1>
5
- <p>
6
- Hello world, hello world...
7
- </p>
8
- <h5>Footer with haml partial</h5>
9
- <h1>this is a footer</h1>
10
- <p>tst</p>
11
- <h5>Footer with Html partial</h5>
12
- <h1>
13
- I am a Footer with pure html
14
- </h1>
15
-
21
+ <div class='navbar navbar-fixed-top'>
22
+ <div class='navbar-inner'>
23
+ <div class='container'>
24
+ <a class='btn btn-navbar' data-target='.nav-collapse' data-toggle='collapse'>
25
+ <span class='icon-bar'></span>
26
+ <span class='icon-bar'></span>
27
+ <span class='icon-bar'></span>
28
+ </a>
29
+ <a class='brand' href='/' title='Im sick of damn excel sheet'>isodes</a>
30
+ <div class='container nav-collapse'>
31
+ <ul class='nav'>
32
+ <li></li>
33
+ <li></li>
34
+ <li></li>
35
+ <li></li>
36
+ </ul>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ <div class='container content-panel'>
42
+ <div class='row'>
43
+ <div class='span12'>
44
+
45
+ <h1>Hello World</h1>
46
+ <p>
47
+ Hello world...
48
+ </p>
49
+ <h5>Footer with haml partial</h5>
50
+ <h1>this is a footer</h1>
51
+ <p>tst</p>
52
+ <h5>Footer with Html partial</h5>
53
+ <h1>
54
+ I am a Footer with pure html
55
+ </h1>
56
+ </div>
57
+ </div>
58
+ <footer>
59
+ <p>&copy; melvinsembrano@gmail.com 2013</p>
60
+ </footer>
61
+ </div>
62
+ <!--
63
+ Javascripts
64
+ ==================================================
65
+ -->
66
+ <!-- Placed at the end of the document so the pages load faster -->
67
+
16
68
  </body>
17
69
  </html>
data/public/js/app.js CHANGED
@@ -1,4 +1,3 @@
1
- // Generated by CoffeeScript 1.6.2
2
1
  (function() {
3
2
  var myScript;
4
3
 
@@ -12,7 +11,7 @@
12
11
 
13
12
  myScript = {
14
13
  init: function() {
15
- return alert('hello');
14
+ return alert('hello world');
16
15
  }
17
16
  };
18
17
 
data/public/js/main.js CHANGED
@@ -1,10 +1,9 @@
1
- // Generated by CoffeeScript 1.6.2
2
1
  (function() {
3
2
  var myScript;
4
3
 
5
4
  myScript = {
6
5
  init: function() {
7
- return alert('hello');
6
+ return alert('hello world');
8
7
  }
9
8
  };
10
9
 
@@ -1,4 +1,3 @@
1
- // Generated by CoffeeScript 1.6.2
2
1
  (function() {
3
2
  var myScript;
4
3
 
@@ -1,7 +1,59 @@
1
- <html>
2
-
1
+ <!DOCTYPE html>
2
+ <html lang='en'>
3
+ <head>
4
+ <meta charset='utf-8'>
5
+ <meta content='IE=Edge,chrome=1' http-equiv='X-UA-Compatible'>
6
+ <meta content='width=device-width, initial-scale=1.0' name='viewport'>
7
+ <title></title>
8
+
9
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
+ <!--[if lt IE 9]>
11
+
12
+ <![endif]-->
13
+
14
+ <link href='images/apple-touch-icon-144x144.png' rel='apple-touch-icon-precomposed' sizes='144x144'>
15
+ <link href='images/apple-touch-icon-114x114.png' rel='apple-touch-icon-precomposed' sizes='114x114'>
16
+ <link href='images/apple-touch-icon-72x72.png' rel='apple-touch-icon-precomposed' sizes='72x72'>
17
+ <link href='images/apple-touch-icon.png' rel='apple-touch-icon-precomposed'>
18
+ <link href='favicon.ico' rel='shortcut icon'>
19
+ </head>
3
20
  <body>
4
- <h1>Lion Page</h1>
5
-
21
+ <div class='navbar navbar-fixed-top'>
22
+ <div class='navbar-inner'>
23
+ <div class='container'>
24
+ <a class='btn btn-navbar' data-target='.nav-collapse' data-toggle='collapse'>
25
+ <span class='icon-bar'></span>
26
+ <span class='icon-bar'></span>
27
+ <span class='icon-bar'></span>
28
+ </a>
29
+ <a class='brand' href='/' title='Im sick of damn excel sheet'>isodes</a>
30
+ <div class='container nav-collapse'>
31
+ <ul class='nav'>
32
+ <li></li>
33
+ <li></li>
34
+ <li></li>
35
+ <li></li>
36
+ </ul>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ <div class='container content-panel'>
42
+ <div class='row'>
43
+ <div class='span12'>
44
+
45
+ <h1>Lion Page</h1>
46
+ </div>
47
+ </div>
48
+ <footer>
49
+ <p>&copy; melvinsembrano@gmail.com 2013</p>
50
+ </footer>
51
+ </div>
52
+ <!--
53
+ Javascripts
54
+ ==================================================
55
+ -->
56
+ <!-- Placed at the end of the document so the pages load faster -->
57
+
6
58
  </body>
7
59
  </html>
data/public/t.html CHANGED
@@ -1,7 +1,59 @@
1
- <html>
2
-
1
+ <!DOCTYPE html>
2
+ <html lang='en'>
3
+ <head>
4
+ <meta charset='utf-8'>
5
+ <meta content='IE=Edge,chrome=1' http-equiv='X-UA-Compatible'>
6
+ <meta content='width=device-width, initial-scale=1.0' name='viewport'>
7
+ <title></title>
8
+
9
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
+ <!--[if lt IE 9]>
11
+
12
+ <![endif]-->
13
+
14
+ <link href='images/apple-touch-icon-144x144.png' rel='apple-touch-icon-precomposed' sizes='144x144'>
15
+ <link href='images/apple-touch-icon-114x114.png' rel='apple-touch-icon-precomposed' sizes='114x114'>
16
+ <link href='images/apple-touch-icon-72x72.png' rel='apple-touch-icon-precomposed' sizes='72x72'>
17
+ <link href='images/apple-touch-icon.png' rel='apple-touch-icon-precomposed'>
18
+ <link href='favicon.ico' rel='shortcut icon'>
19
+ </head>
3
20
  <body>
4
- melvin
5
-
21
+ <div class='navbar navbar-fixed-top'>
22
+ <div class='navbar-inner'>
23
+ <div class='container'>
24
+ <a class='btn btn-navbar' data-target='.nav-collapse' data-toggle='collapse'>
25
+ <span class='icon-bar'></span>
26
+ <span class='icon-bar'></span>
27
+ <span class='icon-bar'></span>
28
+ </a>
29
+ <a class='brand' href='/' title='Im sick of damn excel sheet'>isodes</a>
30
+ <div class='container nav-collapse'>
31
+ <ul class='nav'>
32
+ <li></li>
33
+ <li></li>
34
+ <li></li>
35
+ <li></li>
36
+ </ul>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ <div class='container content-panel'>
42
+ <div class='row'>
43
+ <div class='span12'>
44
+
45
+ melvin
46
+ </div>
47
+ </div>
48
+ <footer>
49
+ <p>&copy; melvinsembrano@gmail.com 2013</p>
50
+ </footer>
51
+ </div>
52
+ <!--
53
+ Javascripts
54
+ ==================================================
55
+ -->
56
+ <!-- Placed at the end of the document so the pages load faster -->
57
+
6
58
  </body>
7
59
  </html>
data/staticise.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "staticise"
8
- s.version = "0.5.10"
8
+ s.version = "0.6.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Melvin Sembrano"]
12
- s.date = "2013-05-22"
12
+ s.date = "2013-05-23"
13
13
  s.description = "Static site generator using Haml and Coffescript"
14
14
  s.email = "melvinsembrano@gmail.com"
15
15
  s.executables = ["staticise"]
@@ -43,6 +43,8 @@ Gem::Specification.new do |s|
43
43
  "app/pages/t.haml",
44
44
  "bin/staticise",
45
45
  "config.yml",
46
+ "lib/guard/staticise.rb",
47
+ "lib/guard/staticise/notifier.rb",
46
48
  "lib/staticise.rb",
47
49
  "lib/staticise/renderer.rb",
48
50
  "lib/staticise/watcher.rb",
@@ -64,7 +66,7 @@ Gem::Specification.new do |s|
64
66
  s.homepage = "http://github.com/melvinsembrano/staticise"
65
67
  s.licenses = ["MIT"]
66
68
  s.require_paths = ["lib"]
67
- s.rubygems_version = "1.8.10"
69
+ s.rubygems_version = "1.8.25"
68
70
  s.summary = "Static site generator using Haml and Coffescript"
69
71
 
70
72
  if s.respond_to? :specification_version then
@@ -76,6 +78,9 @@ Gem::Specification.new do |s|
76
78
  s.add_runtime_dependency(%q<coffee-script>, [">= 0"])
77
79
  s.add_runtime_dependency(%q<commander>, [">= 0"])
78
80
  s.add_runtime_dependency(%q<listen>, [">= 0"])
81
+ s.add_runtime_dependency(%q<guard>, [">= 0"])
82
+ s.add_runtime_dependency(%q<guard-coffeescript>, [">= 0"])
83
+ s.add_runtime_dependency(%q<guard-sass>, [">= 0"])
79
84
  s.add_development_dependency(%q<shoulda>, [">= 0"])
80
85
  s.add_development_dependency(%q<rdoc>, [">= 0"])
81
86
  s.add_development_dependency(%q<bundler>, [">= 0"])
@@ -86,6 +91,9 @@ Gem::Specification.new do |s|
86
91
  s.add_dependency(%q<coffee-script>, [">= 0"])
87
92
  s.add_dependency(%q<commander>, [">= 0"])
88
93
  s.add_dependency(%q<listen>, [">= 0"])
94
+ s.add_dependency(%q<guard>, [">= 0"])
95
+ s.add_dependency(%q<guard-coffeescript>, [">= 0"])
96
+ s.add_dependency(%q<guard-sass>, [">= 0"])
89
97
  s.add_dependency(%q<shoulda>, [">= 0"])
90
98
  s.add_dependency(%q<rdoc>, [">= 0"])
91
99
  s.add_dependency(%q<bundler>, [">= 0"])
@@ -97,6 +105,9 @@ Gem::Specification.new do |s|
97
105
  s.add_dependency(%q<coffee-script>, [">= 0"])
98
106
  s.add_dependency(%q<commander>, [">= 0"])
99
107
  s.add_dependency(%q<listen>, [">= 0"])
108
+ s.add_dependency(%q<guard>, [">= 0"])
109
+ s.add_dependency(%q<guard-coffeescript>, [">= 0"])
110
+ s.add_dependency(%q<guard-sass>, [">= 0"])
100
111
  s.add_dependency(%q<shoulda>, [">= 0"])
101
112
  s.add_dependency(%q<rdoc>, [">= 0"])
102
113
  s.add_dependency(%q<bundler>, [">= 0"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: staticise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.10
4
+ version: 0.6.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-22 00:00:00.000000000 Z
12
+ date: 2013-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: haml
16
- requirement: &70173478358240 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70173478358240
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: sass
27
- requirement: &70173478357740 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70173478357740
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: coffee-script
38
- requirement: &70173478357260 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '0'
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *70173478357260
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: commander
49
- requirement: &70173478356760 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ! '>='
@@ -54,10 +69,47 @@ dependencies:
54
69
  version: '0'
55
70
  type: :runtime
56
71
  prerelease: false
57
- version_requirements: *70173478356760
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: listen
60
- requirement: &70173478356260 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: guard
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: guard-coffeescript
112
+ requirement: !ruby/object:Gem::Requirement
61
113
  none: false
62
114
  requirements:
63
115
  - - ! '>='
@@ -65,10 +117,31 @@ dependencies:
65
117
  version: '0'
66
118
  type: :runtime
67
119
  prerelease: false
68
- version_requirements: *70173478356260
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: guard-sass
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :runtime
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
69
142
  - !ruby/object:Gem::Dependency
70
143
  name: shoulda
71
- requirement: &70173478355700 !ruby/object:Gem::Requirement
144
+ requirement: !ruby/object:Gem::Requirement
72
145
  none: false
73
146
  requirements:
74
147
  - - ! '>='
@@ -76,10 +149,15 @@ dependencies:
76
149
  version: '0'
77
150
  type: :development
78
151
  prerelease: false
79
- version_requirements: *70173478355700
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
80
158
  - !ruby/object:Gem::Dependency
81
159
  name: rdoc
82
- requirement: &70173478355200 !ruby/object:Gem::Requirement
160
+ requirement: !ruby/object:Gem::Requirement
83
161
  none: false
84
162
  requirements:
85
163
  - - ! '>='
@@ -87,10 +165,15 @@ dependencies:
87
165
  version: '0'
88
166
  type: :development
89
167
  prerelease: false
90
- version_requirements: *70173478355200
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
91
174
  - !ruby/object:Gem::Dependency
92
175
  name: bundler
93
- requirement: &70173478371040 !ruby/object:Gem::Requirement
176
+ requirement: !ruby/object:Gem::Requirement
94
177
  none: false
95
178
  requirements:
96
179
  - - ! '>='
@@ -98,10 +181,15 @@ dependencies:
98
181
  version: '0'
99
182
  type: :development
100
183
  prerelease: false
101
- version_requirements: *70173478371040
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
102
190
  - !ruby/object:Gem::Dependency
103
191
  name: jeweler
104
- requirement: &70173478370520 !ruby/object:Gem::Requirement
192
+ requirement: !ruby/object:Gem::Requirement
105
193
  none: false
106
194
  requirements:
107
195
  - - ! '>='
@@ -109,7 +197,12 @@ dependencies:
109
197
  version: '0'
110
198
  type: :development
111
199
  prerelease: false
112
- version_requirements: *70173478370520
200
+ version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
202
+ requirements:
203
+ - - ! '>='
204
+ - !ruby/object:Gem::Version
205
+ version: '0'
113
206
  description: Static site generator using Haml and Coffescript
114
207
  email: melvinsembrano@gmail.com
115
208
  executables:
@@ -144,6 +237,8 @@ files:
144
237
  - app/pages/t.haml
145
238
  - bin/staticise
146
239
  - config.yml
240
+ - lib/guard/staticise.rb
241
+ - lib/guard/staticise/notifier.rb
147
242
  - lib/staticise.rb
148
243
  - lib/staticise/renderer.rb
149
244
  - lib/staticise/watcher.rb
@@ -176,7 +271,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
176
271
  version: '0'
177
272
  segments:
178
273
  - 0
179
- hash: 4419099196193228984
274
+ hash: 152934586633056435
180
275
  required_rubygems_version: !ruby/object:Gem::Requirement
181
276
  none: false
182
277
  requirements:
@@ -185,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
280
  version: '0'
186
281
  requirements: []
187
282
  rubyforge_project:
188
- rubygems_version: 1.8.10
283
+ rubygems_version: 1.8.25
189
284
  signing_key:
190
285
  specification_version: 3
191
286
  summary: Static site generator using Haml and Coffescript