aranha-parsers 0.7.0 → 0.8.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3b16504277522c2b34639c2fc47ce7e0ff4eec2457b60aaaa7cd34e2e626f34
|
4
|
+
data.tar.gz: 63173d948c7ba9340b31874a59442e1f0c1d96d430cd0efef2f8295ed4e31fa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2b6d5e521759810fc9ede27725b5c347a294813483d935178a22e709459026ee5cee9f92c89b8cd533feb1fbcdb35744548b9da6c352147072711f8b61fecf1
|
7
|
+
data.tar.gz: c70c4460f3265e3d87138e2cf8bafd85cc4d6d9efdf9b2cf14d6f5225cf25b203cc79ff8f172f2151a99e38f0997f672b794083fb9d6ec6761068d5ae457d56f
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
|
5
|
+
module Aranha
|
6
|
+
module Parsers
|
7
|
+
module Rspec
|
8
|
+
class Setup
|
9
|
+
common_constructor :setup_obj
|
10
|
+
|
11
|
+
def perform
|
12
|
+
require 'aranha/parsers/rspec/source_target_fixtures_example'
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
File without changes
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'active_support/core_ext/module/delegation'
|
4
|
-
require 'eac_ruby_utils/
|
4
|
+
require 'eac_ruby_utils/core_ext'
|
5
5
|
require 'yaml'
|
6
6
|
|
7
7
|
module Aranha
|
8
8
|
module Parsers
|
9
9
|
class SourceAddress
|
10
|
-
|
10
|
+
require_sub __FILE__
|
11
11
|
|
12
12
|
class << self
|
13
13
|
SUBS = [
|
@@ -35,12 +35,8 @@ module Aranha
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
def initialize(source)
|
41
|
-
@sub = self.class.detect_sub(source)
|
42
|
-
end
|
43
|
-
|
38
|
+
enable_simple_cache
|
39
|
+
common_constructor :source
|
44
40
|
delegate :content, :url, to: :sub
|
45
41
|
|
46
42
|
def to_s
|
@@ -50,6 +46,12 @@ module Aranha
|
|
50
46
|
def serialize
|
51
47
|
sub.serialize.strip + "\n"
|
52
48
|
end
|
49
|
+
|
50
|
+
private
|
51
|
+
|
52
|
+
def sub_uncached
|
53
|
+
self.class.detect_sub(source)
|
54
|
+
end
|
53
55
|
end
|
54
56
|
end
|
55
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aranha-parsers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esquilo Azul Company
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -58,20 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0.
|
62
|
-
- - ">="
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: 0.33.1
|
61
|
+
version: '0.72'
|
65
62
|
type: :runtime
|
66
63
|
prerelease: false
|
67
64
|
version_requirements: !ruby/object:Gem::Requirement
|
68
65
|
requirements:
|
69
66
|
- - "~>"
|
70
67
|
- !ruby/object:Gem::Version
|
71
|
-
version: '0.
|
72
|
-
- - ">="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: 0.33.1
|
68
|
+
version: '0.72'
|
75
69
|
- !ruby/object:Gem::Dependency
|
76
70
|
name: httpclient
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,14 +106,20 @@ dependencies:
|
|
112
106
|
requirements:
|
113
107
|
- - "~>"
|
114
108
|
- !ruby/object:Gem::Version
|
115
|
-
version: '0.
|
109
|
+
version: '0.3'
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 0.3.1
|
116
113
|
type: :development
|
117
114
|
prerelease: false
|
118
115
|
version_requirements: !ruby/object:Gem::Requirement
|
119
116
|
requirements:
|
120
117
|
- - "~>"
|
121
118
|
- !ruby/object:Gem::Version
|
122
|
-
version: '0.
|
119
|
+
version: '0.3'
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 0.3.1
|
123
123
|
description:
|
124
124
|
email:
|
125
125
|
executables: []
|
@@ -139,13 +139,15 @@ files:
|
|
139
139
|
- lib/aranha/parsers/invalid_state_exception.rb
|
140
140
|
- lib/aranha/parsers/patches.rb
|
141
141
|
- lib/aranha/parsers/patches/ofx_parser.rb
|
142
|
+
- lib/aranha/parsers/rspec.rb
|
143
|
+
- lib/aranha/parsers/rspec/setup.rb
|
144
|
+
- lib/aranha/parsers/rspec/source_target_fixtures_example.rb
|
142
145
|
- lib/aranha/parsers/source_address.rb
|
143
146
|
- lib/aranha/parsers/source_address/file.rb
|
144
147
|
- lib/aranha/parsers/source_address/hash_http_get.rb
|
145
148
|
- lib/aranha/parsers/source_address/hash_http_post.rb
|
146
149
|
- lib/aranha/parsers/source_address/http_get.rb
|
147
150
|
- lib/aranha/parsers/source_target_fixtures.rb
|
148
|
-
- lib/aranha/parsers/spec/source_target_fixtures_example.rb
|
149
151
|
- lib/aranha/parsers/version.rb
|
150
152
|
homepage:
|
151
153
|
licenses: []
|
@@ -165,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
167
|
- !ruby/object:Gem::Version
|
166
168
|
version: '0'
|
167
169
|
requirements: []
|
168
|
-
rubygems_version: 3.
|
170
|
+
rubygems_version: 3.1.6
|
169
171
|
signing_key:
|
170
172
|
specification_version: 4
|
171
173
|
summary: Parsers' utilities for Ruby.
|