convey 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Convey
2
2
  ### Simple Haml, Sass and CoffeeScript prototyping
3
3
 
4
- Quickly hacked together one night. Not brilliant code, but it works. Patches welcome! ;)
4
+ Write Haml, Sass and CoffeeScript, and just request it as .html, .css and .js respectively, compiled on the fly. No config necessary.
5
5
 
6
6
  ## Install
7
7
 
@@ -11,24 +11,22 @@ Quickly hacked together one night. Not brilliant code, but it works. Patches wel
11
11
 
12
12
  $ convey init my_project
13
13
 
14
- Creates a new skeleton project in `my_project`.
14
+ Creates a new skeleton project in `my_project`. This is optional, you can use any file structure you wish.
15
15
 
16
16
 
17
- $ convey server
18
-
19
- Starts a Sinatra server at `0.0.0.0:4567`. The root path maps to '/index.html'. Any .haml, .sass, or .coffee files will be rendered when a request comes in for the same file name but with the extension of .html, .css, or .js respectively.
17
+ $ convey
20
18
 
19
+ Starts a Sinatra server at `0.0.0.0:3030`. The root path maps to '/index.html'. Any .haml, .sass, or .coffee files will be rendered when a request comes in for the same file name but with the extension of .html, .css, or .js respectively.
21
20
 
21
+
22
22
  $ convey compile
23
23
 
24
24
  Compiles the project files into /compiled.
25
25
 
26
26
  ## Issues? Ideas? Patches?
27
- Please feel free to contact me!
27
+ I'd love to hear from you!
28
28
 
29
29
  ## Copyright and Licence
30
30
 
31
31
  Apache 2.0 License - See LICENSE for details.
32
32
  Copyright (c) 2011 [Ashley Williams](http://ashleyw.co.uk)
33
-
34
- In short, you can use Convey for whatever you like commercial or not, but please include a brief credit (as in the NOTICE file - as per the Apache 2.0 License) somewhere deep in your license file or similar, and, if you're nice and have the time, let me know if you're using it and/or share any significant changes or improvements you make.
data/lib/convey/main.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Convey
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
 
4
4
  def coffee_installed?
5
5
  begin
data/lib/convey/server.rb CHANGED
@@ -5,6 +5,7 @@ module Convey
5
5
  include Convey
6
6
 
7
7
  set :public_folder, Dir.pwd
8
+ set :port, 3030
8
9
 
9
10
  get '/*' do
10
11
  if env["PATH_INFO"] == '/'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: convey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
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: 2011-10-25 00:00:00.000000000Z
12
+ date: 2011-10-26 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra
16
- requirement: &70262187983600 !ruby/object:Gem::Requirement
16
+ requirement: &70328638303520 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.3'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70262187983600
24
+ version_requirements: *70328638303520
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: haml
27
- requirement: &70262187982920 !ruby/object:Gem::Requirement
27
+ requirement: &70328638313760 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70262187982920
35
+ version_requirements: *70328638313760
36
36
  description:
37
37
  email: hi@ashleyw.co.uk
38
38
  executables: