aranha-rails 0.9.0 → 0.9.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: df34de5939413cf8b0a8ac9a8185e06551953226a69ac9fafb08ed04b9ac8679
4
- data.tar.gz: 8494ebfc1b7038fb91e076f50607eeb4543f47d128401b66ffd85b332e8094ff
3
+ metadata.gz: 1fac4b4415a0b0c6b57e859f927db71d2f774614a079948ac20c0b6fffa98dfe
4
+ data.tar.gz: 53158ba946e3084892549d6c05129cc07a564d2d9297964e688438a0d6b85363
5
5
  SHA512:
6
- metadata.gz: 7a4cd710166a2d1ed26c3e10f6b60821cc59b04884e4348ed1065230dbe958f7e1fe6075230432336770a3e0e31b6408de9cb89e542a484d0e6a7f7509f688c2
7
- data.tar.gz: 02d01c2175b85069755f45a2c59e1043d7f49922d8a8dd0eaec687a34d1cb496e54d4b1363893029d404d8727bca2549c8f91ca4b5d68f917c5f3f24177433f1
6
+ metadata.gz: 3e9710b331f294a61fda19477d14f3f8da64b6402700defd075f1218ce6243207738eabcb3944d85a335481e8423ad244b50b584b7880c700a61ca15ce273434
7
+ data.tar.gz: 7b4d994930b0c115509a47eaaacb87df9f48d0ed0adf1b528674cda54355d108c8e7e804f108f0908723857fc17f4833573b4512f0df1d24caa1f368e35c624c
@@ -9,7 +9,7 @@ module Aranha
9
9
  common_constructor :address_id
10
10
 
11
11
  def perform
12
- ::Rails.logger.info("Processing \"#{address.url}\"")
12
+ ::Rails.logger.info("Processing \"#{address}\"")
13
13
  address_processor.successful? ? perform_on_success : perform_on_error
14
14
  end
15
15
 
@@ -9,7 +9,7 @@ module Aranha
9
9
  include ::Singleton
10
10
 
11
11
  def add_address(url, processor, extra_data = nil)
12
- ::Rails.logger.info("Adding \"#{url}\"")
12
+ ::Rails.logger.info("Adding \"#{url} | #{processor} | #{extra_data}\"")
13
13
  a = ::Aranha::Address.find_or_initialize_by(url: ::Aranha::Address.sanitize_url(url))
14
14
  a.processor = processor
15
15
  a.extra_data = extra_data.to_yaml
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Aranha
4
4
  module Rails
5
- VERSION = '0.9.0'
5
+ VERSION = '0.9.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aranha-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Put here the authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-03 00:00:00.000000000 Z
11
+ date: 2023-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha
@@ -50,14 +50,20 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '0.3'
53
+ version: '0.5'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.5.1
54
57
  type: :runtime
55
58
  prerelease: false
56
59
  version_requirements: !ruby/object:Gem::Requirement
57
60
  requirements:
58
61
  - - "~>"
59
62
  - !ruby/object:Gem::Version
60
- version: '0.3'
63
+ version: '0.5'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 0.5.1
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: eac_rails_delayed_job
63
69
  requirement: !ruby/object:Gem::Requirement
@@ -84,14 +90,14 @@ dependencies:
84
90
  requirements:
85
91
  - - "~>"
86
92
  - !ruby/object:Gem::Version
87
- version: '0.18'
93
+ version: '0.19'
88
94
  type: :runtime
89
95
  prerelease: false
90
96
  version_requirements: !ruby/object:Gem::Requirement
91
97
  requirements:
92
98
  - - "~>"
93
99
  - !ruby/object:Gem::Version
94
- version: '0.18'
100
+ version: '0.19'
95
101
  - !ruby/object:Gem::Dependency
96
102
  name: eac_ruby_utils
97
103
  requirement: !ruby/object:Gem::Requirement