cinii 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +18 -0
- data/.gitignore +2 -1
- data/Dockerfile +28 -0
- data/Gemfile.lock +1 -1
- data/docker-compose.yml +7 -0
- data/lib/cinii/client/base.rb +1 -1
- data/lib/cinii/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d68a6dcc9bfbc1ec5c7b7e513214205db353ae7129a6e77c0e93fc7b329d46f
|
4
|
+
data.tar.gz: dcd546db4fff2cd20ea6bd2a70dbc767360b493de54e303c5ce27923be0c900b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb3ac838e7ee2be38b34c2976b577d2a699d19e5788947c4e19024f000ff8298de7ef63465b658ba8d9dc5837db85090471787e73f0ba3b8260164612e660832
|
7
|
+
data.tar.gz: fc3fe5782edd3b15d29cd134f0aabb58f693ad867642e10944fc6b85e0e3f2b164f6446481f37a1fc61057d7e02c413608b214ebeaf8298df044a997e782dd92
|
@@ -0,0 +1,18 @@
|
|
1
|
+
version: 2
|
2
|
+
jobs:
|
3
|
+
build:
|
4
|
+
docker:
|
5
|
+
- image: circleci/ruby:2.6.1
|
6
|
+
steps:
|
7
|
+
- checkout
|
8
|
+
|
9
|
+
# Install dependencies for Ruby Gems
|
10
|
+
- run: gem install bundler
|
11
|
+
- run: bundle install --path vendor/bundle
|
12
|
+
|
13
|
+
# Store dependency caches for Ruby Gems
|
14
|
+
- type: cache-save
|
15
|
+
key: cinii-ruby-{{ checksum "Gemfile.lock" }}
|
16
|
+
paths:
|
17
|
+
- vendor/bundle
|
18
|
+
|
data/.gitignore
CHANGED
data/Dockerfile
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
FROM ruby:2.6.1-alpine
|
2
|
+
|
3
|
+
ENV LANG C.UTF-8
|
4
|
+
ENV ROOT_PATH /cinii-ruby
|
5
|
+
|
6
|
+
RUN mkdir $ROOT_PATH
|
7
|
+
WORKDIR $ROOT_PATH
|
8
|
+
COPY . $ROOT_PATH
|
9
|
+
|
10
|
+
RUN apk update && \
|
11
|
+
apk upgrade && \
|
12
|
+
apk add --update --no-cache --virtual=.build-dependencies \
|
13
|
+
build-base \
|
14
|
+
curl-dev \
|
15
|
+
linux-headers \
|
16
|
+
libxml2-dev \
|
17
|
+
libxslt-dev \
|
18
|
+
ruby-dev \
|
19
|
+
yaml-dev \
|
20
|
+
zlib-dev && \
|
21
|
+
apk add --update --no-cache \
|
22
|
+
bash \
|
23
|
+
git \
|
24
|
+
openssh \
|
25
|
+
yaml && \
|
26
|
+
bundle install -j4 && \
|
27
|
+
apk del .build-dependencies
|
28
|
+
|
data/Gemfile.lock
CHANGED
data/docker-compose.yml
ADDED
data/lib/cinii/client/base.rb
CHANGED
@@ -30,10 +30,10 @@ module Cinii
|
|
30
30
|
@cinii_connection ||= Faraday.new(faraday_options) do |con|
|
31
31
|
con.request :json
|
32
32
|
con.response :json
|
33
|
-
con.adapter Faraday.default_adapter
|
34
33
|
con.response :logger do | logger |
|
35
34
|
logger.filter(/(appid=)(\w+)/,'\1[REMOVED]')
|
36
35
|
end
|
36
|
+
con.adapter Faraday.default_adapter
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
data/lib/cinii/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cinii
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daisuke Nashiro
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -87,10 +87,12 @@ executables: []
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
+
- ".circleci/config.yml"
|
90
91
|
- ".gitignore"
|
91
92
|
- ".rspec"
|
92
93
|
- ".travis.yml"
|
93
94
|
- CODE_OF_CONDUCT.md
|
95
|
+
- Dockerfile
|
94
96
|
- Gemfile
|
95
97
|
- Gemfile.lock
|
96
98
|
- LICENSE.txt
|
@@ -99,6 +101,7 @@ files:
|
|
99
101
|
- bin/console
|
100
102
|
- bin/setup
|
101
103
|
- cinii.gemspec
|
104
|
+
- docker-compose.yml
|
102
105
|
- lib/cinii.rb
|
103
106
|
- lib/cinii/client.rb
|
104
107
|
- lib/cinii/client/article.rb
|
@@ -141,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
144
|
- !ruby/object:Gem::Version
|
142
145
|
version: '0'
|
143
146
|
requirements: []
|
144
|
-
rubygems_version: 3.0.
|
147
|
+
rubygems_version: 3.0.3
|
145
148
|
signing_key:
|
146
149
|
specification_version: 4
|
147
150
|
summary: Cinii API cilent library, Written in Ruby
|