garoon-cat 0.1.0 → 0.2.0

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
  SHA1:
3
- metadata.gz: 2107a2da18d258d280b764c658b1a3e05f6c16cc
4
- data.tar.gz: 26c13124c552e9868c18184470a0e802b7c756e4
3
+ metadata.gz: 6c2ebffc92fa882638d47f19b8dec44a11f8dce6
4
+ data.tar.gz: 1b6c6fcd48d17793b5f7582628552b09c473abf0
5
5
  SHA512:
6
- metadata.gz: bebe9d97523b032a8628a4ba8b82021baea717f85d3bbc44336967fa2d30451841b027455ed5bd790e23069386d6de4c03111684978f7cdb0b78bdd388c237a8
7
- data.tar.gz: 9a192a7626fffa710902532307fb8746801014aa48afa485872d13d6ddef2f1274dcd8f3c84749a3c794d1c6ade49c058a41cd140dcc00da79841fd0fecd27ce
6
+ metadata.gz: 92ad05cd7e9706e6afbc28c0a11309eb5c4085c5a1a32793d82319d89891ab380e7eace376ffb68214a1e87723ef3221bfbdbb336ebd4cb5020d394ec301f9ee
7
+ data.tar.gz: 63818d54b6c6238678436ab89f87f03fb333c2d25e097a28f28e0671aa606896bbed871fa80fae66dfe26631f519d01a093ca7c092b8fabd8cc7f34fe5f814cc
data/README.md CHANGED
@@ -1,9 +1,17 @@
1
1
  # Garoon Cat: A ruby interface to the Garoon API
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/garoon-cat.svg)](https://badge.fury.io/rb/garoon-cat)
4
+
3
5
  ## Usage
4
6
 
5
7
  Add this line to your application's Gemfile:
6
8
 
9
+ ```ruby
10
+ gem 'garoon-cat'
11
+ ```
12
+
13
+ or
14
+
7
15
  ```ruby
8
16
  gem 'garoon-cat', git:'https://github.com/mh61503891/garoon-cat.git'
9
17
  ```
@@ -40,7 +48,7 @@ garoon.service(:util).login({
40
48
  password: ENV['PASSWORD']
41
49
  })
42
50
  garoon.service(:base).get_user_versions()
43
- garoon.service(:util).logout
51
+ garoon.service(:util).logout()
44
52
  ```
45
53
 
46
54
  Example code 3: Dump information of organizations and users
@@ -91,7 +99,7 @@ Gemfile
91
99
  dump.rb
92
100
 
93
101
  $ cat Gemfile
94
- gem 'garoon-cat', git:'https://github.com/mh61503891/garoon-cat.git'
102
+ gem 'garoon-cat'
95
103
 
96
104
  $ bundle install
97
105
  Using concurrent-ruby 1.0.4
@@ -107,11 +115,11 @@ Using unf 0.1.4
107
115
  Using activesupport 5.0.1
108
116
  Using domain_name 0.5.20161129
109
117
  Using http-cookie 1.0.3
110
- Using garoon-cat 0.1.0 from https://github.com/mh61503891/garoon-cat.git (at master@5140f80)
118
+ Using garoon-cat 0.1.0
111
119
  Bundle complete! 1 Gemfile dependency, 14 gems now installed.
112
120
  Use `bundle show [gemname]` to see where a bundled gem is installed.
113
121
 
114
- URI=https://example.net/cgi-bin/cbgrn/grn.cgi USERNAME=username PASSWORD=password bundle exec ruby dump.rb
122
+ $ URI=https://example.net/cgi-bin/cbgrn/grn.cgi?WSDL USERNAME=username PASSWORD=password bundle exec ruby dump.rb
115
123
  ```
116
124
 
117
125
  Result:
@@ -135,7 +143,7 @@ $ cat orgs.json | head
135
143
  ### Test
136
144
 
137
145
  ```bash
138
- export URI=https://example.net/cgi-bin/cbgrn/grn.cgi
146
+ export URI=https://example.net/cgi-bin/cbgrn/grn.cgi?WSDL
139
147
  export USERNAME=username
140
148
  export PASSWORD=password
141
149
  ```
@@ -21,9 +21,11 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ['lib']
23
23
 
24
+ spec.required_ruby_version = '>= 2.3'
25
+
24
26
  spec.add_dependency 'httpclient'
25
27
  spec.add_dependency 'http-cookie'
26
- spec.add_dependency 'activesupport'
28
+ spec.add_dependency 'activesupport', '~> 4.2'
27
29
  spec.add_dependency 'xml-simple'
28
30
  spec.add_development_dependency 'bundler', '~> 1.13'
29
31
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -1,3 +1,3 @@
1
1
  class GaroonCat
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garoon-cat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masayuki Higashino
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-17 00:00:00.000000000 Z
11
+ date: 2017-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: activesupport
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '4.2'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '4.2'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: xml-simple
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -274,7 +274,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
274
274
  requirements:
275
275
  - - ">="
276
276
  - !ruby/object:Gem::Version
277
- version: '0'
277
+ version: '2.3'
278
278
  required_rubygems_version: !ruby/object:Gem::Requirement
279
279
  requirements:
280
280
  - - ">="
@@ -282,7 +282,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
282
282
  version: '0'
283
283
  requirements: []
284
284
  rubyforge_project:
285
- rubygems_version: 2.5.2
285
+ rubygems_version: 2.6.8
286
286
  signing_key:
287
287
  specification_version: 4
288
288
  summary: 'Garoon Cat: A Ruby interface to the Garoon API.'