Skip to content

Commit e81ef67

Browse files
committed
first commit
0 parents  commit e81ef67

File tree

277 files changed

+10595
-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.

277 files changed

+10595
-0
lines changed

.gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.rb diff=ruby
2+
*.gemspec diff=ruby
3+

.gitignore

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# See https://help.github.com/articles/ignoring-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 default SQLite database.
11+
/test/dummy/db/*.sqlite3
12+
/test/dummy/db/*.sqlite3-journal
13+
14+
# Ignore all logfiles and tempfiles.
15+
!/test/dummy/log/.keep
16+
!/test/dummy/tmp/.keep
17+
/test/dummy/log/*.log
18+
/test/dummy/tmp/
19+
20+
pkg/
21+
.byebug_history
22+
23+
/test/dummy/public/packs
24+
node_modules/
25+
yarn-error.log
26+
27+
*.gem

.rubocop.yml

+123
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
AllCops:
2+
TargetRubyVersion: 2.4
3+
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
4+
# to ignore them, so only the ones explicitly set in this file are enabled.
5+
DisabledByDefault: true
6+
Exclude:
7+
- '**/templates/**/*'
8+
- '**/vendor/**/*'
9+
10+
# Prefer &&/|| over and/or.
11+
Style/AndOr:
12+
Enabled: true
13+
14+
# Do not use braces for hash literals when they are the last argument of a
15+
# method call.
16+
Style/BracesAroundHashParameters:
17+
Enabled: true
18+
19+
# Align `when` with `case`.
20+
Style/CaseIndentation:
21+
Enabled: true
22+
23+
# Align comments with method definitions.
24+
Style/CommentIndentation:
25+
Enabled: true
26+
27+
# No extra empty lines.
28+
Style/EmptyLines:
29+
Enabled: true
30+
31+
# In a regular class definition, no empty lines around the body.
32+
Style/EmptyLinesAroundClassBody:
33+
Enabled: true
34+
35+
# In a regular method definition, no empty lines around the body.
36+
Style/EmptyLinesAroundMethodBody:
37+
Enabled: true
38+
39+
# In a regular module definition, no empty lines around the body.
40+
Style/EmptyLinesAroundModuleBody:
41+
Enabled: true
42+
43+
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
44+
Style/HashSyntax:
45+
Enabled: true
46+
47+
# Method definitions after `private` or `protected` isolated calls need one
48+
# extra level of indentation.
49+
Style/IndentationConsistency:
50+
Enabled: true
51+
EnforcedStyle: rails
52+
53+
# Two spaces, no tabs (for indentation).
54+
Style/IndentationWidth:
55+
Enabled: true
56+
57+
Style/SpaceAfterColon:
58+
Enabled: true
59+
60+
Style/SpaceAfterComma:
61+
Enabled: true
62+
63+
Style/SpaceAroundEqualsInParameterDefault:
64+
Enabled: true
65+
66+
Style/SpaceAroundKeyword:
67+
Enabled: true
68+
69+
Style/SpaceAroundOperators:
70+
Enabled: true
71+
72+
Style/SpaceBeforeFirstArg:
73+
Enabled: true
74+
75+
# Defining a method with parameters needs parentheses.
76+
Style/MethodDefParentheses:
77+
Enabled: true
78+
79+
# Use `foo {}` not `foo{}`.
80+
Style/SpaceBeforeBlockBraces:
81+
Enabled: true
82+
83+
# Use `foo { bar }` not `foo {bar}`.
84+
Style/SpaceInsideBlockBraces:
85+
Enabled: true
86+
87+
# Use `{ a: 1 }` not `{a:1}`.
88+
Style/SpaceInsideHashLiteralBraces:
89+
Enabled: true
90+
91+
Style/SpaceInsideParens:
92+
Enabled: true
93+
94+
# Check quotes usage according to lint rule below.
95+
Style/StringLiterals:
96+
Enabled: true
97+
EnforcedStyle: double_quotes
98+
99+
# Detect hard tabs, no hard tabs.
100+
Style/Tab:
101+
Enabled: true
102+
103+
# Blank lines should not have any spaces.
104+
Style/TrailingBlankLines:
105+
Enabled: true
106+
107+
# No trailing whitespace.
108+
Style/TrailingWhitespace:
109+
Enabled: true
110+
111+
# Use quotes for string literals when they are enough.
112+
Style/UnneededPercentQ:
113+
Enabled: true
114+
115+
# Align `end` with the matching keyword or starting expression except for
116+
# assignments, where it should be aligned with the LHS.
117+
Lint/EndAlignment:
118+
Enabled: true
119+
EnforcedStyleAlignWith: variable
120+
121+
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
122+
Lint/RequireParentheses:
123+
Enabled: true

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby-2.4.1

Gemfile

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
source "https://rubygems.org"
2+
3+
# Declare your gem"s dependencies in form_core.gemspec.
4+
# Bundler will treat runtime dependencies like base dependencies, and
5+
# development dependencies will be added by default to the :development group.
6+
gemspec
7+
8+
# Declare any dependencies that are still in development here instead of in
9+
# your gemspec. These might include edge Rails or gems from your path or
10+
# Git. Remember to move these dependencies to your gemspec before releasing
11+
# your gem to rubygems.org.
12+
13+
gem "sqlite3"
14+
15+
# To use a debugger
16+
# gem "byebug", group: [:development, :test]
17+
18+
# To support ES6
19+
gem "sprockets", "~> 4.0.0.beta4"
20+
# Use Font Awesome
21+
gem "font-awesome-sass"
22+
# Use CoffeeScript for .coffee assets and views
23+
gem "coffee-rails", "~> 4.2"
24+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
25+
gem "turbolinks", "~> 5"
26+
# Use SCSS for stylesheets
27+
gem "sass-rails", "~> 5.0"
28+
# Use Uglifier as compressor for JavaScript assets
29+
gem "uglifier", ">= 1.3.0"
30+
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
31+
gem "webpacker"
32+
33+
# Use Puma as the app server
34+
gem "puma"
35+
# For better console experience
36+
gem "pry-rails"
37+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
38+
gem "web-console"
39+
# Call "byebug" anywhere in the code to stop execution and get a debugger console
40+
gem "pry-byebug"
41+
42+
gem "cocoon"

Gemfile.lock

+182
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,182 @@
1+
PATH
2+
remote: .
3+
specs:
4+
form_core (0.0.2)
5+
duck_record (~> 0)
6+
rails (~> 5.0)
7+
8+
GEM
9+
remote: https://rubygems.org/
10+
specs:
11+
actioncable (5.1.1)
12+
actionpack (= 5.1.1)
13+
nio4r (~> 2.0)
14+
websocket-driver (~> 0.6.1)
15+
actionmailer (5.1.1)
16+
actionpack (= 5.1.1)
17+
actionview (= 5.1.1)
18+
activejob (= 5.1.1)
19+
mail (~> 2.5, >= 2.5.4)
20+
rails-dom-testing (~> 2.0)
21+
actionpack (5.1.1)
22+
actionview (= 5.1.1)
23+
activesupport (= 5.1.1)
24+
rack (~> 2.0)
25+
rack-test (~> 0.6.3)
26+
rails-dom-testing (~> 2.0)
27+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
28+
actionview (5.1.1)
29+
activesupport (= 5.1.1)
30+
builder (~> 3.1)
31+
erubi (~> 1.4)
32+
rails-dom-testing (~> 2.0)
33+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
34+
activejob (5.1.1)
35+
activesupport (= 5.1.1)
36+
globalid (>= 0.3.6)
37+
activemodel (5.1.1)
38+
activesupport (= 5.1.1)
39+
activerecord (5.1.1)
40+
activemodel (= 5.1.1)
41+
activesupport (= 5.1.1)
42+
arel (~> 8.0)
43+
activesupport (5.1.1)
44+
concurrent-ruby (~> 1.0, >= 1.0.2)
45+
i18n (~> 0.7)
46+
minitest (~> 5.1)
47+
tzinfo (~> 1.1)
48+
arel (8.0.0)
49+
bindex (0.5.0)
50+
builder (3.2.3)
51+
byebug (9.0.6)
52+
cocoon (1.2.10)
53+
coderay (1.1.1)
54+
coffee-rails (4.2.2)
55+
coffee-script (>= 2.2.0)
56+
railties (>= 4.0.0)
57+
coffee-script (2.4.1)
58+
coffee-script-source
59+
execjs
60+
coffee-script-source (1.12.2)
61+
concurrent-ruby (1.0.5)
62+
duck_record (0.0.11)
63+
activemodel (~> 5.0)
64+
activesupport (~> 5.0)
65+
erubi (1.6.0)
66+
execjs (2.7.0)
67+
font-awesome-sass (4.7.0)
68+
sass (>= 3.2)
69+
globalid (0.4.0)
70+
activesupport (>= 4.2.0)
71+
i18n (0.8.4)
72+
loofah (2.0.3)
73+
nokogiri (>= 1.5.9)
74+
mail (2.6.6)
75+
mime-types (>= 1.16, < 4)
76+
method_source (0.8.2)
77+
mime-types (3.1)
78+
mime-types-data (~> 3.2015)
79+
mime-types-data (3.2016.0521)
80+
mini_portile2 (2.2.0)
81+
minitest (5.10.2)
82+
multi_json (1.12.1)
83+
nio4r (2.1.0)
84+
nokogiri (1.8.0)
85+
mini_portile2 (~> 2.2.0)
86+
pry (0.10.4)
87+
coderay (~> 1.1.0)
88+
method_source (~> 0.8.1)
89+
slop (~> 3.4)
90+
pry-byebug (3.4.2)
91+
byebug (~> 9.0)
92+
pry (~> 0.10)
93+
pry-rails (0.3.6)
94+
pry (>= 0.10.4)
95+
puma (3.9.1)
96+
rack (2.0.3)
97+
rack-test (0.6.3)
98+
rack (>= 1.0)
99+
rails (5.1.1)
100+
actioncable (= 5.1.1)
101+
actionmailer (= 5.1.1)
102+
actionpack (= 5.1.1)
103+
actionview (= 5.1.1)
104+
activejob (= 5.1.1)
105+
activemodel (= 5.1.1)
106+
activerecord (= 5.1.1)
107+
activesupport (= 5.1.1)
108+
bundler (>= 1.3.0, < 2.0)
109+
railties (= 5.1.1)
110+
sprockets-rails (>= 2.0.0)
111+
rails-dom-testing (2.0.3)
112+
activesupport (>= 4.2.0)
113+
nokogiri (>= 1.6)
114+
rails-html-sanitizer (1.0.3)
115+
loofah (~> 2.0)
116+
railties (5.1.1)
117+
actionpack (= 5.1.1)
118+
activesupport (= 5.1.1)
119+
method_source
120+
rake (>= 0.8.7)
121+
thor (>= 0.18.1, < 2.0)
122+
rake (12.0.0)
123+
sass (3.4.24)
124+
sass-rails (5.0.6)
125+
railties (>= 4.0.0, < 6)
126+
sass (~> 3.1)
127+
sprockets (>= 2.8, < 4.0)
128+
sprockets-rails (>= 2.0, < 4.0)
129+
tilt (>= 1.1, < 3)
130+
slop (3.6.0)
131+
sprockets (4.0.0.beta4)
132+
concurrent-ruby (~> 1.0)
133+
rack (> 1, < 3)
134+
sprockets-rails (3.2.0)
135+
actionpack (>= 4.0)
136+
activesupport (>= 4.0)
137+
sprockets (>= 3.0.0)
138+
sqlite3 (1.3.13)
139+
thor (0.19.4)
140+
thread_safe (0.3.6)
141+
tilt (2.0.7)
142+
turbolinks (5.0.1)
143+
turbolinks-source (~> 5)
144+
turbolinks-source (5.0.3)
145+
tzinfo (1.2.3)
146+
thread_safe (~> 0.1)
147+
uglifier (3.2.0)
148+
execjs (>= 0.3.0, < 3)
149+
web-console (3.5.1)
150+
actionview (>= 5.0)
151+
activemodel (>= 5.0)
152+
bindex (>= 0.4.0)
153+
railties (>= 5.0)
154+
webpacker (2.0)
155+
activesupport (>= 4.2)
156+
multi_json (~> 1.2)
157+
railties (>= 4.2)
158+
websocket-driver (0.6.5)
159+
websocket-extensions (>= 0.1.0)
160+
websocket-extensions (0.1.2)
161+
162+
PLATFORMS
163+
ruby
164+
165+
DEPENDENCIES
166+
cocoon
167+
coffee-rails (~> 4.2)
168+
font-awesome-sass
169+
form_core!
170+
pry-byebug
171+
pry-rails
172+
puma
173+
sass-rails (~> 5.0)
174+
sprockets (~> 4.0.0.beta4)
175+
sqlite3
176+
turbolinks (~> 5)
177+
uglifier (>= 1.3.0)
178+
web-console
179+
webpacker
180+
181+
BUNDLED WITH
182+
1.15.1

0 commit comments

Comments
 (0)