trifle-stats 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.devops/docker/gitpod/base/.p10k.zsh +1626 -0
- data/.devops/docker/gitpod/base/.zshrc +13 -0
- data/.devops/docker/gitpod/base/Dockerfile +9 -32
- data/.gitignore +2 -1
- data/Gemfile +4 -0
- data/Gemfile.lock +6 -4
- data/lib/trifle/stats/driver/mongo.rb +0 -1
- data/lib/trifle/stats/driver/postgres.rb +0 -1
- data/lib/trifle/stats/driver/redis.rb +0 -1
- data/lib/trifle/stats/driver/sqlite.rb +0 -1
- data/lib/trifle/stats/version.rb +1 -1
- metadata +4 -2
@@ -0,0 +1,13 @@
|
|
1
|
+
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
2
|
+
# Initialization code that may require console input (password prompts, [y/n]
|
3
|
+
# confirmations, etc.) must go above this block; everything else may go below.
|
4
|
+
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
5
|
+
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
6
|
+
fi
|
7
|
+
|
8
|
+
source /root/powerlevel10k/powerlevel10k.zsh-theme
|
9
|
+
|
10
|
+
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
11
|
+
[[ ! -f /root/.p10k.zsh ]] || source /root/.p10k.zsh
|
12
|
+
|
13
|
+
POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true
|
@@ -1,41 +1,27 @@
|
|
1
|
-
FROM
|
1
|
+
FROM debian:latest
|
2
2
|
|
3
3
|
ENV TZ=Europe/Bratislava
|
4
4
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
5
5
|
|
6
|
-
RUN useradd gitpod -u 33333
|
7
|
-
RUN mkdir -p /home/gitpod && chown gitpod:gitpod /home/gitpod
|
8
|
-
|
9
6
|
# install ubuntu packages
|
10
7
|
RUN apt-get update -q \
|
11
8
|
&& apt-get install -y \
|
12
9
|
build-essential \
|
13
10
|
apt-transport-https \
|
14
|
-
|
15
|
-
xterm \
|
16
|
-
xvfb \
|
17
|
-
x11vnc \
|
11
|
+
zsh \
|
18
12
|
libpq-dev \
|
19
13
|
git \
|
20
14
|
curl \
|
21
15
|
wget \
|
22
16
|
unzip \
|
23
|
-
dirmngr \
|
24
17
|
gpg \
|
25
18
|
gnupg2 \
|
26
19
|
locales \
|
27
20
|
autoconf \
|
28
|
-
libncurses5-dev \
|
29
|
-
libgl1-mesa-dev \
|
30
|
-
libglu1-mesa-dev \
|
31
|
-
libpng-dev \
|
32
|
-
unixodbc-dev \
|
33
21
|
libssl-dev \
|
34
22
|
libreadline-dev \
|
35
23
|
zlib1g-dev \
|
36
|
-
ffmpeg \
|
37
24
|
tmux \
|
38
|
-
runit-systemd \
|
39
25
|
htop \
|
40
26
|
vim \
|
41
27
|
&& apt-get clean
|
@@ -46,23 +32,15 @@ ENV LANG en_US.UTF-8
|
|
46
32
|
ENV LANGUAGE en_US:en
|
47
33
|
ENV LC_ALL en_US.UTF-8
|
48
34
|
|
49
|
-
RUN
|
50
|
-
RUN
|
51
|
-
|
52
|
-
|
53
|
-
&& apt-get install -y \
|
54
|
-
postgresql postgresql-contrib \
|
55
|
-
# mongodb-org \
|
56
|
-
redis-server \
|
57
|
-
mariadb-server \
|
58
|
-
&& apt-get clean
|
59
|
-
|
60
|
-
USER gitpod
|
35
|
+
RUN wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh || true
|
36
|
+
RUN git clone --depth=1 https://github.com/romkatv/powerlevel10k.git /root/powerlevel10k
|
37
|
+
COPY .zshrc /root/.zshrc
|
38
|
+
COPY .p10k.zsh /root/p10k.zsh
|
61
39
|
|
62
40
|
#install asdf
|
63
|
-
ENV ASDF_ROOT /
|
41
|
+
ENV ASDF_ROOT /root/.asdf
|
64
42
|
ENV PATH "${ASDF_ROOT}/bin:${ASDF_ROOT}/shims:$PATH"
|
65
|
-
RUN git clone https://github.com/asdf-vm/asdf.git ${ASDF_ROOT} --branch v0.
|
43
|
+
RUN git clone https://github.com/asdf-vm/asdf.git ${ASDF_ROOT} --branch v0.10.0
|
66
44
|
|
67
45
|
RUN asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.git
|
68
46
|
|
@@ -71,7 +49,6 @@ ENV RUBY_VERSION 3.0.0
|
|
71
49
|
RUN ASDF_RUBY_BUILD_VERSION=v20201225 asdf install ruby ${RUBY_VERSION} \
|
72
50
|
&& asdf global ruby ${RUBY_VERSION}
|
73
51
|
|
74
|
-
# throw errors if Gemfile has been modified since Gemfile.lock
|
75
52
|
RUN gem install bundler
|
76
53
|
|
77
|
-
CMD ["
|
54
|
+
CMD ["zsh"]
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
trifle-stats (1.3.
|
4
|
+
trifle-stats (1.3.1)
|
5
5
|
tzinfo (~> 2.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -49,6 +49,7 @@ GEM
|
|
49
49
|
rubocop-ast (1.4.1)
|
50
50
|
parser (>= 2.7.1.5)
|
51
51
|
ruby-progressbar (1.11.0)
|
52
|
+
sqlite (1.0.2)
|
52
53
|
sqlite3 (1.4.4)
|
53
54
|
tzinfo (2.0.5)
|
54
55
|
concurrent-ruby (~> 1.0)
|
@@ -62,12 +63,13 @@ DEPENDENCIES
|
|
62
63
|
bundler (~> 2.1)
|
63
64
|
byebug
|
64
65
|
dotenv
|
65
|
-
mongo
|
66
|
-
pg
|
66
|
+
mongo
|
67
|
+
pg
|
67
68
|
rake (~> 12.0)
|
68
|
-
redis
|
69
|
+
redis
|
69
70
|
rspec (~> 3.0)
|
70
71
|
rubocop (= 1.0.0)
|
72
|
+
sqlite
|
71
73
|
sqlite3 (>= 1.4.4)
|
72
74
|
trifle-stats!
|
73
75
|
|
data/lib/trifle/stats/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trifle-stats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jozef Vaclavik
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -180,6 +180,8 @@ files:
|
|
180
180
|
- ".devops/docker/environment/.zshrc"
|
181
181
|
- ".devops/docker/environment/Dockerfile"
|
182
182
|
- ".devops/docker/gitpod/Dockerfile"
|
183
|
+
- ".devops/docker/gitpod/base/.p10k.zsh"
|
184
|
+
- ".devops/docker/gitpod/base/.zshrc"
|
183
185
|
- ".devops/docker/gitpod/base/Dockerfile"
|
184
186
|
- ".github/workflows/ruby.yml"
|
185
187
|
- ".gitignore"
|