faastruby-rpc 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 383470c554e6aa94b4735e03ed92d06d1b77cbc6dc47ed3c275e48b9d3674a3a
4
- data.tar.gz: 82348f64c96d71bd23e9d7b1da964ac393a46bbf91c75fe93410f9469192d037
3
+ metadata.gz: c9cceacf8c75054bfe42f5d7b900467f935813d05d055b58bee68fc8766dc3c6
4
+ data.tar.gz: 4f2963a3c9ddb8334da76e2be4cb523fd9d48f307611b0af77f0bf560c6f687e
5
5
  SHA512:
6
- metadata.gz: 444b6b1aaa348adb6cb575d9e9d1ca1bef07cd9a927812dc10b9f055b73cfe7d23c3678d3e7e6c36d7e4b2dd5caa5bb35fd0bb648c6d37bae7cad89b9a58aa78
7
- data.tar.gz: b95350721e8390ba5e6a1e6f900c3d6fa3f198efe909e3c08882eb66e848cf1eb84e4decff435da71304e56ee0c0681a4fe2521dd9c9307b73c2ff66c9235372
6
+ metadata.gz: 5b3475aa9e0b193692f7c732ecfdc0e7b6e92ed019ab1a4f4f8f15f86ca86bc86a2779ecbc56557a9091bbde5e6ccc4c3ab2daa057897585aa29f6c0dc922840
7
+ data.tar.gz: 0c60ec1747ccfc0fa7190579a1644ada76170118dcec2e9da612e8113e3cfda481487d2618b6151e21c6f43a9787e2152e411ea0cdf2fa19e2fa8ba816bb4ace
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.4 - Mar 14 2019
4
+ - Only capitalize first letter when creating constant to assign to fulction call
5
+
3
6
  ## 0.2.3 - Mar 11 2019
4
7
  - Add support for faastruby 0.5
5
8
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- faastruby-rpc (0.2.1)
4
+ faastruby-rpc (0.2.3)
5
5
  oj (~> 3.6)
6
6
 
7
7
  GEM
@@ -13,7 +13,7 @@ GEM
13
13
  safe_yaml (~> 1.0.0)
14
14
  diff-lcs (1.3)
15
15
  hashdiff (0.3.7)
16
- oj (3.7.6)
16
+ oj (3.7.9)
17
17
  public_suffix (3.0.3)
18
18
  rake (10.5.0)
19
19
  rspec (3.8.0)
data/lib/faastruby-rpc.rb CHANGED
@@ -21,7 +21,8 @@ def function(function, raise_errors: true)
21
21
  end
22
22
 
23
23
  def require_function(function, as:, raise_errors: true)
24
- Object.send(:remove_const, as.capitalize) if Object.const_defined?(as.capitalize)
25
- Object.const_set as.capitalize, FaaStRuby::RPC::Function.new(function, raise_errors: raise_errors)
24
+ as[0] = as[0].capitalize
25
+ Object.send(:remove_const, as) if Object.const_defined?(as)
26
+ Object.const_set as, FaaStRuby::RPC::Function.new(function, raise_errors: raise_errors)
26
27
  return false
27
28
  end
@@ -1,5 +1,5 @@
1
1
  module FaaStRuby
2
2
  module RPC
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faastruby-rpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo Arruda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-11 00:00:00.000000000 Z
11
+ date: 2019-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj