Skip to content

Commit d64279f

Browse files
committed
Merge railseventstore.org
See: #216 Steos: git filter-branch --index-filter \ 'git ls-files -s | gsed "s-\t\"*-&railseventstore.org/-" | GIT_INDEX_FILE=$GIT_INDEX_FILE.new \ git update-index --index-info && mv "$GIT_INDEX_FILE.new" "$GIT_INDEX_FILE"' HEAD git merge --allow-unrelated-histories ../railseventstore.org
2 parents b57cd5f + 7349f1f commit d64279f

File tree

94 files changed

+4501
-0
lines changed

Some content is hidden

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

94 files changed

+4501
-0
lines changed

railseventstore.org/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.bundle
2+
.cache
3+
.DS_Store
4+
.sass-cache
5+
/build/

railseventstore.org/.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: ruby
2+
before_install: gem install bundler
3+
gemfile: Gemfile
4+
script: bundle exec middleman build
5+
deploy:
6+
provider: surge
7+
project: "./build/"
8+
domain: railseventstore.org
9+
skip_cleanup: true
10+
env:
11+
secure: XJ1n4L1Ogt+CockW+5uVUoADaNf743C105KWHQPKttxrmFNV/LtYEv5aZ2GqDLryiMFszXjnU4QUDpJkKV0TZqLd8yqCd4mUjy4Aetr7Xg0RYGBiJmt+JG/KMzVzppc5Cep5VGQv/H2c+5/50o/TBJmvYJXFD9Up/VE8PxILGPbsQ/SneXoL2eZRRkhIFBqawkKdsmflCoiwfZxxuhLjmhVIa6i5LSJu3mgbm/EK3ilxdB6n70avpROchrWHh3s4ujFAlV+Cs8bo4OsPHGYiNGW2xhpgJgih6h6HKw5Fydsp1gVt/ztT7OfjfkERL2cTK5r5Wfe3Kz6A30rSSyVEkhq2WYBQVehrcH3ArodNpfZvSNHohwcKmL/a6or3SwctV+/2ZnFPp9zNo6n9nwfWOl4jppxfWeF2u7chYvL+Q1PLipxcxBNpRBAn0dTAwxZaZd36pBNTiYBrVQ0CLWhCtPGABSPHEsqhOI1tWfo+jEMGQTjVnC8YkMgVQiGT2jRRjparvmAd2q21YhUjS2tQwSLFqq90fU9WflwiecSifJCPiZ1elUMmJ13RxCthJEMBiOHe1qeF6MDJyM7YsCVfLEKj4Yd7PNZXAfwu3dYbmIJZqo8RLS+nhzq9aKLOHvRPsEaB0iHd+0UddR3zteG4S3PAizIDEmw66qfWFuXndUg=

railseventstore.org/Gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'middleman', '~> 4.2'
4+
gem 'middleman-autoprefixer', '~> 2.7'
5+
gem 'middleman-aria_current'
6+
gem 'middleman-syntax'
7+
gem 'redcarpet'
8+
gem 'tzinfo-data', platforms: [:mswin, :mingw, :jruby]
9+
gem 'wdm', '~> 0.1', platforms: [:mswin, :mingw]
10+
gem 'bourbon', '>= 5.0.0.beta.7'
11+
gem 'neat', '~> 1.8'

railseventstore.org/Gemfile.lock

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
activesupport (5.0.5)
5+
concurrent-ruby (~> 1.0, >= 1.0.2)
6+
i18n (~> 0.7)
7+
minitest (~> 5.1)
8+
tzinfo (~> 1.1)
9+
addressable (2.5.2)
10+
public_suffix (>= 2.0.2, < 4.0)
11+
autoprefixer-rails (7.1.2.6)
12+
execjs
13+
backports (3.8.0)
14+
bourbon (5.0.0.beta.8)
15+
sass (~> 3.4)
16+
thor (~> 0.19)
17+
coffee-script (2.4.1)
18+
coffee-script-source
19+
execjs
20+
coffee-script-source (1.12.2)
21+
compass-import-once (1.0.5)
22+
sass (>= 3.2, < 3.5)
23+
concurrent-ruby (1.0.5)
24+
contracts (0.13.0)
25+
dotenv (2.2.1)
26+
erubis (2.7.0)
27+
execjs (2.7.0)
28+
fast_blank (1.0.0)
29+
fastimage (2.1.0)
30+
ffi (1.9.18)
31+
haml (5.0.2)
32+
temple (>= 0.8.0)
33+
tilt
34+
hamster (3.0.0)
35+
concurrent-ruby (~> 1.0)
36+
hashie (3.5.6)
37+
i18n (0.7.0)
38+
kramdown (1.14.0)
39+
listen (3.0.8)
40+
rb-fsevent (~> 0.9, >= 0.9.4)
41+
rb-inotify (~> 0.9, >= 0.9.7)
42+
memoist (0.16.0)
43+
middleman (4.2.1)
44+
coffee-script (~> 2.2)
45+
compass-import-once (= 1.0.5)
46+
haml (>= 4.0.5)
47+
kramdown (~> 1.2)
48+
middleman-cli (= 4.2.1)
49+
middleman-core (= 4.2.1)
50+
sass (>= 3.4.0, < 4.0)
51+
middleman-aria_current (0.1.1)
52+
middleman-core (~> 4.0)
53+
middleman-autoprefixer (2.8.0)
54+
autoprefixer-rails (>= 7.0.1, < 8.0.0)
55+
middleman-core (>= 3.3.3)
56+
middleman-cli (4.2.1)
57+
thor (>= 0.17.0, < 2.0)
58+
middleman-core (4.2.1)
59+
activesupport (>= 4.2, < 5.1)
60+
addressable (~> 2.3)
61+
backports (~> 3.6)
62+
bundler (~> 1.1)
63+
contracts (~> 0.13.0)
64+
dotenv
65+
erubis
66+
execjs (~> 2.0)
67+
fast_blank
68+
fastimage (~> 2.0)
69+
hamster (~> 3.0)
70+
hashie (~> 3.4)
71+
i18n (~> 0.7.0)
72+
listen (~> 3.0.0)
73+
memoist (~> 0.14)
74+
padrino-helpers (~> 0.13.0)
75+
parallel
76+
rack (>= 1.4.5, < 3)
77+
sass (>= 3.4)
78+
servolux
79+
tilt (~> 2.0)
80+
uglifier (~> 3.0)
81+
middleman-syntax (3.0.0)
82+
middleman-core (>= 3.2)
83+
rouge (~> 2.0)
84+
minitest (5.10.3)
85+
neat (1.9.0)
86+
sass (>= 3.3)
87+
thor (~> 0.19)
88+
padrino-helpers (0.13.3.4)
89+
i18n (~> 0.6, >= 0.6.7)
90+
padrino-support (= 0.13.3.4)
91+
tilt (>= 1.4.1, < 3)
92+
padrino-support (0.13.3.4)
93+
activesupport (>= 3.1)
94+
parallel (1.12.0)
95+
public_suffix (3.0.0)
96+
rack (2.0.3)
97+
rb-fsevent (0.10.2)
98+
rb-inotify (0.9.10)
99+
ffi (>= 0.5.0, < 2)
100+
redcarpet (3.4.0)
101+
rouge (2.2.1)
102+
sass (3.4.25)
103+
servolux (0.13.0)
104+
temple (0.8.0)
105+
thor (0.20.0)
106+
thread_safe (0.3.6)
107+
tilt (2.0.8)
108+
tzinfo (1.2.3)
109+
thread_safe (~> 0.1)
110+
uglifier (3.2.0)
111+
execjs (>= 0.3.0, < 3)
112+
113+
PLATFORMS
114+
ruby
115+
116+
DEPENDENCIES
117+
bourbon (>= 5.0.0.beta.7)
118+
middleman (~> 4.2)
119+
middleman-aria_current
120+
middleman-autoprefixer (~> 2.7)
121+
middleman-syntax
122+
neat (~> 1.8)
123+
redcarpet
124+
tzinfo-data
125+
wdm (~> 0.1)
126+
127+
BUNDLED WITH
128+
1.15.4

railseventstore.org/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# railseventstore.org
2+
3+
Source files for the documentation and website of [Rails Event Store](http://railseventstore.org).
4+
5+
[![Build Status](https://travis-ci.org/RailsEventStore/railseventstore.org.svg?branch=master)](https://travis-ci.org/RailsEventStore/railseventstore.org)
6+
7+
8+
## Serving the docs locally
9+
10+
Provided you have Ruby installed, you can serve the docs locally at `http://localhost:4567`
11+
12+
```
13+
bundle install
14+
bundle exec middleman server
15+
```
16+
17+
## Publishing the docs
18+
19+
Documentation and website are deployed continuously and automatically from the `master` branch by Travis-CI.
20+
21+
## About
22+
23+
<img src="http://arkency.com/images/arkency.png" alt="Arkency" width="20%" align="left" />
24+
25+
Rails Event Store is funded and maintained by Arkency. Check out our other [open-source projects](https://github.com/arkency).
26+
27+
You can also [hire us](http://arkency.com) or [read our blog](http://blog.arkency.com).

railseventstore.org/bin/bourbon

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
#
5+
# This file was generated by Bundler.
6+
#
7+
# The application 'bourbon' is installed as part of a gem, and
8+
# this file is here to facilitate running it.
9+
#
10+
11+
require "pathname"
12+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13+
Pathname.new(__FILE__).realpath)
14+
15+
bundle_binstub = File.expand_path("../bundle", __FILE__)
16+
17+
if File.file?(bundle_binstub)
18+
if File.read(bundle_binstub, 150) =~ /This file was generated by Bundler/
19+
load(bundle_binstub)
20+
else
21+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23+
end
24+
end
25+
26+
require "rubygems"
27+
require "bundler/setup"
28+
29+
load Gem.bin_path("bourbon", "bourbon")

railseventstore.org/bin/bundle

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
#
5+
# This file was generated by Bundler.
6+
#
7+
# The application 'bundle' is installed as part of a gem, and
8+
# this file is here to facilitate running it.
9+
#
10+
11+
require "rubygems"
12+
13+
m = Module.new do
14+
module_function
15+
16+
def invoked_as_script?
17+
File.expand_path($0) == File.expand_path(__FILE__)
18+
end
19+
20+
def env_var_version
21+
ENV["BUNDLER_VERSION"]
22+
end
23+
24+
def cli_arg_version
25+
return unless invoked_as_script? # don't want to hijack other binstubs
26+
return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update`
27+
bundler_version = nil
28+
update_index = nil
29+
ARGV.each_with_index do |a, i|
30+
if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN
31+
bundler_version = a
32+
end
33+
next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/
34+
bundler_version = $1 || ">= 0.a"
35+
update_index = i
36+
end
37+
bundler_version
38+
end
39+
40+
def gemfile
41+
gemfile = ENV["BUNDLE_GEMFILE"]
42+
return gemfile if gemfile && !gemfile.empty?
43+
44+
File.expand_path("../../Gemfile", __FILE__)
45+
end
46+
47+
def lockfile
48+
lockfile =
49+
case File.basename(gemfile)
50+
when "gems.rb" then gemfile.sub(/\.rb$/, gemfile)
51+
else "#{gemfile}.lock"
52+
end
53+
File.expand_path(lockfile)
54+
end
55+
56+
def lockfile_version
57+
return unless File.file?(lockfile)
58+
lockfile_contents = File.read(lockfile)
59+
return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/
60+
Regexp.last_match(1)
61+
end
62+
63+
def bundler_version
64+
@bundler_version ||= begin
65+
env_var_version || cli_arg_version ||
66+
lockfile_version || "#{Gem::Requirement.default}.a"
67+
end
68+
end
69+
70+
def load_bundler!
71+
ENV["BUNDLE_GEMFILE"] ||= gemfile
72+
73+
# must dup string for RG < 1.8 compatibility
74+
activate_bundler(bundler_version.dup)
75+
end
76+
77+
def activate_bundler(bundler_version)
78+
if Gem::Version.correct?(bundler_version) && Gem::Version.new(bundler_version).release < Gem::Version.new("2.0")
79+
bundler_version = "< 2"
80+
end
81+
gem_error = activation_error_handling do
82+
gem "bundler", bundler_version
83+
end
84+
return if gem_error.nil?
85+
require_error = activation_error_handling do
86+
require "bundler/version"
87+
end
88+
return if require_error.nil? && Gem::Requirement.new(bundler_version).satisfied_by?(Gem::Version.new(Bundler::VERSION))
89+
warn "Activating bundler (#{bundler_version}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_version}'`"
90+
exit 42
91+
end
92+
93+
def activation_error_handling
94+
yield
95+
nil
96+
rescue StandardError, LoadError => e
97+
e
98+
end
99+
end
100+
101+
m.load_bundler!
102+
103+
if m.invoked_as_script?
104+
load Gem.bin_path("bundler", "bundle")
105+
end

railseventstore.org/bin/dotenv

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
#
5+
# This file was generated by Bundler.
6+
#
7+
# The application 'dotenv' is installed as part of a gem, and
8+
# this file is here to facilitate running it.
9+
#
10+
11+
require "pathname"
12+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13+
Pathname.new(__FILE__).realpath)
14+
15+
bundle_binstub = File.expand_path("../bundle", __FILE__)
16+
17+
if File.file?(bundle_binstub)
18+
if File.read(bundle_binstub, 150) =~ /This file was generated by Bundler/
19+
load(bundle_binstub)
20+
else
21+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23+
end
24+
end
25+
26+
require "rubygems"
27+
require "bundler/setup"
28+
29+
load Gem.bin_path("dotenv", "dotenv")

railseventstore.org/bin/erubis

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
#
5+
# This file was generated by Bundler.
6+
#
7+
# The application 'erubis' is installed as part of a gem, and
8+
# this file is here to facilitate running it.
9+
#
10+
11+
require "pathname"
12+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13+
Pathname.new(__FILE__).realpath)
14+
15+
bundle_binstub = File.expand_path("../bundle", __FILE__)
16+
17+
if File.file?(bundle_binstub)
18+
if File.read(bundle_binstub, 150) =~ /This file was generated by Bundler/
19+
load(bundle_binstub)
20+
else
21+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23+
end
24+
end
25+
26+
require "rubygems"
27+
require "bundler/setup"
28+
29+
load Gem.bin_path("erubis", "erubis")

0 commit comments

Comments
 (0)