brreg_grunndata 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +4 -0
- data/bin/rspec +29 -0
- data/brreg_grunndata.gemspec +4 -3
- data/lib/brreg_grunndata/configuration.rb +1 -1
- data/lib/brreg_grunndata/version.rb +1 -1
- data/lib/brreg_grunndata/wsdl/grunndata.xml +5 -4
- metadata +30 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '004379349567d6db57433ff39d7036b46d2fc0d0ef3a72437e271c5e80127fe9'
|
4
|
+
data.tar.gz: 7d9b7583c05d9b2565f92ca1b2d3468ba5f1fb8e68ee8111d0f6f494297af064
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 157072d6f52f487e317578b3625fa994e96d1d4cef5673a2d829eb45631ca2af788f5093f2a3a61880ada78e6b390efea6f48e5a282e64d0ac187180188d3c92
|
7
|
+
data.tar.gz: 8350b039df8337badeaf6c46896d376f218fb3eef22fb26e82b3011e61385d9d0ce1f0c43bfd08f030e466c822fb50d8b49718d630c1205e6d3007124738136d
|
data/CHANGELOG.md
CHANGED
data/bin/rspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'rspec' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
require "pathname"
|
12
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
+
Pathname.new(__FILE__).realpath)
|
14
|
+
|
15
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
16
|
+
|
17
|
+
if File.file?(bundle_binstub)
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
19
|
+
load(bundle_binstub)
|
20
|
+
else
|
21
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
22
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
require "rubygems"
|
27
|
+
require "bundler/setup"
|
28
|
+
|
29
|
+
load Gem.bin_path("rspec-core", "rspec")
|
data/brreg_grunndata.gemspec
CHANGED
@@ -24,12 +24,13 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
25
|
spec.require_paths = ['lib']
|
26
26
|
|
27
|
-
spec.add_dependency 'savon', '
|
27
|
+
spec.add_dependency 'savon', '>= 2.11.1', '< 2.13.0'
|
28
28
|
spec.add_dependency 'dry-struct', '~> 0.1.1'
|
29
|
+
spec.add_dependency 'dry-types', '~> 0.10.3'
|
29
30
|
|
30
31
|
spec.add_development_dependency 'bundler', '~> 1.13'
|
31
|
-
spec.add_development_dependency 'rake', '~>
|
32
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
32
33
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
33
|
-
spec.add_development_dependency 'webmock', '~>
|
34
|
+
spec.add_development_dependency 'webmock', '~> 3.7.0'
|
34
35
|
spec.add_development_dependency 'pry'
|
35
36
|
end
|
@@ -4,7 +4,7 @@ module BrregGrunndata
|
|
4
4
|
# Contains configuration for the web service client
|
5
5
|
class Configuration
|
6
6
|
# WSDL is located at this URL
|
7
|
-
WSDL_URL = 'https://
|
7
|
+
WSDL_URL = 'https://grunndata.brreg.no/grunndata/ErFr.wsdl'
|
8
8
|
|
9
9
|
# We have a saved WSDL at this location on disk
|
10
10
|
WSDL_PATH = "#{__dir__}/wsdl/grunndata.xml"
|
@@ -1,6 +1,7 @@
|
|
1
|
-
<?xml version=
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<WL5G3N0:definitions xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://no/brreg/saksys/grunndata/ws" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="" name="ErFrServiceDefinitions" targetNamespace="http://no/brreg/saksys/grunndata/ws">
|
2
3
|
<WL5G3N0:types>
|
3
|
-
<xs:schema xmlns:
|
4
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://no/brreg/saksys/grunndata/ws">
|
4
5
|
<xs:element name="hentRollerFdato">
|
5
6
|
<xs:complexType>
|
6
7
|
<xs:sequence>
|
@@ -569,7 +570,7 @@
|
|
569
570
|
</WL5G3N0:binding>
|
570
571
|
<WL5G3N0:service name="ErFrService">
|
571
572
|
<WL5G3N0:port binding="WL5G3N1:ErFrServiceSoapBinding" name="ErFrSoapPort">
|
572
|
-
<WL5G3N2:address location="https://
|
573
|
+
<WL5G3N2:address location="https://grunndata.brreg.no:443/grunndata/ErFr"/>
|
573
574
|
</WL5G3N0:port>
|
574
575
|
</WL5G3N0:service>
|
575
|
-
</WL5G3N0:definitions>
|
576
|
+
</WL5G3N0:definitions>
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brreg_grunndata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thorbjørn Hermansen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: savon
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 2.11.1
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.13.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 2.11.1
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.13.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: dry-struct
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +44,20 @@ dependencies:
|
|
38
44
|
- - "~>"
|
39
45
|
- !ruby/object:Gem::Version
|
40
46
|
version: 0.1.1
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: dry-types
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.10.3
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.10.3
|
41
61
|
- !ruby/object:Gem::Dependency
|
42
62
|
name: bundler
|
43
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +78,14 @@ dependencies:
|
|
58
78
|
requirements:
|
59
79
|
- - "~>"
|
60
80
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
81
|
+
version: '13.0'
|
62
82
|
type: :development
|
63
83
|
prerelease: false
|
64
84
|
version_requirements: !ruby/object:Gem::Requirement
|
65
85
|
requirements:
|
66
86
|
- - "~>"
|
67
87
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
88
|
+
version: '13.0'
|
69
89
|
- !ruby/object:Gem::Dependency
|
70
90
|
name: rspec
|
71
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +106,14 @@ dependencies:
|
|
86
106
|
requirements:
|
87
107
|
- - "~>"
|
88
108
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
109
|
+
version: 3.7.0
|
90
110
|
type: :development
|
91
111
|
prerelease: false
|
92
112
|
version_requirements: !ruby/object:Gem::Requirement
|
93
113
|
requirements:
|
94
114
|
- - "~>"
|
95
115
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
116
|
+
version: 3.7.0
|
97
117
|
- !ruby/object:Gem::Dependency
|
98
118
|
name: pry
|
99
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -127,6 +147,7 @@ files:
|
|
127
147
|
- README.md
|
128
148
|
- Rakefile
|
129
149
|
- bin/console
|
150
|
+
- bin/rspec
|
130
151
|
- bin/setup
|
131
152
|
- brreg_grunndata.gemspec
|
132
153
|
- codeship-services.yml
|
@@ -169,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
190
|
version: '0'
|
170
191
|
requirements: []
|
171
192
|
rubyforge_project:
|
172
|
-
rubygems_version: 2.6.
|
193
|
+
rubygems_version: 2.7.6.2
|
173
194
|
signing_key:
|
174
195
|
specification_version: 4
|
175
196
|
summary: Access BRREG's grunndata
|