venice-chr 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coffeescript-style.json +98 -0
- data/.hound.yml +16 -0
- data/.ruby-style.yml +239 -0
- data/.scss-style.yml +145 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +14 -9
- data/README.md +33 -5
- data/lib/venice/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1348a059cfe2b51b8d7cdaacd0a5cb0d1ce5827
|
4
|
+
data.tar.gz: 1b7874aabb4a2cf65edccda05ed3b60b7f0f5641
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4973e2e4fbab8a158087a63b59526cfe03e33e573e12f5ad88edae4cad68d92e9a2383c1b7dddb4e4fb17ed604f1d09f5dbdf62879a40b0a82524bfbb59e4d4
|
7
|
+
data.tar.gz: bc9851e26442e35b8632db8012fd296b308b073d7359015b8aaddfdbb41aed31b66acbd044cb53376c2e5530998e9d598b83589ae47c4c65d921ee36db979c21
|
@@ -0,0 +1,98 @@
|
|
1
|
+
{
|
2
|
+
"arrow_spacing": {
|
3
|
+
"level": "error"
|
4
|
+
},
|
5
|
+
"camel_case_classes": {
|
6
|
+
"level": "error"
|
7
|
+
},
|
8
|
+
"coffeescript_error": {
|
9
|
+
"level": "error"
|
10
|
+
},
|
11
|
+
"colon_assignment_spacing": {
|
12
|
+
"level": "error",
|
13
|
+
"spacing": {
|
14
|
+
"left": 0,
|
15
|
+
"right": 1
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"cyclomatic_complexity": {
|
19
|
+
"level": "ignore",
|
20
|
+
"value": 10
|
21
|
+
},
|
22
|
+
"duplicate_key": {
|
23
|
+
"level": "error"
|
24
|
+
},
|
25
|
+
"empty_constructor_needs_parens": {
|
26
|
+
"level": "ignore"
|
27
|
+
},
|
28
|
+
"indentation": {
|
29
|
+
"level": "error",
|
30
|
+
"value": 2
|
31
|
+
},
|
32
|
+
"line_endings": {
|
33
|
+
"level": "ignore",
|
34
|
+
"value": "unix"
|
35
|
+
},
|
36
|
+
"max_line_length": {
|
37
|
+
"level": "error",
|
38
|
+
"value": 80
|
39
|
+
},
|
40
|
+
"missing_fat_arrows": {
|
41
|
+
"level": "ignore"
|
42
|
+
},
|
43
|
+
"newlines_after_classes": {
|
44
|
+
"level": "error",
|
45
|
+
"value": 1
|
46
|
+
},
|
47
|
+
"no_backticks": {
|
48
|
+
"level": "ignore"
|
49
|
+
},
|
50
|
+
"no_debugger": {
|
51
|
+
"level": "error"
|
52
|
+
},
|
53
|
+
"no_empty_functions": {
|
54
|
+
"level": "error"
|
55
|
+
},
|
56
|
+
"no_empty_param_list": {
|
57
|
+
"level": "error"
|
58
|
+
},
|
59
|
+
"no_implicit_braces": {
|
60
|
+
"level": "ignore"
|
61
|
+
},
|
62
|
+
"no_implicit_parens": {
|
63
|
+
"level": "ignore"
|
64
|
+
},
|
65
|
+
"no_interpolation_in_single_quotes": {
|
66
|
+
"level": "error"
|
67
|
+
},
|
68
|
+
"no_plusplus": {
|
69
|
+
"level": "ignore"
|
70
|
+
},
|
71
|
+
"no_stand_alone_at": {
|
72
|
+
"level": "error"
|
73
|
+
},
|
74
|
+
"no_tabs": {
|
75
|
+
"level": "error"
|
76
|
+
},
|
77
|
+
"no_throwing_strings": {
|
78
|
+
"level": "error"
|
79
|
+
},
|
80
|
+
"no_trailing_semicolons": {
|
81
|
+
"level": "error"
|
82
|
+
},
|
83
|
+
"no_trailing_whitespace": {
|
84
|
+
"level": "error"
|
85
|
+
},
|
86
|
+
"no_unnecessary_double_quotes": {
|
87
|
+
"level": "ignore"
|
88
|
+
},
|
89
|
+
"no_unnecessary_fat_arrows": {
|
90
|
+
"level": "error"
|
91
|
+
},
|
92
|
+
"non_empty_constructor_needs_parens": {
|
93
|
+
"level": "ignore"
|
94
|
+
},
|
95
|
+
"space_operators": {
|
96
|
+
"level": "ignore"
|
97
|
+
}
|
98
|
+
}
|
data/.hound.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
scss:
|
2
|
+
config_file: .scss-style.yml
|
3
|
+
|
4
|
+
ruby:
|
5
|
+
config_file: .ruby-style.yml
|
6
|
+
|
7
|
+
# javascript:
|
8
|
+
# ignore_file: .javascript_ignore
|
9
|
+
|
10
|
+
javascript:
|
11
|
+
enabled: false
|
12
|
+
|
13
|
+
coffeescript:
|
14
|
+
config_file: .coffeescript-style.json
|
15
|
+
|
16
|
+
fail_on_violations: true
|
data/.ruby-style.yml
ADDED
@@ -0,0 +1,239 @@
|
|
1
|
+
AllCops:
|
2
|
+
Exclude:
|
3
|
+
- "vendor/**/*"
|
4
|
+
- "db/schema.rb"
|
5
|
+
UseCache: false
|
6
|
+
Style/CollectionMethods:
|
7
|
+
Description: Preferred collection methods.
|
8
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size
|
9
|
+
Enabled: true
|
10
|
+
PreferredMethods:
|
11
|
+
collect: map
|
12
|
+
collect!: map!
|
13
|
+
find: detect
|
14
|
+
find_all: select
|
15
|
+
reduce: inject
|
16
|
+
Style/DotPosition:
|
17
|
+
Description: Checks the position of the dot in multi-line method calls.
|
18
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
|
19
|
+
Enabled: true
|
20
|
+
EnforcedStyle: trailing
|
21
|
+
SupportedStyles:
|
22
|
+
- leading
|
23
|
+
- trailing
|
24
|
+
Style/FileName:
|
25
|
+
Description: Use snake_case for source file names.
|
26
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
|
27
|
+
Enabled: false
|
28
|
+
Exclude: []
|
29
|
+
Style/GuardClause:
|
30
|
+
Description: Check for conditionals that can be replaced with guard clauses
|
31
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
|
32
|
+
Enabled: false
|
33
|
+
MinBodyLength: 1
|
34
|
+
Style/IfUnlessModifier:
|
35
|
+
Description: Favor modifier if/unless usage when you have a single-line body.
|
36
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
|
37
|
+
Enabled: false
|
38
|
+
MaxLineLength: 80
|
39
|
+
Style/OptionHash:
|
40
|
+
Description: Don't use option hashes when you can use keyword arguments.
|
41
|
+
Enabled: false
|
42
|
+
Style/PercentLiteralDelimiters:
|
43
|
+
Description: Use `%`-literal delimiters consistently
|
44
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-literal-braces
|
45
|
+
Enabled: false
|
46
|
+
PreferredDelimiters:
|
47
|
+
"%": "()"
|
48
|
+
"%i": "()"
|
49
|
+
"%q": "()"
|
50
|
+
"%Q": "()"
|
51
|
+
"%r": "{}"
|
52
|
+
"%s": "()"
|
53
|
+
"%w": "()"
|
54
|
+
"%W": "()"
|
55
|
+
"%x": "()"
|
56
|
+
Style/PredicateName:
|
57
|
+
Description: Check the names of predicate methods.
|
58
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark
|
59
|
+
Enabled: true
|
60
|
+
NamePrefix:
|
61
|
+
- is_
|
62
|
+
- has_
|
63
|
+
- have_
|
64
|
+
NamePrefixBlacklist:
|
65
|
+
- is_
|
66
|
+
Exclude:
|
67
|
+
- spec/**/*
|
68
|
+
Style/RaiseArgs:
|
69
|
+
Description: Checks the arguments passed to raise/fail.
|
70
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#exception-class-messages
|
71
|
+
Enabled: false
|
72
|
+
EnforcedStyle: exploded
|
73
|
+
SupportedStyles:
|
74
|
+
- compact
|
75
|
+
- exploded
|
76
|
+
Style/SignalException:
|
77
|
+
Description: Checks for proper usage of fail and raise.
|
78
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#fail-method
|
79
|
+
Enabled: false
|
80
|
+
EnforcedStyle: semantic
|
81
|
+
SupportedStyles:
|
82
|
+
- only_raise
|
83
|
+
- only_fail
|
84
|
+
- semantic
|
85
|
+
Style/SingleLineBlockParams:
|
86
|
+
Description: Enforces the names of some block params.
|
87
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#reduce-blocks
|
88
|
+
Enabled: false
|
89
|
+
Methods:
|
90
|
+
- reduce:
|
91
|
+
- a
|
92
|
+
- e
|
93
|
+
- inject:
|
94
|
+
- a
|
95
|
+
- e
|
96
|
+
Style/SingleLineMethods:
|
97
|
+
Description: Avoid single-line methods.
|
98
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-single-line-methods
|
99
|
+
Enabled: false
|
100
|
+
AllowIfMethodIsEmpty: true
|
101
|
+
Style/StringLiterals:
|
102
|
+
Description: Checks if uses of quotes match the configured preference.
|
103
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
|
104
|
+
Enabled: true
|
105
|
+
EnforcedStyle: double_quotes
|
106
|
+
SupportedStyles:
|
107
|
+
- single_quotes
|
108
|
+
- double_quotes
|
109
|
+
Style/StringLiteralsInInterpolation:
|
110
|
+
Description: Checks if uses of quotes inside expressions in interpolated strings
|
111
|
+
match the configured preference.
|
112
|
+
Enabled: true
|
113
|
+
EnforcedStyle: single_quotes
|
114
|
+
SupportedStyles:
|
115
|
+
- single_quotes
|
116
|
+
- double_quotes
|
117
|
+
Style/TrailingComma:
|
118
|
+
Description: Checks for trailing comma in parameter lists and literals.
|
119
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas
|
120
|
+
Enabled: false
|
121
|
+
EnforcedStyleForMultiline: no_comma
|
122
|
+
SupportedStyles:
|
123
|
+
- comma
|
124
|
+
- no_comma
|
125
|
+
Metrics/AbcSize:
|
126
|
+
Description: A calculated magnitude based on number of assignments, branches, and
|
127
|
+
conditions.
|
128
|
+
Enabled: false
|
129
|
+
Max: 15
|
130
|
+
Metrics/ClassLength:
|
131
|
+
Description: Avoid classes longer than 100 lines of code.
|
132
|
+
Enabled: false
|
133
|
+
CountComments: false
|
134
|
+
Max: 100
|
135
|
+
Metrics/ModuleLength:
|
136
|
+
CountComments: false
|
137
|
+
Max: 100
|
138
|
+
Description: Avoid modules longer than 100 lines of code.
|
139
|
+
Enabled: false
|
140
|
+
Metrics/CyclomaticComplexity:
|
141
|
+
Description: A complexity metric that is strongly correlated to the number of test
|
142
|
+
cases needed to validate a method.
|
143
|
+
Enabled: false
|
144
|
+
Max: 6
|
145
|
+
Metrics/MethodLength:
|
146
|
+
Description: Avoid methods longer than 10 lines of code.
|
147
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
|
148
|
+
Enabled: false
|
149
|
+
CountComments: false
|
150
|
+
Max: 10
|
151
|
+
Metrics/ParameterLists:
|
152
|
+
Description: Avoid parameter lists longer than three or four parameters.
|
153
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#too-many-params
|
154
|
+
Enabled: false
|
155
|
+
Max: 5
|
156
|
+
CountKeywordArgs: true
|
157
|
+
Metrics/PerceivedComplexity:
|
158
|
+
Description: A complexity metric geared towards measuring complexity for a human
|
159
|
+
reader.
|
160
|
+
Enabled: false
|
161
|
+
Max: 7
|
162
|
+
Lint/AssignmentInCondition:
|
163
|
+
Description: Don't use assignment in conditions.
|
164
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
|
165
|
+
Enabled: false
|
166
|
+
AllowSafeAssignment: true
|
167
|
+
Style/InlineComment:
|
168
|
+
Description: Avoid inline comments.
|
169
|
+
Enabled: false
|
170
|
+
Style/AccessorMethodName:
|
171
|
+
Description: Check the naming of accessor methods for get_/set_.
|
172
|
+
Enabled: false
|
173
|
+
Style/Alias:
|
174
|
+
Description: Use alias_method instead of alias.
|
175
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
|
176
|
+
Enabled: false
|
177
|
+
Style/Documentation:
|
178
|
+
Description: Document classes and non-namespace modules.
|
179
|
+
Enabled: false
|
180
|
+
Style/DoubleNegation:
|
181
|
+
Description: Checks for uses of double negation (!!).
|
182
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-bang-bang
|
183
|
+
Enabled: false
|
184
|
+
Style/EachWithObject:
|
185
|
+
Description: Prefer `each_with_object` over `inject` or `reduce`.
|
186
|
+
Enabled: false
|
187
|
+
Style/EmptyLiteral:
|
188
|
+
Description: Prefer literals to Array.new/Hash.new/String.new.
|
189
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#literal-array-hash
|
190
|
+
Enabled: false
|
191
|
+
Style/ModuleFunction:
|
192
|
+
Description: Checks for usage of `extend self` in modules.
|
193
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#module-function
|
194
|
+
Enabled: false
|
195
|
+
Style/OneLineConditional:
|
196
|
+
Description: Favor the ternary operator(?:) over if/then/else/end constructs.
|
197
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#ternary-operator
|
198
|
+
Enabled: false
|
199
|
+
Style/PerlBackrefs:
|
200
|
+
Description: Avoid Perl-style regex back references.
|
201
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers
|
202
|
+
Enabled: false
|
203
|
+
Style/Send:
|
204
|
+
Description: Prefer `Object#__send__` or `Object#public_send` to `send`, as `send`
|
205
|
+
may overlap with existing methods.
|
206
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#prefer-public-send
|
207
|
+
Enabled: false
|
208
|
+
Style/SpecialGlobalVars:
|
209
|
+
Description: Avoid Perl-style global variables.
|
210
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms
|
211
|
+
Enabled: false
|
212
|
+
Style/VariableInterpolation:
|
213
|
+
Description: Don't interpolate global, instance and class variables directly in
|
214
|
+
strings.
|
215
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#curlies-interpolate
|
216
|
+
Enabled: false
|
217
|
+
Style/WhenThen:
|
218
|
+
Description: Use when x then ... for one-line cases.
|
219
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#one-line-cases
|
220
|
+
Enabled: false
|
221
|
+
Lint/EachWithObjectArgument:
|
222
|
+
Description: Check for immutable argument given to each_with_object.
|
223
|
+
Enabled: true
|
224
|
+
Lint/HandleExceptions:
|
225
|
+
Description: Don't suppress exception.
|
226
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
|
227
|
+
Enabled: false
|
228
|
+
Lint/LiteralInCondition:
|
229
|
+
Description: Checks of literals used in conditions.
|
230
|
+
Enabled: false
|
231
|
+
Lint/LiteralInInterpolation:
|
232
|
+
Description: Checks for literals used in interpolation.
|
233
|
+
Enabled: false
|
234
|
+
Rails/FindBy:
|
235
|
+
Description: 'Prefer find_by over where.first.'
|
236
|
+
Enabled: false
|
237
|
+
Rails/DefaultScope:
|
238
|
+
Description: 'Checks if the argument passed to default_scope is a block.'
|
239
|
+
Enabled: false
|
data/.scss-style.yml
ADDED
@@ -0,0 +1,145 @@
|
|
1
|
+
scss_files: "**/*.scss"
|
2
|
+
linters:
|
3
|
+
BangFormat:
|
4
|
+
enabled: true
|
5
|
+
space_before_bang: true
|
6
|
+
space_after_bang: false
|
7
|
+
BorderZero:
|
8
|
+
enabled: false
|
9
|
+
convention: zero
|
10
|
+
ColorKeyword:
|
11
|
+
enabled: true
|
12
|
+
severity: warning
|
13
|
+
ColorVariable:
|
14
|
+
enabled: true
|
15
|
+
Comment:
|
16
|
+
enabled: true
|
17
|
+
DebugStatement:
|
18
|
+
enabled: true
|
19
|
+
DeclarationOrder:
|
20
|
+
enabled: true
|
21
|
+
DuplicateProperty:
|
22
|
+
enabled: true
|
23
|
+
ElsePlacement:
|
24
|
+
enabled: true
|
25
|
+
style: same_line
|
26
|
+
EmptyLineBetweenBlocks:
|
27
|
+
enabled: true
|
28
|
+
ignore_single_line_blocks: true
|
29
|
+
EmptyRule:
|
30
|
+
enabled: true
|
31
|
+
FinalNewline:
|
32
|
+
enabled: true
|
33
|
+
present: true
|
34
|
+
HexLength:
|
35
|
+
enabled: false
|
36
|
+
style: short
|
37
|
+
HexNotation:
|
38
|
+
enabled: true
|
39
|
+
style: lowercase
|
40
|
+
HexValidation:
|
41
|
+
enabled: true
|
42
|
+
IdSelector:
|
43
|
+
enabled: true
|
44
|
+
ImportantRule:
|
45
|
+
enabled: true
|
46
|
+
ImportPath:
|
47
|
+
enabled: true
|
48
|
+
leading_underscore: false
|
49
|
+
filename_extension: false
|
50
|
+
Indentation:
|
51
|
+
enabled: true
|
52
|
+
allow_non_nested_indentation: false
|
53
|
+
character: space
|
54
|
+
width: 2
|
55
|
+
LeadingZero:
|
56
|
+
enabled: true
|
57
|
+
style: include_zero
|
58
|
+
MergeableSelector:
|
59
|
+
enabled: true
|
60
|
+
force_nesting: true
|
61
|
+
NameFormat:
|
62
|
+
enabled: true
|
63
|
+
allow_leading_underscore: true
|
64
|
+
convention: hyphenated_lowercase
|
65
|
+
NestingDepth:
|
66
|
+
enabled: true
|
67
|
+
max_depth: 4
|
68
|
+
severity: warning
|
69
|
+
PlaceholderInExtend:
|
70
|
+
enabled: false
|
71
|
+
PropertyCount:
|
72
|
+
enabled: true
|
73
|
+
include_nested: false
|
74
|
+
max_properties: 10
|
75
|
+
PropertySortOrder:
|
76
|
+
enabled: true
|
77
|
+
ignore_unspecified: false
|
78
|
+
severity: warning
|
79
|
+
separate_groups: false
|
80
|
+
PropertySpelling:
|
81
|
+
enabled: true
|
82
|
+
extra_properties: []
|
83
|
+
QualifyingElement:
|
84
|
+
enabled: true
|
85
|
+
allow_element_with_attribute: false
|
86
|
+
allow_element_with_class: false
|
87
|
+
allow_element_with_id: false
|
88
|
+
severity: warning
|
89
|
+
SelectorDepth:
|
90
|
+
enabled: true
|
91
|
+
max_depth: 2
|
92
|
+
severity: warning
|
93
|
+
SelectorFormat:
|
94
|
+
enabled: true
|
95
|
+
convention: hyphenated_lowercase
|
96
|
+
Shorthand:
|
97
|
+
enabled: true
|
98
|
+
severity: warning
|
99
|
+
SingleLinePerProperty:
|
100
|
+
enabled: true
|
101
|
+
allow_single_line_rule_sets: true
|
102
|
+
SingleLinePerSelector:
|
103
|
+
enabled: true
|
104
|
+
SpaceAfterComma:
|
105
|
+
enabled: true
|
106
|
+
SpaceAfterPropertyColon:
|
107
|
+
enabled: true
|
108
|
+
style: one_space
|
109
|
+
SpaceAfterPropertyName:
|
110
|
+
enabled: true
|
111
|
+
SpaceBeforeBrace:
|
112
|
+
enabled: true
|
113
|
+
style: space
|
114
|
+
allow_single_line_padding: false
|
115
|
+
SpaceBetweenParens:
|
116
|
+
enabled: true
|
117
|
+
spaces: 0
|
118
|
+
StringQuotes:
|
119
|
+
enabled: true
|
120
|
+
style: double_quotes
|
121
|
+
TrailingSemicolon:
|
122
|
+
enabled: true
|
123
|
+
TrailingZero:
|
124
|
+
enabled: false
|
125
|
+
UnnecessaryMantissa:
|
126
|
+
enabled: true
|
127
|
+
UnnecessaryParentReference:
|
128
|
+
enabled: true
|
129
|
+
UrlFormat:
|
130
|
+
enabled: true
|
131
|
+
UrlQuotes:
|
132
|
+
enabled: true
|
133
|
+
VariableForProperty:
|
134
|
+
enabled: false
|
135
|
+
properties: []
|
136
|
+
VendorPrefixes:
|
137
|
+
enabled: true
|
138
|
+
identifier_list: bourbon
|
139
|
+
include: []
|
140
|
+
exclude: []
|
141
|
+
ZeroUnit:
|
142
|
+
enabled: true
|
143
|
+
severity: warning
|
144
|
+
Compass::PropertyWithMixin:
|
145
|
+
enabled: false
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,9 +1,18 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
venice-chr (0.1.
|
4
|
+
venice-chr (0.1.2)
|
5
5
|
thor
|
6
6
|
|
7
|
+
PATH
|
8
|
+
remote: ../ants
|
9
|
+
specs:
|
10
|
+
ants (0.3.13)
|
11
|
+
devise
|
12
|
+
meta-tags
|
13
|
+
mongoid (>= 4.0)
|
14
|
+
mongoid-slug (>= 4.0.0)
|
15
|
+
|
7
16
|
GEM
|
8
17
|
remote: https://rubygems.org/
|
9
18
|
specs:
|
@@ -44,11 +53,6 @@ GEM
|
|
44
53
|
thread_safe (~> 0.3, >= 0.3.4)
|
45
54
|
tzinfo (~> 1.1)
|
46
55
|
addressable (2.3.8)
|
47
|
-
ants (0.3.12)
|
48
|
-
devise
|
49
|
-
meta-tags
|
50
|
-
mongoid (>= 4.0)
|
51
|
-
mongoid-slug (>= 4.0.0)
|
52
56
|
arel (6.0.3)
|
53
57
|
awesome_print (1.6.1)
|
54
58
|
bcrypt (3.1.10)
|
@@ -264,8 +268,8 @@ GEM
|
|
264
268
|
railties (>= 3.2, < 5)
|
265
269
|
responders
|
266
270
|
ipaddress (0.8.0)
|
267
|
-
journal-chr (0.3.
|
268
|
-
ants (>= 0.3.
|
271
|
+
journal-chr (0.3.7)
|
272
|
+
ants (>= 0.3.13)
|
269
273
|
chr (>= 0.5.5)
|
270
274
|
loft (>= 0.3.1)
|
271
275
|
mongosteen (>= 0.2.0)
|
@@ -301,7 +305,7 @@ GEM
|
|
301
305
|
minitest (5.8.3)
|
302
306
|
mongo (2.2.1)
|
303
307
|
bson (~> 4.0)
|
304
|
-
mongoid (5.0.
|
308
|
+
mongoid (5.0.2)
|
305
309
|
activemodel (~> 4.0)
|
306
310
|
mongo (~> 2.1)
|
307
311
|
origin (~> 2.1)
|
@@ -446,6 +450,7 @@ PLATFORMS
|
|
446
450
|
ruby
|
447
451
|
|
448
452
|
DEPENDENCIES
|
453
|
+
ants!
|
449
454
|
awesome_print
|
450
455
|
bson_ext
|
451
456
|
bundler (~> 1.7)
|
data/README.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
# Venice
|
2
|
+
[![GitHub version](https://badge.fury.io/gh/alexkravets%2Fvenice.svg)](https://badge.fury.io/gh/alexkravets%2Fvenice)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/alexkravets/venice/badges/gpa.svg)](https://codeclimate.com/github/alexkravets/venice)
|
2
4
|
|
3
5
|
*Where art meets technology.*
|
4
6
|
|
5
|
-
`v` `e` `n` `i` `c` `e` is boilderplate website & blog implementation based on
|
7
|
+
`v` `e` `n` `i` `c` `e` is boilderplate website & blog implementation based on
|
8
|
+
[Character](https://github.com/slate-studio/chr) library. It's used as
|
9
|
+
boilerplate for new Rails projects or quick prototypes.
|
6
10
|
|
7
11
|
Homepage: https://github.com/alexkravets/venice
|
8
12
|
|
@@ -10,7 +14,8 @@ Homepage: https://github.com/alexkravets/venice
|
|
10
14
|
|
11
15
|
It assumes you have a machine equipped with Ruby & Mongodb.
|
12
16
|
|
13
|
-
1. Install the Venice gem using the [RubyGems](https://rubygems.org) package
|
17
|
+
1. Install the Venice gem using the [RubyGems](https://rubygems.org) package
|
18
|
+
manager:
|
14
19
|
|
15
20
|
```bash
|
16
21
|
gem install venice-chr
|
@@ -40,14 +45,36 @@ Default admin account is `user@example.com`:`password`.
|
|
40
45
|
venice deploy
|
41
46
|
```
|
42
47
|
|
43
|
-
Default admin account: is `user@example.com`:`password`. After deploy is
|
48
|
+
Default admin account: is `user@example.com`:`password`. After deploy is
|
49
|
+
finished, please login and create a new account, then remove default one.
|
44
50
|
|
45
|
-
- Start
|
51
|
+
- Start Venice server:
|
46
52
|
|
47
53
|
```bash
|
48
54
|
rails s
|
49
55
|
```
|
50
56
|
|
57
|
+
## Related Gems
|
58
|
+
|
59
|
+
Venice is based on a bunch of open source gems. You might be interested to have
|
60
|
+
a look into those to get better understanding of how things do work inside:
|
61
|
+
|
62
|
+
- [Character](https://github.com/slate-studio/chr): Powerful responsive
|
63
|
+
javascript CMS for apps
|
64
|
+
- [Formagic](https://github.com/slate-studio/formagic): Building forms with
|
65
|
+
CoffeeScript
|
66
|
+
- [Journal](https://github.com/alexkravets/journal): Posts and pages
|
67
|
+
implementation with templates and CMS modules
|
68
|
+
- [Tape](https://github.com/alexkravets/tape): Basic RSS reader that integrates
|
69
|
+
into CMS
|
70
|
+
- [Ants](https://github.com/slate-studio/ants): Utility gem with helpers and
|
71
|
+
concerns that are used on the backend and CMS
|
72
|
+
- [Loft](https://github.com/slate-studio/loft): Media assets manager for
|
73
|
+
Character CMS
|
74
|
+
- [Mongosteen](https://github.com/slate-studio/mongosteen): An easy way to add
|
75
|
+
CRUD actions for Mongoid models
|
76
|
+
|
77
|
+
|
51
78
|
## Contributing
|
52
79
|
|
53
80
|
If you'd like to contribute a feature or bugfix: Thanks! To make sure your
|
@@ -59,4 +86,5 @@ guidelines:
|
|
59
86
|
3. Push your branch to your fork
|
60
87
|
4. Post a [pull request](https://github.com/alexkravets/venice/compare).
|
61
88
|
|
62
|
-
Thank you to all
|
89
|
+
Thank you to all
|
90
|
+
[the contributors](https://github.com/alexkraves/venice/contributors)!
|
data/lib/venice/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: venice-chr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kravets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -60,7 +60,11 @@ executables:
|
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
|
+
- ".coffeescript-style.json"
|
63
64
|
- ".gitignore"
|
65
|
+
- ".hound.yml"
|
66
|
+
- ".ruby-style.yml"
|
67
|
+
- ".scss-style.yml"
|
64
68
|
- Gemfile
|
65
69
|
- Gemfile.lock
|
66
70
|
- Procfile
|