tyrone 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -12
- data/bin/tyrone +1 -1
- data/lib/tyrone.rb +3 -1
- data/templates/sinatra.rb.erb +0 -15
- metadata +2 -3
- data/templates/reset.sass.erb +0 -57
data/README.md
CHANGED
@@ -1,7 +1,10 @@
|
|
1
|
-
![tyrone](http://github.com/chrislloyd/tyrone/
|
1
|
+
![tyrone](http://cloud.github.com/downloads/chrislloyd/tyrone/logo.png)
|
2
2
|
|
3
3
|
<small>a rapid prototyping fix. tyrone be great with uis. he loves em so much and will care the shit out of them. my boy tyrone is definitely the right man for the job, i aint playin. by [chris](http://chrislloyd.com.au).</small>
|
4
4
|
|
5
|
+
|
6
|
+
its always better to work from the ui down. nobody cares about what database you are using or if you have 100% test coverage if the application itself sucks. tyrone likes uis. he helps you get up and running prototyping uis as quickly as possible so you can crunch the real problems in your app. tyrone loves you and ur uis
|
7
|
+
|
5
8
|
![screenshot](http://cloud.github.com/downloads/chrislloyd/tyrone/tyrone-0.1.0.png)
|
6
9
|
|
7
10
|
## employing tyrone
|
@@ -14,19 +17,11 @@ or
|
|
14
17
|
|
15
18
|
rip install tyrone
|
16
19
|
|
17
|
-
|
18
|
-
|
19
|
-
gem 'tyrone'; require 'tyrone'
|
20
|
-
|
21
|
-
for sure its ready to go, alright? u may want to make ur app down wid da bidness: (dis goes in ur `config.ru`)
|
22
|
-
|
23
|
-
set :views => File.join(File.dirname(__FILE__), 'mockups')
|
24
|
-
set :app_file => # where you need tyrone to be, he will be there
|
20
|
+
to get tyrone started on your job:
|
25
21
|
|
26
|
-
|
22
|
+
tyrone [NAME OF YOUR PROJECT]
|
27
23
|
|
28
|
-
|
29
|
-
get '/my-action' { ... }
|
24
|
+
done.
|
30
25
|
|
31
26
|
## associates
|
32
27
|
|
data/bin/tyrone
CHANGED
@@ -9,10 +9,10 @@ Pixii.called(:tyrone) do |make, opts|
|
|
9
9
|
|
10
10
|
make.clone 'http://github.com/toolmantim/states.js/raw/master/states.js', 'public/js/states.js'
|
11
11
|
make.clone 'http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js', 'public/js/jquery.js'
|
12
|
+
make.clone 'https://gist.github.com/159037.txt', 'public/css/reset.sass'
|
12
13
|
|
13
14
|
make.template 'sinatra.rb.erb', "#{opts.project}.rb"
|
14
15
|
make.template 'config.ru.erb', 'config.ru'
|
15
|
-
make.template 'reset.sass.erb', 'public/css/reset.sass'
|
16
16
|
|
17
17
|
make.magic!
|
18
18
|
end
|
data/lib/tyrone.rb
CHANGED
data/templates/sinatra.rb.erb
CHANGED
@@ -1,17 +1,2 @@
|
|
1
1
|
# Tyrone - It'll care the shit out of you
|
2
2
|
require 'tyrone'
|
3
|
-
|
4
|
-
helpers do
|
5
|
-
def hidden
|
6
|
-
{:style => 'display:none'}
|
7
|
-
end
|
8
|
-
end
|
9
|
-
|
10
|
-
set :haml => {:format => :html5}
|
11
|
-
|
12
|
-
get /^\/(.+)\.css$/ do |style_file|
|
13
|
-
sass_file = File.join('public',"#{style_file}.sass")
|
14
|
-
pass unless File.exist?(sass_file)
|
15
|
-
content_type :css
|
16
|
-
sass File.read(sass_file)
|
17
|
-
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tyrone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Lloyd
|
@@ -57,7 +57,6 @@ files:
|
|
57
57
|
- lib/tyrone.rb
|
58
58
|
- bin/tyrone
|
59
59
|
- templates/config.ru.erb
|
60
|
-
- templates/reset.sass.erb
|
61
60
|
- templates/sinatra.rb.erb
|
62
61
|
has_rdoc: true
|
63
62
|
homepage: http://github.com/chrislloyd/tyrone
|
@@ -86,6 +85,6 @@ rubyforge_project: tyrone
|
|
86
85
|
rubygems_version: 1.3.4
|
87
86
|
signing_key:
|
88
87
|
specification_version: 3
|
89
|
-
summary:
|
88
|
+
summary: care the shit out of your ui
|
90
89
|
test_files: []
|
91
90
|
|
data/templates/reset.sass.erb
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,a,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,dialog,figure,footer,header,hgroup,menu,nav,section,menu,time,mark,audio,video
|
2
|
-
:margin 0
|
3
|
-
:padding 0
|
4
|
-
:border none
|
5
|
-
:outline 0
|
6
|
-
:font-size 100%
|
7
|
-
:vertical-align baseline
|
8
|
-
:background transparent
|
9
|
-
|
10
|
-
body
|
11
|
-
:line-height 1
|
12
|
-
|
13
|
-
article, aside, dialog, figure, footer, header, hgroup, nav, section
|
14
|
-
:display block
|
15
|
-
|
16
|
-
ol, ul
|
17
|
-
:list-style none
|
18
|
-
|
19
|
-
blockquote, q
|
20
|
-
:quotes none
|
21
|
-
|
22
|
-
blockquote:before,blockquote:after,q:before,q:after
|
23
|
-
:content ''
|
24
|
-
:content none
|
25
|
-
|
26
|
-
*:focus
|
27
|
-
:outline 0
|
28
|
-
|
29
|
-
ins
|
30
|
-
:text-decoration none
|
31
|
-
|
32
|
-
mark
|
33
|
-
:font-style italic
|
34
|
-
:font-weight bold
|
35
|
-
|
36
|
-
del
|
37
|
-
:text-decoration line-through
|
38
|
-
|
39
|
-
abbr[title], dfn[title]
|
40
|
-
:border-bottom 1px dotted #000
|
41
|
-
:cursor help
|
42
|
-
|
43
|
-
table
|
44
|
-
:border
|
45
|
-
:collapse collapse
|
46
|
-
:spacing 0
|
47
|
-
|
48
|
-
hr
|
49
|
-
:display block
|
50
|
-
:height 1px
|
51
|
-
:border 0
|
52
|
-
:border-top 1px solid #cccccc
|
53
|
-
:margin 1em 0
|
54
|
-
:padding 0
|
55
|
-
|
56
|
-
input, select
|
57
|
-
:vertical-align middle
|