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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bdddfda97f7ce4c7b87252fe855ee475709426aea97af3ec34e63a18058c223c
4
- data.tar.gz: 694ead145ae17211646dc394633a1e1ddaf601bd31faef6a7859e3ee5f5b7e83
3
+ metadata.gz: 8d68a6dcc9bfbc1ec5c7b7e513214205db353ae7129a6e77c0e93fc7b329d46f
4
+ data.tar.gz: dcd546db4fff2cd20ea6bd2a70dbc767360b493de54e303c5ce27923be0c900b
5
5
  SHA512:
6
- metadata.gz: 473165ce82370e7e47145a52873d16ea4285af9c19cf5c150edcb37dce5c3876c5c6bb453ea514a325ab4ca3480cee524cdf26af9dbeb66a5de0d9fed41637ea
7
- data.tar.gz: '00187c8dbeedd3eba48fb8932fddb6806719f1f6a763a4fdb5d96a2a493771d3c6853390abcaf3c5c76b91d98565e321cef0c70079bbee3dec0118b217334cf7'
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
@@ -6,8 +6,9 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ /vendor/bundle
9
10
 
10
11
  # rspec failure tracking
11
12
  .rspec_status
12
13
 
13
- .idea
14
+ .idea
@@ -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
+
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cinii (0.1.0)
4
+ cinii (0.1.1)
5
5
  faraday
6
6
  faraday_middleware
7
7
 
@@ -0,0 +1,7 @@
1
+ version: "3"
2
+ services:
3
+ app:
4
+ build: .
5
+ volumes:
6
+ - .:/cinii-ruby
7
+
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cinii
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
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.0
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-02-14 00:00:00.000000000 Z
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.2
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