soa 1.0.0 → 2.0.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: ffacb34e53562c873c007709b598e657b61b4a496de67275e710eaad794bcc3e
4
- data.tar.gz: a06e86233a87f78175a05725edb444dee9cff6d99f72b95a5d280d91f0ab70ce
3
+ metadata.gz: 3faf94fb12cd24e83311714817660bec0203de87eb43fd22edf6ce18b96a2129
4
+ data.tar.gz: 2e37a6c464bbfa2d3bceabccad4a4cf503dcc22d65163e944a91e78118115165
5
5
  SHA512:
6
- metadata.gz: f1c64c554ff114962f0bb32af99f02e4b8815752b0d5465ba4f25f84e314413e39f62674724bb4fe6e07d1c6377c52f0c93cac857e48362c668fd014147cf22a
7
- data.tar.gz: e38c3c9a7f7047b3b7e1317a8dd3f4e2541edc8989b4d29c63460fd77f6e2ad4458f1b55ac31d8f0126bcd875ac85e62cfb8f09ba857fa4065292a7c4fa6062a
6
+ metadata.gz: c35e78eb711be8829b1c9c59ac47c7c4bc5317a46123e1a1b863a7b764dc103d543d215203bc0f3fc6f6695a062da8ce9ad62a906a25a38d82d501e3b97a3eec
7
+ data.tar.gz: cb7a6ea5f2393d192fa0677746808bb0c8affb1bcea55b156dd3e0cd718ad192a9bf7d46bee3bb5e86b84f1cc59ca8bc3adef20690ce035f1d25345a1d9fb756
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- soa (1.0.0)
4
+ soa (2.0.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -7,16 +7,16 @@ called Twitter dot com:
7
7
 
8
8
  > Microservices are great for turning method calls in to distributed computing
9
9
  > problems
10
- - [Aaron Patterson](https://twitter.com/tenderlove) on [Aug. 9,
10
+ > - [Aaron Patterson](https://twitter.com/tenderlove) on [Aug. 9,
11
11
  2018](https://twitter.com/tenderlove/status/1027591532847816704)
12
12
 
13
- I've helped teams maintain old, slow, and confusing monolithic applications and
14
- it's taught me one thing: monolithic codebases become more complex over
15
- time. As a result, many companies have decided to build non-monolithic
13
+ I've helped many teams maintain old, slow, & confusing monolithic applications
14
+ and it's taught me one thing: **monolithic codebases become more complex over
15
+ time**. As a result, many companies have decided to build non-monolithic
16
16
  applications instead (these are called "services"; the better, more modern ones
17
- are called "microservices"). Applications built with services are initially
18
- much more difficult to create and operate, but they also tend to die sooner,
19
- which is the best known way to reduce code complexity.
17
+ are called "microservices"). Applications built with services are initially much
18
+ more difficult to create and operate, but they also tend to die sooner, which is
19
+ the best known way to reduce code complexity.
20
20
 
21
21
  But how do you write services and microservices in a monolithic language like
22
22
  Ruby? Up until now, writing services required JavaScript and AWS Lambda. But
@@ -27,11 +27,12 @@ The SOA gem is a drop-in replacement for Ruby's built-in method dispatch system.
27
27
  You can continue to call legacy methods like you always have alongside new
28
28
  service invocations registered with the SOA gem. It's the perfect companion for
29
29
  teams looking to make a more gradual transition to a services architecture
30
- without rewriting their entire years-old system in JavaScript and AWS Lambda.
30
+ without rewriting their entire decades-old application in JavaScript and AWS
31
+ Lambda.
31
32
 
32
33
  ## Installation
33
34
 
34
- To install SOA, we use the command line command `gem` which communicates with
35
+ To install SOA, we use the command line program `gem` which communicates with
35
36
  the RubyGems.org microservice to download the necessary files:
36
37
 
37
38
  ```
@@ -49,7 +50,7 @@ require "soa"
49
50
  with JRuby, you'll need to wait for the release of a SOAP gem.]
50
51
 
51
52
  Once required, the SOA gem will prepare your Ruby runtime to run services and
52
- yes microservices instead using our easy-to-use DSL.
53
+ microservices instead using our easy-to-use DSL.
53
54
 
54
55
  ## Usage
55
56
 
data/lib/soa.rb CHANGED
@@ -41,10 +41,10 @@ end
41
41
 
42
42
  module Kernel
43
43
  def service(route, &blk)
44
- Soa.register(route, blk)
44
+ SOA.register(route, blk)
45
45
  end
46
46
 
47
47
  def call_service(url, *args)
48
- Soa.invoke(url, *args)
48
+ SOA.invoke(url, *args)
49
49
  end
50
50
  end
@@ -1,3 +1,3 @@
1
1
  class SOA
2
- VERSION = "1.0.0"
2
+ VERSION = "2.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls