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 apk add --update crystal shards openssl-dev yaml-dev musl-dev make
|
||||||
RUN mkdir /ameba
|
RUN mkdir /ameba
|
||||||
WORKDIR /ameba
|
WORKDIR /ameba
|
||||||
COPY . /ameba/
|
COPY . /ameba/
|
||||||
RUN make clean && make
|
RUN make clean && make
|
||||||
|
|
||||||
FROM alpine:3.12
|
FROM alpine:latest
|
||||||
RUN apk add --update openssl yaml pcre gc libevent libgcc
|
RUN apk add --update openssl yaml pcre gc libevent libgcc
|
||||||
RUN mkdir /src
|
RUN mkdir /src
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: ameba
|
name: ameba
|
||||||
version: 0.13.4
|
version: 0.14.0
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- Vitalii Elenhaupt <velenhaupt@gmail.com>
|
- Vitalii Elenhaupt <velenhaupt@gmail.com>
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Ameba::Rule::Performance
|
||||||
# YAML configuration example:
|
# YAML configuration example:
|
||||||
#
|
#
|
||||||
# ```
|
# ```
|
||||||
# Performance/ChainedCallWithNoBang
|
# Performance/ChainedCallWithNoBang:
|
||||||
# Enabled: true
|
# Enabled: true
|
||||||
# CallNames:
|
# CallNames:
|
||||||
# - uniq
|
# - uniq
|
||||||
|
|
|
@ -16,7 +16,7 @@ module Ameba::Rule::Performance
|
||||||
# YAML configuration example:
|
# YAML configuration example:
|
||||||
#
|
#
|
||||||
# ```
|
# ```
|
||||||
# Performance/CompactAfterMap
|
# Performance/CompactAfterMap:
|
||||||
# Enabled: true
|
# Enabled: true
|
||||||
# ```
|
# ```
|
||||||
class CompactAfterMap < Base
|
class CompactAfterMap < Base
|
||||||
|
|
|
@ -16,7 +16,7 @@ module Ameba::Rule::Performance
|
||||||
# YAML configuration example:
|
# YAML configuration example:
|
||||||
#
|
#
|
||||||
# ```
|
# ```
|
||||||
# Performance/FlattenAfterMap
|
# Performance/FlattenAfterMap:
|
||||||
# Enabled: true
|
# Enabled: true
|
||||||
# ```
|
# ```
|
||||||
class FlattenAfterMap < Base
|
class FlattenAfterMap < Base
|
||||||
|
|
|
@ -19,7 +19,7 @@ module Ameba::Rule::Performance
|
||||||
# YAML configuration example:
|
# YAML configuration example:
|
||||||
#
|
#
|
||||||
# ```
|
# ```
|
||||||
# Performance/MapInsteadOfBlock
|
# Performance/MapInsteadOfBlock:
|
||||||
# Enabled: true
|
# Enabled: true
|
||||||
# ```
|
# ```
|
||||||
class MapInsteadOfBlock < Base
|
class MapInsteadOfBlock < Base
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue