Skip to content

Commit cd12355

Browse files
committed
New middleman driven website
1 parent 242670a commit cd12355

File tree

95 files changed

+1921
-955
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+1921
-955
lines changed

Diff for: .bowerrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"directory" : "vendor/javascripts",
3+
"json" : "component.json",
4+
"endpoint" : "https://bower.herokuapp.com"
5+
}

Diff for: .gitignore

+17-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1-
output
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile ~/.gitignore_global
6+
7+
# Ignore bundler config
8+
/.bundle
9+
10+
# Ignore the build directory
11+
/build
12+
13+
# Ignore Sass' cache
14+
/.sass-cache
15+
16+
# Ignore .DS_store file
17+
.DS_Store

Diff for: Gemfile

+11-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
source 'https://rubygems.org'
1+
# If you have OpenSSL installed, we recommend updating
2+
# the following line to use "https"
3+
source 'http://rubygems.org'
24

3-
gem 'webby', '~> 0.9.4'
4-
gem 'coderay', '~> 0.9.8'
5-
gem 'RedCloth', '~> 4.2.7'
6-
gem 'configuration'
7-
gem 'rdiscount', '~> 1.6.8'
5+
gem "middleman", "~>3.2.0"
6+
gem "bourbon"
7+
gem "neat"
8+
gem "slim"
9+
10+
# Live-reloading plugin
11+
gem "middleman-livereload", "~> 3.1.0"
12+
gem "middleman-syntax", :github => "middleman/middleman-syntax"

Diff for: Gemfile.lock

+112-37
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,119 @@
1+
GIT
2+
remote: git://github.com/middleman/middleman-syntax.git
3+
revision: dbe60bf10437427009b54f5d5508547ccdb396c5
4+
specs:
5+
middleman-syntax (1.3.0)
6+
middleman-core (~> 3.0)
7+
rouge (~> 1.0)
8+
19
GEM
2-
remote: https://rubygems.org/
10+
remote: http://rubygems.org/
311
specs:
4-
RedCloth (4.2.9)
5-
addressable (2.2.8)
6-
coderay (0.9.8)
7-
configuration (1.3.1)
8-
diff-lcs (1.1.3)
9-
directory_watcher (1.4.1)
10-
hpricot (0.8.6)
11-
launchy (2.1.0)
12-
addressable (~> 2.2.6)
13-
little-plugger (1.1.3)
14-
logging (1.7.2)
15-
little-plugger (>= 1.1.3)
16-
loquacious (1.9.1)
17-
rake (0.9.2.2)
18-
rdiscount (1.6.8)
19-
rspec (2.10.0)
20-
rspec-core (~> 2.10.0)
21-
rspec-expectations (~> 2.10.0)
22-
rspec-mocks (~> 2.10.0)
23-
rspec-core (2.10.1)
24-
rspec-expectations (2.10.0)
25-
diff-lcs (~> 1.1.3)
26-
rspec-mocks (2.10.1)
27-
webby (0.9.4)
28-
directory_watcher (>= 1.1.2)
29-
hpricot (>= 0.6.0)
30-
launchy (>= 0.3.2)
31-
logging (>= 0.9.7)
32-
loquacious (>= 1.3.0)
33-
rake (>= 0.8.4)
34-
rspec (>= 1.2.2)
12+
activesupport (3.2.16)
13+
i18n (~> 0.6, >= 0.6.4)
14+
multi_json (~> 1.0)
15+
bourbon (3.1.8)
16+
sass (>= 3.2.0)
17+
thor
18+
chunky_png (1.2.9)
19+
coffee-script (2.2.0)
20+
coffee-script-source
21+
execjs
22+
coffee-script-source (1.6.3)
23+
compass (0.12.2)
24+
chunky_png (~> 1.2)
25+
fssm (>= 0.2.7)
26+
sass (~> 3.1)
27+
em-websocket (0.5.0)
28+
eventmachine (>= 0.12.9)
29+
http_parser.rb (~> 0.5.3)
30+
eventmachine (1.0.3)
31+
execjs (1.4.0)
32+
multi_json (~> 1.0)
33+
ffi (1.9.3)
34+
fssm (0.2.10)
35+
haml (4.0.4)
36+
tilt
37+
hike (1.2.3)
38+
http_parser.rb (0.5.3)
39+
i18n (0.6.9)
40+
kramdown (1.3.0)
41+
listen (1.3.1)
42+
rb-fsevent (>= 0.9.3)
43+
rb-inotify (>= 0.9)
44+
rb-kqueue (>= 0.2)
45+
middleman (3.2.0)
46+
coffee-script (~> 2.2.0)
47+
compass (>= 0.12.2)
48+
execjs (~> 1.4.0)
49+
haml (>= 3.1.6)
50+
kramdown (~> 1.2)
51+
middleman-core (= 3.2.0)
52+
middleman-sprockets (>= 3.1.2)
53+
sass (>= 3.1.20)
54+
uglifier (~> 2.1.0)
55+
middleman-core (3.2.0)
56+
activesupport (~> 3.2.6)
57+
bundler (~> 1.1)
58+
i18n (~> 0.6.1)
59+
listen (~> 1.1)
60+
rack (>= 1.4.5)
61+
rack-test (~> 0.6.1)
62+
thor (>= 0.15.2, < 2.0)
63+
tilt (~> 1.3.6)
64+
middleman-livereload (3.1.0)
65+
em-websocket (>= 0.2.0)
66+
middleman-core (>= 3.0.2)
67+
multi_json (~> 1.0)
68+
rack-livereload
69+
middleman-sprockets (3.2.0)
70+
middleman-core (~> 3.2)
71+
sprockets (~> 2.1)
72+
sprockets-helpers (~> 1.0.0)
73+
sprockets-sass (~> 1.0.0)
74+
multi_json (1.8.2)
75+
neat (1.5.0)
76+
bourbon (>= 2.1)
77+
sass (>= 3.2)
78+
rack (1.5.2)
79+
rack-livereload (0.3.15)
80+
rack
81+
rack-test (0.6.2)
82+
rack (>= 1.0)
83+
rb-fsevent (0.9.3)
84+
rb-inotify (0.9.3)
85+
ffi (>= 0.5.0)
86+
rb-kqueue (0.2.0)
87+
ffi (>= 0.5.0)
88+
rouge (1.2.0)
89+
sass (3.2.12)
90+
slim (2.0.2)
91+
temple (~> 0.6.6)
92+
tilt (>= 1.3.3, < 2.1)
93+
sprockets (2.10.1)
94+
hike (~> 1.2)
95+
multi_json (~> 1.0)
96+
rack (~> 1.0)
97+
tilt (~> 1.1, != 1.3.0)
98+
sprockets-helpers (1.0.1)
99+
sprockets (~> 2.0)
100+
sprockets-sass (1.0.2)
101+
sprockets (~> 2.0)
102+
tilt (~> 1.1)
103+
temple (0.6.7)
104+
thor (0.18.1)
105+
tilt (1.3.7)
106+
uglifier (2.1.2)
107+
execjs (>= 0.3.0)
108+
multi_json (~> 1.0, >= 1.0.2)
35109

36110
PLATFORMS
37111
ruby
38112

39113
DEPENDENCIES
40-
RedCloth (~> 4.2.7)
41-
coderay (~> 0.9.8)
42-
configuration
43-
rdiscount (~> 1.6.8)
44-
webby (~> 0.9.4)
114+
bourbon
115+
middleman (~> 3.2.0)
116+
middleman-livereload (~> 3.1.0)
117+
middleman-syntax!
118+
neat
119+
slim

Diff for: Rakefile

-4
This file was deleted.

Diff for: Sitefile

-7
This file was deleted.

Diff for: bower.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "rspec-website",
3+
"version": "0.0.0",
4+
"homepage": "https://github.com/rspec/rspec-website",
5+
"authors": [
6+
"Andrew <[email protected]>"
7+
],
8+
"license": "MIT",
9+
"private": true,
10+
"ignore": [
11+
"**/.*",
12+
"node_modules",
13+
"bower_components",
14+
"vendor/javascripts",
15+
"test",
16+
"tests"
17+
],
18+
"dependencies": {
19+
"normalize-css": "~2.1.3"
20+
}
21+
}

Diff for: config.rb

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
2+
###
3+
# Compass
4+
###
5+
6+
# Change Compass configuration
7+
# compass_config do |config|
8+
# config.output_style = :compact
9+
# end
10+
11+
12+
after_configuration do
13+
@bower_config = JSON.parse(IO.read("#{root}/.bowerrc"))
14+
@bower_assets_path = File.join "#{root}", @bower_config["directory"]
15+
sprockets.append_path @bower_assets_path
16+
end
17+
18+
###
19+
# Page options, layouts, aliases and proxies
20+
###
21+
22+
# Per-page layout changes:
23+
#
24+
# With no layout
25+
# page "/path/to/file.html", :layout => false
26+
#
27+
# With alternative layout
28+
# page "/path/to/file.html", :layout => :otherlayout
29+
#
30+
# A path which all have the same layout
31+
# with_layout :admin do
32+
# page "/admin/*"
33+
# end
34+
35+
# Proxy pages (http://middlemanapp.com/dynamic-pages/)
36+
# proxy "/this-page-has-no-template.html", "/template-file.html", :locals => {
37+
# :which_fake_page => "Rendering a fake page with a local variable" }
38+
39+
###
40+
# Helpers
41+
###
42+
43+
# Automatic image dimensions on image_tag helper
44+
# activate :automatic_image_sizes
45+
46+
# Reload the browser automatically whenever files change
47+
activate :livereload
48+
49+
activate :syntax
50+
51+
# Methods defined in the helpers block are available in templates
52+
# helpers do
53+
# def some_helper
54+
# "Helping"
55+
# end
56+
# end
57+
58+
set :css_dir, 'stylesheets'
59+
60+
set :js_dir, 'javascripts'
61+
62+
set :images_dir, 'images'
63+
64+
# Build-specific configuration
65+
configure :build do
66+
# For example, change the Compass output style for deployment
67+
# activate :minify_css
68+
69+
# Minify Javascript on build
70+
# activate :minify_javascript
71+
72+
# Enable cache buster
73+
# activate :asset_hash
74+
75+
# Use relative URLs
76+
# activate :relative_assets
77+
78+
# Or use a different image path
79+
# set :http_prefix, "/Content/images/"
80+
end

Diff for: content/community/index.page

-42
This file was deleted.

0 commit comments

Comments
 (0)