action_service 2.0.0 → 2.1.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
  SHA256:
3
- metadata.gz: b1380fb36f26ce37de08cac1a1234a2ba69526a93e8481975bc342f89ffef03d
4
- data.tar.gz: 0b060a1922cf2994daa803e881180b2c7c6a55a03100c5c28599a98b16784e51
3
+ metadata.gz: 4f09311e78c7bdc7b65a8720be9311b43db5ebf00be2712a8513a3e9bb603a18
4
+ data.tar.gz: f6d92477c56904c9a5a174bbcd75fa0636d7b28217003ff690fc2b1bc3846148
5
5
  SHA512:
6
- metadata.gz: 961f51fd421624c0d486c7da5f4a73e65c38fc6b99daaf9abf8f5dfb52f15e51ac15ec70e5e95e61f4ac2fcfabe19fa7c409fcae71eb9a5bfa2ad19b09eb3a8d
7
- data.tar.gz: e1f3e3399f218967483bc612edbe059cbe87d22979cb290f3fa6304d9f9677fe4e4da584c2380725892c006d54d15c9fa39c8246e6d99420b5dd2fc4db5e3932
6
+ metadata.gz: ab96ebc189fc37d1d1b25c793416e58da44398a54987aa84f46a634d87b50f8b252d3b5c6c7de159820ece10d7a081c666abea624444ec992c3fc7958bfd7857
7
+ data.tar.gz: ed18fa0b6a1b315faf21dc92cd5c2cdddde1daa6659b4386c17eb2a5a81abde9d6a7c1be51c065ce5de6a2c63fab7985439c81a81b89ad20410103c73b74a6c6
data/README.md CHANGED
@@ -118,6 +118,9 @@ class Cache::List::AddHashService < ApplicationService
118
118
  end
119
119
  ```
120
120
 
121
+ ## Troubleshooting
122
+ In case your Rails app can't access the services directory and showing an error like `uninitialized constant ServiceName` you can solve it by adding `app/services` to `config/spring.rb`
123
+
121
124
  ## Contributing
122
125
  Bug reports and pull requests are welcome on GitHub at [https://github.com/abdofawzi5/action_service](https://github.com/abdofawzi5/action_service). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
123
126
 
@@ -25,7 +25,7 @@ module ActionService
25
25
 
26
26
  def add_errors(*error_messages)
27
27
  @success = false
28
- error_messages = error_messages[0] if error_messages[0].is_a?
28
+ error_messages = error_messages[0] if error_messages[0].is_a? Array
29
29
  @errors += error_messages
30
30
  end
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module ActionService
2
- VERSION = '2.0.0'
2
+ VERSION = '2.1.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdo Fawzi