wolf_core 0.1.3 → 0.1.4

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: dceb49a1281764db59dd599d20108199c79958fa2769f5066b37a310a8db68f5
4
- data.tar.gz: fc5b8f65ac28a4826ae40543ea721421643059170087d7df5e4deb01e7710522
3
+ metadata.gz: b630da917ad473715336622e1089d9f5fe560a31b21a8618e21e1f6ca79dcbb2
4
+ data.tar.gz: d51967508c290fcd7f7631405a1fdfc2abc7406b9fa52a35b48eef8c33d0316e
5
5
  SHA512:
6
- metadata.gz: 8f68454408553ceee2afc7f8c4daaee0d061a80557d3ae4e306eb7b47d73f63ec5182469098a7989ef86143de2a48be66e8924c233def9878504990e666f8ed8
7
- data.tar.gz: 652e3bf3de4cd2d9e42e564693d71f35fa63110f4f0c028d8a9dce92c1f30bc845dd2997bd1fb04ba77c1e1d5c012a5e26866d81010aeb20248cf69b347400ae
6
+ metadata.gz: f6eaf5bde62cca9d34f082bceedbfef952d35465b451c3e4f963b161ea1cd43cd1c8415a83a9f7484600601dc29dd31192f7d1d980301caa59cf33e102059f70
7
+ data.tar.gz: 44be0309aa988db4784fb10fe9c7632e94bcdb4a03e5148a847ae090d18c52adaf5f492f92a3a19ae14e2c5b758a7bf12f56083448e714d4aacbf0ced544f5d3
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
data/lib/wolf_core.rb CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  require 'ostruct'
4
4
  require 'httparty'
5
+ require 'active_support'
6
+ require 'active_support/core_ext'
5
7
 
6
8
  module WolfCore; end
7
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolf_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: activesupport
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  description: Repository to store shared code among Ruby projects.
28
42
  email:
29
43
  - jroncallo96@gmail.com
@@ -36,8 +50,6 @@ files:
36
50
  - lib/wolf_core/application/salesforce_oauth_service.rb
37
51
  - lib/wolf_core/application/service_exception.rb
38
52
  - lib/wolf_core/infrastructure/http_data_source.rb
39
- - lib/wolf_core/utils/hash_extension.rb
40
- - lib/wolf_core/utils/object_extension.rb
41
53
  - lib/wolf_core/utils/require_utils.rb
42
54
  - lib/wolf_core/utils/result.rb
43
55
  - lib/wolf_core/version.rb
@@ -1,26 +0,0 @@
1
- class Hash
2
- def with_indifferent_access
3
- hash = self.dup
4
- hash.extend IndifferentAccess
5
- hash
6
- end
7
-
8
- module IndifferentAccess
9
- def [](key)
10
- fetch(key.to_s) { fetch(key.to_sym) { nil } }
11
- end
12
-
13
- def fetch(key, *extras)
14
- super(key.to_s, *extras)
15
- rescue KeyError
16
- super(key.to_sym, *extras)
17
- end
18
-
19
- def has_key?(key)
20
- key?(key.to_s) || key?(key.to_sym)
21
- end
22
- alias_method :include?, :has_key?
23
- alias_method :key?, :has_key?
24
- alias_method :member?, :has_key?
25
- end
26
- end
@@ -1,9 +0,0 @@
1
- class Object
2
- def present?
3
- !blank?
4
- end
5
-
6
- def blank?
7
- nil? || (respond_to?(:empty?) && empty?)
8
- end
9
- end