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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e4ec23d31165ee79ba89fe729ffc6d64fb700d93
4
- data.tar.gz: 83540b0d446c5b35c9cf00d35c737fc874340a77
2
+ SHA256:
3
+ metadata.gz: 3ba7ef2cccad85e3250e0eac5c71f0c584aaf29d2774cb50d93daff3f4828344
4
+ data.tar.gz: 4c2d49d0096604498ab6a98e72b425f3697aaafd46c27f6729352ab5b84d762f
5
5
  SHA512:
6
- metadata.gz: 751a4ee63125f5c0e5481e391cc80ceba9a6ed5fbdb7592353f2d685dd4d7a2e9678d871082f5d8bbdec69db00cf33a43059bcf5b58b3dd22825018916d67e89
7
- data.tar.gz: 31f970d77fafdefdfb636c18024e9467996527956d154f62cca5b666cbc100b61b0f14afaf34f90b479499d5db46ec6480169cd5681089f685b08bd37891a6dc
6
+ metadata.gz: 141c142a4c53a892f9b09b392c76c07efea1175d0ee9d9d9cdd32d9f760780ee7066d87c4dd373725615e35c79f089dfabf8ad4e9785ce515bb4dcde1dd72fe7
7
+ data.tar.gz: f2a56dc41c85167153ca0c90935c932e1651e6727340355865afbaa19b8b26379e2d53b4c77fc3c4ebe60439e9100553c58d2f2e6c5cbad28589911801025b06
@@ -1,8 +1,26 @@
1
+ sudo: required
1
2
  language: ruby
2
- rvm:
3
- - 2.2
4
- - 2.3
5
- - 2.4
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:
@@ -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.0.tar.gz | tar x
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
@@ -0,0 +1,11 @@
1
+ production:
2
+ adapter: sqlite3
3
+ database: db/production.sqlite3
4
+
5
+ development:
6
+ adapter: sqlite3
7
+ database: db/development.sqlite3
8
+
9
+ test:
10
+ adapter: sqlite3
11
+ database: db/test.sqlite3
@@ -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: 'https://github.com/dergachev/redmine_gist '
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
@@ -6,4 +6,5 @@ Redmine::Plugin.register :redmine_audit do
6
6
  requires_redmine version_or_higher: '3.3.0'
7
7
  url 'https://github.com/sho-h/redmine_audit/'
8
8
  author_url 'https://github.com/sho-h/'
9
+ directory __dir__
9
10
  end
@@ -1,3 +1,3 @@
1
1
  module RedmineAudit
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
@@ -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', '~> 1.14'
29
- spec.add_development_dependency 'rake', '~> 10.0'
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 'test-unit-rr'
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.0
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: 2018-06-03 00:00:00.000000000 Z
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: '1.14'
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: '1.14'
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: '10.0'
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: '10.0'
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: test-unit-rr
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
- rubyforge_project:
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