piano 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +45 -0
  2. data/lib/piano/version.rb +1 -1
  3. data/piano.gemspec +2 -2
  4. metadata +11 -10
data/README.rdoc ADDED
@@ -0,0 +1,45 @@
1
+ = Piano
2
+
3
+ Out-of-the-box sinatra server for fast website sketching using haml and sass.
4
+
5
+ == Installation
6
+ CHECK
7
+
8
+ sudo gem install <git-repo>
9
+
10
+ == Usage
11
+
12
+ server/folder$ piano [<port-number>]
13
+
14
+ Piano will start a Sinatra server based in the same folder where you run the command, in the port given. If no port is given, piano will start in the default Sinatra port, 4567.
15
+
16
+ Haml(http://haml-lang.com/) <tt>.haml</tt> files and Sass (http://sass-lang.com/) <tt>.sass</tt> files in the base folder will automatically be mapped to urls.
17
+
18
+ yoursite.com/users => server/folder/users.haml
19
+ yoursite.com/style.css => server/folder/style.sass
20
+
21
+ Other files (images, plain text files, etc) will be loaded from the <tt>server/folder/public</tt> as is default behavior in Sinatra.
22
+
23
+ == Gem dependencies
24
+
25
+ * Sinatra (http://sinatrarb.com/)
26
+ * Haml (http://haml-lang.com/)
27
+ * Sass (http://sass-lang.com/)
28
+
29
+ == Desired (future) features
30
+
31
+ * Online source files edition.
32
+
33
+ = License
34
+
35
+ (The MIT License)
36
+
37
+ Copyright © 2011:
38
+
39
+ * Xavier Via (http://germino.com.ar)
40
+
41
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
42
+
43
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
44
+
45
+ THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/lib/piano/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Piano
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
data/piano.gemspec CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
9
9
  s.authors = ["Xavier Via"]
10
10
  s.email = ["xavierviacanel@gmail.com"]
11
11
  s.homepage = ""
12
- s.summary = %q{Write a gem summary}
13
- s.description = %q{Write a gem description}
12
+ s.summary = %q{Out-of-the-box sinatra server for web site sketching using haml + sass}
13
+ s.description = %q{Out-of-the-box sinatra server for web site sketching using haml + sass}
14
14
 
15
15
  s.rubyforge_project = "piano"
16
16
  s.add_dependency "sinatra"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piano
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-05-06 00:00:00.000000000 -03:00
12
+ date: 2011-05-07 00:00:00.000000000 -03:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sinatra
17
- requirement: &20821008 !ruby/object:Gem::Requirement
17
+ requirement: &20307744 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *20821008
25
+ version_requirements: *20307744
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: haml
28
- requirement: &20820756 !ruby/object:Gem::Requirement
28
+ requirement: &20307456 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *20820756
36
+ version_requirements: *20307456
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: sass
39
- requirement: &20820492 !ruby/object:Gem::Requirement
39
+ requirement: &20307204 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,8 +44,8 @@ dependencies:
44
44
  version: '0'
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *20820492
48
- description: Write a gem description
47
+ version_requirements: *20307204
48
+ description: Out-of-the-box sinatra server for web site sketching using haml + sass
49
49
  email:
50
50
  - xavierviacanel@gmail.com
51
51
  executables:
@@ -55,6 +55,7 @@ extra_rdoc_files: []
55
55
  files:
56
56
  - .gitignore
57
57
  - Gemfile
58
+ - README.rdoc
58
59
  - Rakefile
59
60
  - bin/piano
60
61
  - lib/piano.rb
@@ -84,5 +85,5 @@ rubyforge_project: piano
84
85
  rubygems_version: 1.5.2
85
86
  signing_key:
86
87
  specification_version: 3
87
- summary: Write a gem summary
88
+ summary: Out-of-the-box sinatra server for web site sketching using haml + sass
88
89
  test_files: []