redmine_audit 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +22 -4
- data/Dockerfile.travis +16 -0
- data/README.md +1 -1
- data/config/database.redmine.sqlite3.yml +11 -0
- data/data/plugins.yml +1 -1
- data/init.rb +1 -0
- data/lib/redmine_audit/version.rb +1 -1
- data/redmine_audit.gemspec +3 -3
- data/scripts/run_travis_image.sh +12 -0
- metadata +15 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3ba7ef2cccad85e3250e0eac5c71f0c584aaf29d2774cb50d93daff3f4828344
|
4
|
+
data.tar.gz: 4c2d49d0096604498ab6a98e72b425f3697aaafd46c27f6729352ab5b84d762f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 141c142a4c53a892f9b09b392c76c07efea1175d0ee9d9d9cdd32d9f760780ee7066d87c4dd373725615e35c79f089dfabf8ad4e9785ce515bb4dcde1dd72fe7
|
7
|
+
data.tar.gz: f2a56dc41c85167153ca0c90935c932e1651e6727340355865afbaa19b8b26379e2d53b4c77fc3c4ebe60439e9100553c58d2f2e6c5cbad28589911801025b06
|
data/.travis.yml
CHANGED
@@ -1,8 +1,26 @@
|
|
1
|
+
sudo: required
|
1
2
|
language: ruby
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
services:
|
4
|
+
- docker
|
5
|
+
env:
|
6
|
+
- RUBY_VER=2.7-rc REDMINE_VER=master
|
7
|
+
- RUBY_VER=2.6 REDMINE_VER=master
|
8
|
+
- RUBY_VER=2.6 REDMINE_VER=4.0-stable
|
9
|
+
- RUBY_VER=2.6 REDMINE_VER=3.4-stable
|
10
|
+
- RUBY_VER=2.5 REDMINE_VER=master
|
11
|
+
- RUBY_VER=2.5 REDMINE_VER=4.0-stable
|
12
|
+
- RUBY_VER=2.5 REDMINE_VER=3.4-stable
|
13
|
+
- RUBY_VER=2.4 REDMINE_VER=master
|
14
|
+
- RUBY_VER=2.4 REDMINE_VER=4.0-stable
|
15
|
+
- RUBY_VER=2.4 REDMINE_VER=3.4-stable
|
16
|
+
- RUBY_VER=2.3 REDMINE_VER=master
|
17
|
+
- RUBY_VER=2.3 REDMINE_VER=3.4-stable
|
18
|
+
- RUBY_VER=2.3 REDMINE_VER=3.3-stable
|
19
|
+
before_install:
|
20
|
+
- docker build -t ${TRAVIS_REPO_SLUG}:${RUBY_VER} --build-arg RUBY_VER=${RUBY_VER} --file=Dockerfile.travis .
|
21
|
+
script:
|
22
|
+
# - bundle exec rake test
|
23
|
+
- docker run -e REDMINE_VER=${REDMINE_VER} -e TRAVIS_BRANCH=${TRAVIS_BRANCH} -e TRAVIS_REPO_SLUG=${TRAVIS_REPO_SLUG} ${TRAVIS_REPO_SLUG}:${RUBY_VER}
|
6
24
|
notifications:
|
7
25
|
email:
|
8
26
|
recipients:
|
data/Dockerfile.travis
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
ARG RUBY_VER
|
2
|
+
ARG REDMINE_VER=master
|
3
|
+
ARG BRANCH=master
|
4
|
+
|
5
|
+
FROM ruby:${RUBY_VER}-stretch
|
6
|
+
|
7
|
+
ENV DEBIAN_FRONTEND=noninteractive
|
8
|
+
|
9
|
+
RUN apt update -y && \
|
10
|
+
apt upgrade -y && \
|
11
|
+
apt install -y libcurl4-openssl-dev libssl-dev curl git-core build-essential bison zlib1g-dev libssl-dev libxml2-dev libxml2-dev sqlite3 libsqlite3-dev autotools-dev libxslt1-dev libyaml-0-2 autoconf automake libreadline6-dev libyaml-dev libtool libicu-dev cmake tzdata && \
|
12
|
+
apt clean
|
13
|
+
RUN gem list | grep bundler || gem install bundler
|
14
|
+
ADD config/database.redmine.sqlite3.yml /database.yml
|
15
|
+
ADD scripts/run_travis_image.sh /
|
16
|
+
CMD /run_travis_image.sh
|
data/README.md
CHANGED
@@ -17,7 +17,7 @@ And then execute:
|
|
17
17
|
Or fetch and extract under Redmine's plugins directory.
|
18
18
|
|
19
19
|
```
|
20
|
-
$ cd /path/to/redmine/plugins && curl -L https://github.com/sho-h/redmine_audit/archive/v0.2.
|
20
|
+
$ cd /path/to/redmine/plugins && curl -L https://github.com/sho-h/redmine_audit/archive/v0.2.1.tar.gz | tar x
|
21
21
|
```
|
22
22
|
|
23
23
|
## Uninstallation
|
data/data/plugins.yml
CHANGED
@@ -544,7 +544,7 @@ redmine_gems:
|
|
544
544
|
:website: http://www.ultragreen.net/projects/redmine-gems
|
545
545
|
:repository: http://www.ultragreen.net/projects/redmine-gems/repository
|
546
546
|
gist:
|
547
|
-
:website:
|
547
|
+
:website: https://github.com/dergachev/redmine_gist
|
548
548
|
:repository: https://github.com/dergachev/redmine_gist
|
549
549
|
redmine_git_remote:
|
550
550
|
:website: https://github.com/dergachev/redmine_git_remote
|
data/init.rb
CHANGED
data/redmine_audit.gemspec
CHANGED
@@ -25,9 +25,9 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_runtime_dependency 'bundler-audit'
|
26
26
|
spec.add_runtime_dependency 'ruby_audit'
|
27
27
|
|
28
|
-
spec.add_development_dependency 'bundler'
|
29
|
-
spec.add_development_dependency 'rake'
|
28
|
+
spec.add_development_dependency 'bundler'
|
29
|
+
spec.add_development_dependency 'rake'
|
30
30
|
spec.add_development_dependency 'test-unit'
|
31
|
-
spec.add_development_dependency '
|
31
|
+
spec.add_development_dependency 'mocha'
|
32
32
|
spec.add_development_dependency 'travis'
|
33
33
|
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
|
3
|
+
echo "target redmine version: ${REDMINE_VER}"
|
4
|
+
echo "target plugin repository: ${TRAVIS_REPO_SLUG}"
|
5
|
+
echo "target plugin branch: ${TRAVIS_BRANCH}"
|
6
|
+
git clone --depth=1 --branch=${REDMINE_VER} https://github.com/redmine/redmine.git
|
7
|
+
cp /database.yml /redmine/config/
|
8
|
+
git clone --depth=1 --branch=${TRAVIS_BRANCH} https://github.com/${TRAVIS_REPO_SLUG}.git /redmine/plugins/redmine_audit
|
9
|
+
cd /redmine
|
10
|
+
bundle install --without rmagick
|
11
|
+
bundle exec rake db:migrate
|
12
|
+
bundle exec rake redmine:plugins:test
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redmine_audit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sho Hashimoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -56,30 +56,30 @@ dependencies:
|
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: test-unit
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,7 +95,7 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: mocha
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
@@ -131,6 +131,7 @@ extra_rdoc_files: []
|
|
131
131
|
files:
|
132
132
|
- ".gitignore"
|
133
133
|
- ".travis.yml"
|
134
|
+
- Dockerfile.travis
|
134
135
|
- LICENSE
|
135
136
|
- README.md
|
136
137
|
- Rakefile
|
@@ -146,6 +147,7 @@ files:
|
|
146
147
|
- app/views/mailer/unfixed_ruby_and_gems_advisories_found.text.erb
|
147
148
|
- bin/console
|
148
149
|
- bin/setup
|
150
|
+
- config/database.redmine.sqlite3.yml
|
149
151
|
- config/locales/en.yml
|
150
152
|
- config/locales/ja.yml
|
151
153
|
- config/routes.rb
|
@@ -162,6 +164,7 @@ files:
|
|
162
164
|
- lib/tasks/redmine_audit.rake
|
163
165
|
- redmine_audit.gemspec
|
164
166
|
- scripts/create_plugin_list
|
167
|
+
- scripts/run_travis_image.sh
|
165
168
|
homepage: https://github.com/sho-h/redmine_audit
|
166
169
|
licenses:
|
167
170
|
- MIT
|
@@ -181,8 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
184
|
- !ruby/object:Gem::Version
|
182
185
|
version: '0'
|
183
186
|
requirements: []
|
184
|
-
|
185
|
-
rubygems_version: 2.5.2.3
|
187
|
+
rubygems_version: 3.0.3
|
186
188
|
signing_key:
|
187
189
|
specification_version: 4
|
188
190
|
summary: Redmine plugin for checking Redmine's own vulnerabilities
|