toccatore 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +1 -4
- data/Gemfile.lock +1 -1
- data/lib/toccatore/cli.rb +1 -1
- data/lib/toccatore/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e7931b75f90480bee150e384015029bc44be931
|
4
|
+
data.tar.gz: ffe547fabf8b4c36fd1d068ecebd0766f548aaad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 431d584e25fdd1c19264e7921021b39074f9f7246a340d675cdc03a9775d6f545d7c5a200329c4c3b6bca80109c55179700eee4a6897d210ec5650454ea376ab
|
7
|
+
data.tar.gz: 5d1b0a4c482c39db469b798d1321a605eec53befebe2debdb9fda0c3fd61c3cabe4068ff3fff53194c15fe3db22358e1452a4e14273583fdca8b830bd10c0992
|
data/Dockerfile
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
FROM phusion/passenger-full:0.9.19
|
2
2
|
MAINTAINER Martin Fenner "mfenner@datacite.org"
|
3
3
|
|
4
|
-
ENV ACCESS_TOKEN=1
|
5
4
|
ENV PATH="/usr/local/rvm/gems/ruby-2.3.1/bin:${PATH}"
|
6
5
|
|
7
6
|
# Update installed APT packages, clean up APT when done.
|
@@ -11,6 +10,4 @@ RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold" &&
|
|
11
10
|
# Install toccatore gem
|
12
11
|
RUN /sbin/setuser app gem install toccatore
|
13
12
|
|
14
|
-
|
15
|
-
# CMD ["/sbin/my_init"]
|
16
|
-
CMD ["toccatore", "orcid_update"]
|
13
|
+
CMD toccatore orcid_update --push_url $VOLPINO_URL --access_token $VOLPINO_TOKEN --from_date $FROM_DATE --until_date $UNTIL_DATE
|
data/Gemfile.lock
CHANGED
data/lib/toccatore/cli.rb
CHANGED
@@ -19,9 +19,9 @@ module Toccatore
|
|
19
19
|
|
20
20
|
desc "orcid_update", "push ORCID IDs from DataCite MDS to ORCID"
|
21
21
|
method_option :access_token, type: :string, required: true
|
22
|
+
method_option :push_url, type: :string
|
22
23
|
method_option :from_date, type: :string, default: (Time.now.to_date - 1.day).iso8601
|
23
24
|
method_option :until_date, type: :string, default: Time.now.to_date.iso8601
|
24
|
-
method_option :push_url, type: :string
|
25
25
|
def orcid_update
|
26
26
|
orcid_update = Toccatore::OrcidUpdate.new
|
27
27
|
|
data/lib/toccatore/version.rb
CHANGED