mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
ad405e09b0
6 changed files with 7 additions and 7 deletions
|
@ -1,11 +1,11 @@
|
|||
FROM alpine:3.12 as builder
|
||||
FROM alpine:latest as builder
|
||||
RUN apk add --update crystal shards openssl-dev yaml-dev musl-dev make
|
||||
RUN mkdir /ameba
|
||||
WORKDIR /ameba
|
||||
COPY . /ameba/
|
||||
RUN make clean && make
|
||||
|
||||
FROM alpine:3.12
|
||||
FROM alpine:latest
|
||||
RUN apk add --update openssl yaml pcre gc libevent libgcc
|
||||
RUN mkdir /src
|
||||
WORKDIR /src
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: ameba
|
||||
version: 0.13.4
|
||||
version: 0.14.0
|
||||
|
||||
authors:
|
||||
- Vitalii Elenhaupt <velenhaupt@gmail.com>
|
||||
|
|
|
@ -25,7 +25,7 @@ module Ameba::Rule::Performance
|
|||
# YAML configuration example:
|
||||
#
|
||||
# ```
|
||||
# Performance/ChainedCallWithNoBang
|
||||
# Performance/ChainedCallWithNoBang:
|
||||
# Enabled: true
|
||||
# CallNames:
|
||||
# - uniq
|
||||
|
|
|
@ -16,7 +16,7 @@ module Ameba::Rule::Performance
|
|||
# YAML configuration example:
|
||||
#
|
||||
# ```
|
||||
# Performance/CompactAfterMap
|
||||
# Performance/CompactAfterMap:
|
||||
# Enabled: true
|
||||
# ```
|
||||
class CompactAfterMap < Base
|
||||
|
|
|
@ -16,7 +16,7 @@ module Ameba::Rule::Performance
|
|||
# YAML configuration example:
|
||||
#
|
||||
# ```
|
||||
# Performance/FlattenAfterMap
|
||||
# Performance/FlattenAfterMap:
|
||||
# Enabled: true
|
||||
# ```
|
||||
class FlattenAfterMap < Base
|
||||
|
|
|
@ -19,7 +19,7 @@ module Ameba::Rule::Performance
|
|||
# YAML configuration example:
|
||||
#
|
||||
# ```
|
||||
# Performance/MapInsteadOfBlock
|
||||
# Performance/MapInsteadOfBlock:
|
||||
# Enabled: true
|
||||
# ```
|
||||
class MapInsteadOfBlock < Base
|
||||
|
|
Loading…
Reference in a new issue