ricogen 0.3 → 0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. data/VERSION +1 -1
  2. data/templates/Gemfile +2 -2
  3. data/templates/application.rb +1 -1
  4. metadata +3 -54
  5. data/test_app/Gemfile +0 -68
  6. data/test_app/Rakefile +0 -7
  7. data/test_app/app/controllers/application_controller.rb +0 -3
  8. data/test_app/app/helpers/application_helper.rb +0 -2
  9. data/test_app/app/stylesheets/_setup.sass +0 -12
  10. data/test_app/app/stylesheets/application.sass +0 -15
  11. data/test_app/app/stylesheets/lib/_extend.sass +0 -87
  12. data/test_app/app/stylesheets/lib/_mixins.sass +0 -78
  13. data/test_app/app/stylesheets/lib/_reset.sass +0 -150
  14. data/test_app/app/stylesheets/lib/_variables.sass +0 -26
  15. data/test_app/app/stylesheets/styles/_common.sass +0 -1
  16. data/test_app/app/stylesheets/styles/_extend.sass +0 -1
  17. data/test_app/app/stylesheets/styles/_mixins.sass +0 -1
  18. data/test_app/app/stylesheets/styles/_template.sass +0 -1
  19. data/test_app/app/stylesheets/styles/_variables.sass +0 -1
  20. data/test_app/app/views/layouts/application.html.haml +0 -28
  21. data/test_app/config.ru +0 -4
  22. data/test_app/config/app.yml +0 -5
  23. data/test_app/config/application.rb +0 -52
  24. data/test_app/config/auth_providers.yml +0 -55
  25. data/test_app/config/boot.rb +0 -6
  26. data/test_app/config/compass.config +0 -15
  27. data/test_app/config/database.yml +0 -22
  28. data/test_app/config/environment.rb +0 -18
  29. data/test_app/config/environments/development.rb +0 -26
  30. data/test_app/config/environments/production.rb +0 -49
  31. data/test_app/config/environments/test.rb +0 -35
  32. data/test_app/config/initializers/_config.rb +0 -49
  33. data/test_app/config/initializers/backtrace_silencers.rb +0 -7
  34. data/test_app/config/initializers/compass.rb +0 -5
  35. data/test_app/config/initializers/inflections.rb +0 -10
  36. data/test_app/config/initializers/mime_types.rb +0 -5
  37. data/test_app/config/initializers/mongo.rb +0 -10
  38. data/test_app/config/locales/en.yml +0 -5
  39. data/test_app/config/magent.yml +0 -13
  40. data/test_app/config/mongoid.yml +0 -23
  41. data/test_app/config/routes.rb +0 -58
  42. data/test_app/db/seeds.rb +0 -7
  43. data/test_app/doc/README_FOR_APP +0 -2
  44. data/test_app/log/development.log +0 -0
  45. data/test_app/log/production.log +0 -0
  46. data/test_app/log/server.log +0 -0
  47. data/test_app/log/test.log +0 -0
  48. data/test_app/public/404.html +0 -26
  49. data/test_app/public/422.html +0 -26
  50. data/test_app/public/500.html +0 -26
  51. data/test_app/public/javascripts/application.js +0 -7
  52. data/test_app/public/javascripts/rails.js +0 -1
  53. data/test_app/script/rails +0 -6
  54. data/test_app/test/performance/browsing_test.rb +0 -9
  55. data/test_app/test/test_helper.rb +0 -13
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3
1
+ 0.4
@@ -4,7 +4,7 @@ gem "rails", "~> 3.0.8"
4
4
 
5
5
  # ui
6
6
  gem "haml", "~> 3.1.2"
7
- gem "sass" "~> 3.1.4"
7
+ gem "sass", "~> 3.1.4"
8
8
  gem 'compass', '0.11.4'
9
9
 
10
10
  # utils
@@ -12,7 +12,7 @@ gem 'magic', '~> 0.2.6'
12
12
  gem 'ruby-stemmer', '~> 0.8.2'
13
13
  gem 'magent', '~> 0.6.2'
14
14
  gem 'uuidtools'
15
- gem 'sanitize', '~> 2.0.3'
15
+ gem 'sanitize', '~> 2.0.2'
16
16
  gem 'dynamic_form'
17
17
  gem 'will_paginate', :git => 'git://github.com/mislav/will_paginate.git', :branch => "rails3"
18
18
  gem 'rdiscount'
@@ -1,5 +1,5 @@
1
1
  config.generators do |g|
2
- g.orm = :mongo_mapper
2
+ g.orm = :mongoid
3
3
  g.template_engine = :haml
4
4
  g.test_framework = :rspec
5
5
  end
metadata CHANGED
@@ -4,8 +4,8 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 3
8
- version: "0.3"
7
+ - 4
8
+ version: "0.4"
9
9
  platform: ruby
10
10
  authors:
11
11
  - Hampton Catlin
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-07-08 00:00:00 -05:00
17
+ date: 2011-07-09 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -119,57 +119,6 @@ files:
119
119
  - init.rb
120
120
  - REVISION
121
121
  - VERSION
122
- - test_app/db/seeds.rb
123
- - test_app/config.ru
124
- - test_app/Gemfile
125
- - test_app/Rakefile
126
- - test_app/config/application.rb
127
- - test_app/config/auth_providers.yml
128
- - test_app/config/environment.rb
129
- - test_app/config/routes.rb
130
- - test_app/config/initializers/compass.rb
131
- - test_app/config/initializers/mime_types.rb
132
- - test_app/config/initializers/backtrace_silencers.rb
133
- - test_app/config/initializers/_config.rb
134
- - test_app/config/initializers/mongo.rb
135
- - test_app/config/initializers/inflections.rb
136
- - test_app/config/compass.config
137
- - test_app/config/database.yml
138
- - test_app/config/magent.yml
139
- - test_app/config/locales/en.yml
140
- - test_app/config/boot.rb
141
- - test_app/config/mongoid.yml
142
- - test_app/config/app.yml
143
- - test_app/config/environments/production.rb
144
- - test_app/config/environments/development.rb
145
- - test_app/config/environments/test.rb
146
- - test_app/test/test_helper.rb
147
- - test_app/test/performance/browsing_test.rb
148
- - test_app/app/views/layouts/application.html.haml
149
- - test_app/app/helpers/application_helper.rb
150
- - test_app/app/controllers/application_controller.rb
151
- - test_app/app/stylesheets/styles/_variables.sass
152
- - test_app/app/stylesheets/styles/_common.sass
153
- - test_app/app/stylesheets/styles/_mixins.sass
154
- - test_app/app/stylesheets/styles/_extend.sass
155
- - test_app/app/stylesheets/styles/_template.sass
156
- - test_app/app/stylesheets/_setup.sass
157
- - test_app/app/stylesheets/lib/_variables.sass
158
- - test_app/app/stylesheets/lib/_mixins.sass
159
- - test_app/app/stylesheets/lib/_extend.sass
160
- - test_app/app/stylesheets/lib/_reset.sass
161
- - test_app/app/stylesheets/application.sass
162
- - test_app/log/server.log
163
- - test_app/log/test.log
164
- - test_app/log/development.log
165
- - test_app/log/production.log
166
- - test_app/doc/README_FOR_APP
167
- - test_app/script/rails
168
- - test_app/public/500.html
169
- - test_app/public/422.html
170
- - test_app/public/404.html
171
- - test_app/public/javascripts/application.js
172
- - test_app/public/javascripts/rails.js
173
122
  has_rdoc: true
174
123
  homepage: http://www.hamptoncatlin.com/
175
124
  licenses: []
@@ -1,68 +0,0 @@
1
- source "http://gemcutter.org"
2
-
3
- gem "rails", "~> 3.0.8"
4
-
5
- # ui
6
- gem "haml", "~> 3.1.2"
7
- gem "sass" "~> 3.1.4"
8
- gem 'compass', '0.11.4'
9
-
10
- # utils
11
- gem 'magic', '~> 0.2.6'
12
- gem 'ruby-stemmer', '~> 0.8.2'
13
- gem 'magent', '~> 0.6.2'
14
- gem 'uuidtools'
15
- gem 'sanitize', '~> 2.0.3'
16
- gem 'dynamic_form'
17
- gem 'will_paginate', :git => 'git://github.com/mislav/will_paginate.git', :branch => "rails3"
18
- gem 'rdiscount'
19
-
20
- # twitter
21
- gem "twitter-text", "1.1.8"
22
- gem "twitter_oauth"
23
-
24
- # mongodb
25
- gem 'bson', '1.3.1'
26
- gem 'bson_ext', '1.3.1'
27
-
28
- gem 'mongo', '1.3.1'
29
- gem 'mongoid', '2.0.2'
30
- gem 'mongoid_ext', :git => "git://github.com/dcu/mongoid_ext.git"
31
-
32
- # authentication
33
- gem 'omniauth', '~> 0.2.6'
34
- gem 'multiauth', :git => "http://github.com/dcu/multiauth.git"
35
-
36
- gem 'orm_adapter'
37
- gem 'devise', '~> 1.4.2'
38
-
39
-
40
- group :scripts do
41
- gem 'eventmachine', '~> 0.12.10'
42
- gem 'em-websocket', '~> 0.3.0'
43
- gem 'cronedit'
44
- end
45
-
46
- group :test do
47
- gem 'rspec', '2.6.0'
48
- gem 'rspec-rails', '2.6.0'
49
- gem 'capybara', '1.0.0'
50
- #gem "capybara-webkit", '1.0.0.beta4'
51
- gem "autotest"
52
- gem 'factory_girl'
53
- gem 'ffaker'
54
- gem 'launchy'
55
- gem "remarkable_mongoid", ">= 0.6.0"
56
- gem 'simplecov'
57
- end
58
-
59
- group :development do
60
- gem 'mongrel', '1.2.0.pre2'
61
- gem 'nifty-generators', '~> 0.4.6'
62
- gem 'capistrano'
63
- gem 'hpricot'
64
- gem 'ruby_parser'
65
- gem "database_cleaner"
66
- gem 'rails-dev-boost', :git => 'git://github.com/thedarkone/rails-dev-boost.git', :require => 'rails_development_boost'
67
- end
68
-
@@ -1,7 +0,0 @@
1
- # Add your own tasks in files placed in lib/tasks ending in .rake,
2
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
-
4
- require File.expand_path('../config/application', __FILE__)
5
- require 'rake'
6
-
7
- TestApp::Application.load_tasks
@@ -1,3 +0,0 @@
1
- class ApplicationController < ActionController::Base
2
- protect_from_forgery
3
- end
@@ -1,2 +0,0 @@
1
- module ApplicationHelper
2
- end
@@ -1,12 +0,0 @@
1
- // setup.sass | BOOTSTRAP YOUR PROJECT
2
-
3
- // Default Body Styles
4
- $background: white
5
- $font-family: $helvetica
6
- $font-size: $medium
7
- $colour: darken(white, 93%)
8
-
9
- // Default link colours/styles
10
- $link_colour: blue
11
- $hover_colour: purple
12
- $active_colour: red
@@ -1,15 +0,0 @@
1
- // DEFAULT LIBRARIES
2
- @import lib/mixins
3
- @import lib/variables
4
- @import styles/variables
5
- @import setup
6
- @import lib/reset
7
- @import lib/extend
8
-
9
- // DEFAULT BASE STYLES
10
- @import styles/extend
11
- @import styles/mixins
12
- @import styles/common
13
- @import styles/template
14
-
15
-
@@ -1,87 +0,0 @@
1
- // extend.sass | LIBRARY @EXTEND CLASSES
2
-
3
- // Clearing Floats
4
- ----------------------------------------------
5
- .clear => For non-floating element immediately below a floating element.
6
-
7
- .clearfix => For floating children inside a parent.
8
- Class goes on parent holding floating children.
9
-
10
- // Use all of these classes with the @extend option
11
- .zoom
12
- :zoom 1
13
-
14
- .left
15
- :float left
16
-
17
- .right
18
- :float right
19
-
20
- .block
21
- :display block
22
-
23
- .absolute
24
- :position absolute
25
-
26
- .relative
27
- :position relative
28
-
29
- .center
30
- :text-align center
31
-
32
- .hidden
33
- :overflow hidden
34
-
35
- .bold
36
- :font-weight bold
37
-
38
- .clear
39
- :clear both
40
-
41
- .clearfix:after
42
- @extend .clear
43
- @extend .block
44
- :content ""
45
-
46
- // Replacing text with a background image
47
- .hide-text, .h
48
- @extend .block
49
- @extend .hidden
50
- :font-size 0
51
- :text-indent -9999em
52
- :white-space nowrap
53
- :.text-transform capitalize
54
-
55
- // Reset some basic styling
56
- .reset, .r
57
- :border 0
58
- :margin 0
59
- :padding 0
60
-
61
- // Consolidate fonts. Works with font $variables in lib/variables.
62
- .font_x-small
63
- :font-size $x-small
64
-
65
- .font_small
66
- :font-size $small
67
-
68
- .font_medium
69
- :font-size $medium
70
-
71
- .font_x-medium
72
- :font-size $x-medium
73
-
74
- .font_large
75
- :font-size $large
76
-
77
- .font_x-large
78
- :font-size $x-large
79
-
80
- .font_xx-large
81
- :font-size $xx-large
82
-
83
- .font_huge
84
- :font-size $huge
85
-
86
- .font_x-huge
87
- :font-size $x-huge
@@ -1,78 +0,0 @@
1
- // mixins.sass | LIBRARY MIX-INS
2
-
3
- // Quickly outline any tag for debug purposes
4
- =o
5
- :background rgba(255, 0, 0, 0.15) !important
6
- :outline 1px solid red !important
7
-
8
- // Cross browser box model resizing
9
- =box-sizing( $box-sizing)
10
- :-moz-box-sizing $box-sizing
11
- :-webkit-box-sizing $box-sizing
12
- :box-sizing $box-sizing
13
-
14
- // Cross browser opacity
15
- =opacity( $opacity)
16
- :-ms-filter unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=") + $opacity + unquote(")")
17
- :filter unquote("alpha(opacity=") + $opacity + unquote(")")
18
- :opacity $opacity * 0.01
19
-
20
- // Cross browser transition effect
21
- =transition( $transition)
22
- :-moz-transition $transition
23
- :-o-transition $transition
24
- :-webkit-transition $transition
25
- :transition $transition
26
-
27
- // Cross browser transform effect
28
- =transform( $transform)
29
- :-moz-transform $transform
30
- :-o-transform $transform
31
- :-webkit-transform $transform
32
- :transform $transform
33
-
34
- // Cross browser multi-column layout
35
- // # of columns
36
- =column-count( $count)
37
- :-moz-column-count $count
38
- :-webkit-column-count $count
39
- :column-count $count
40
- // Space between columns
41
- =column-gap( $gap)
42
- :-moz-column-gap $gap
43
- :-webkit-column-gap $gap
44
- :column-gap $gap
45
- // Combine -count and -gap into one easy mixin
46
- =columns( $count, $gap)
47
- +column-count( $count)
48
- +column-gap( $gap)
49
-
50
- // Cross browser box shadow
51
- // If you want to have multiple box shadows, you must enclose the values in quotes (" ").
52
- =box-shadow( $shadow)
53
- $shadow: unquote($shadow)
54
- :-moz-box-shadow $shadow
55
- :-webkit-box-shadow $shadow
56
- :box-shadow $shadow
57
-
58
- // Cross browser rounded corners
59
- =border-radius( $radius)
60
- :-moz-border-radius $radius
61
- :-webkit-border-radius $radius
62
- :border-radius $radius
63
- =border-radius-top-left( $radius)
64
- :-moz-border-radius-topleft $radius
65
- :-webkit-border-top-left-radius $radius
66
- :border-top-left-radius $radius
67
- =border-radius-top-right( $radius)
68
- :-moz-border-radius-topright $radius
69
- :-webkit-border-top-right-radius $radius
70
- :border-top-right-radius $radius
71
- =border-radius-bottom-right( $radius)
72
- :-moz-border-radius-bottomright $radius
73
- :-webkit-border-bottom-right-radius $radius
74
- :border-bottom-right-radius $radius
75
- =border-radius-bottom-left( $radius)
76
- :-moz-border-radius-bottomleft $radius
77
- :-webkit-border-bottom-left-radius $radius
78
- :border-bottom-left-radius $radius
@@ -1,150 +0,0 @@
1
- // reset.sass | LIBRARY HTML TAG RESET
2
-
3
- // Hard Tag Reset
4
- a, article, aside, blockquote, body, button, dd, dl, dt, fieldset, figure, footer,
5
- h1, h2, h3, h4, h5, h6, header, hgroup, html, img, input, label, legend, li, menu,
6
- nav, ol, p, section, select, small, table, textarea, td, th, tr, ul
7
- :font
8
- :size 100%
9
- :style normal
10
- :weight normal
11
- :line-height 1
12
- :margin 0
13
- :padding 0
14
- :vertical-align baseline
15
-
16
- // Setting Blocks
17
- article, aside, figure, footer, header, hgroup, img, label, menu, nav, section
18
- @extend .block
19
-
20
- // Typography
21
- h1, h2, h3, h4, h5, h6, p, table, li, fieldset
22
- :margin-bottom $font-size
23
-
24
- p
25
- :line-height $font-size * 1.55
26
-
27
- // <body> Reset
28
- body, textarea, input, option, select, button
29
- :font-family $font-family
30
-
31
- body
32
- :-webkit-text-stroke 1px transparent
33
- :background $background
34
- :font-size $font-size
35
- :text-rendering optimizeLegibility
36
-
37
- body, legend
38
- :color $colour
39
-
40
- // Links
41
- a, abbr[title]
42
- :padding-bottom 1px
43
-
44
- a
45
- :border-bottom 1px solid
46
- :color $link_colour
47
- :outline 0
48
- :text-decoration none
49
- &:hover
50
- :color $hover_colour
51
- &:hover, &:focus
52
- :border-bottom 0
53
- &:active
54
- :color $active_colour
55
- img
56
- :border 0
57
-
58
- // Tables + Forms
59
- table
60
- :border
61
- :collapse collapse
62
- :spacing 0
63
- :width 100%
64
-
65
- caption, legend, td, th
66
- :text-align left
67
-
68
- td, th, input, select
69
- :vertical-align middle
70
-
71
- fieldset, input[type="checkbox"], input[type="radio"]
72
- :border 0
73
-
74
- button, input[type="checkbox"], input[type="radio"], input[type="submit"], select
75
- :cursor pointer
76
-
77
- input[type="checkbox"] + label, input[type="radio"] + label
78
- :display inline-block
79
- :vertical-align -1px
80
- :.vertical-align baseline
81
-
82
- button
83
- :.vertical-align middle
84
- &::-moz-focus-inner
85
- :border 0
86
-
87
- input
88
- &[type="submit"], &[type="button"]
89
- :.padding 2px 0 0
90
-
91
- legend
92
- :.margin-left -6px
93
-
94
- textarea
95
- +box-sizing( border-box)
96
- :overflow auto
97
- :resize none
98
-
99
- // Misc
100
- abbr[title]
101
- :border-bottom 1px dotted
102
- :cursor help
103
-
104
- ul, ol
105
- :list-style none
106
-
107
- // Be nice to IE...
108
- a, div, li, li a
109
- @extend .zoom
110
-
111
- img
112
- :-ms-interpolation-mode bicubic
113
-
114
- // Modern Mobile Devices
115
- @media only screen and (max-device-width: 480px), only screen and (min-device-width: 768px) and (max-device-width: 1024px)
116
- *
117
- :-webkit-box-shadow none !important
118
- :text-shadow none !important
119
-
120
- html
121
- :-ms-text-size-adjust none
122
- :-webkit
123
- :text-size-adjust none
124
- :touch-callout none
125
- :user-select none
126
-
127
- body
128
- :-webkit-text-stroke 0 black
129
-
130
- a
131
- :-webkit-tap-highlight-color rgba(0,0,0,0)
132
-
133
- // Printing
134
- @media print
135
- body
136
- :color black !important
137
- :background white !important
138
- :font-size 12pt !important
139
-
140
- a:after, abbr[title]:after
141
- :font-size 75%
142
-
143
- a:after
144
- :content " (" attr(href) ") "
145
-
146
- abbr[title]
147
- :border 0
148
- &:after
149
- :content " (" attr(title) ") "
150
-