souls 0.7.2 → 0.7.3

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: 7edac3edfc81e8b26dcb983906fe05a793a7fcc54b948acc7ac563ee9de28656
4
- data.tar.gz: 06cc251724f61df779e368b3603c31b2c4a1ca17db9dcfa97719748624d1c2c3
3
+ metadata.gz: '08a1ab75d267de552b5a5fb5e0b6e9ad35a61aeed0ff2167132bc19fdd7831b3'
4
+ data.tar.gz: 9d4f4ae3d1b9f4b3814eb469a2652ae86493cd3bc430fc02cc0ba48d62f07f3c
5
5
  SHA512:
6
- metadata.gz: 8fbd9e534dd1974480c67f15e88477e646f5436b1a859af2b7f268295fc237c7870166508352086789f57cbdc7dc37c2a2d2deb1faecd3bbca91d7e1f798c9ce
7
- data.tar.gz: 1a52eb714f8360e1acf44ad228e9f33aeb875023fb3845ab912ca746bca9243680e1252578cd2aa5f616fb3e75f80223964b41b496dab3ab99ce7a197748a88c
6
+ metadata.gz: bcf2e667107e76569b1a4039b594fc03728add902700b2a097fd558c99a665c7184355c779d645dbe095601bfcea4ad2d2bd3f9875af696335ae44fab4017443
7
+ data.tar.gz: 9ff355f1fb46dfe32bb75340f6a996d6edba6da88178471bf35a7c6305b9819efff7539a3d574c23efb25c17966c10c19d7fb81a2c75aced162c37f1e0208a35
data/Gemfile CHANGED
@@ -3,6 +3,5 @@ source "https://rubygems.org"
3
3
  # Specify your gem's dependencies in souls.gemspec
4
4
  gemspec
5
5
 
6
- gem "mechanize", "2.7.6"
7
- gem "rake", "~> 12.0"
8
- gem "rspec", "~> 3.0"
6
+ gem "rake", "13.0.3"
7
+ gem "rspec", "3.1.0"
@@ -1,122 +1,33 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- SOULs (0.6.5)
5
- google-cloud-firestore (= 2.4.0)
6
- mechanize (= 2.7.6)
4
+ souls (0.7.3)
7
5
 
8
6
  GEM
9
7
  remote: https://rubygems.org/
10
8
  specs:
11
- addressable (2.7.0)
12
- public_suffix (>= 2.0.2, < 5.0)
13
- concurrent-ruby (1.1.7)
14
- connection_pool (2.2.3)
15
9
  diff-lcs (1.4.4)
16
- domain_name (0.5.20190701)
17
- unf (>= 0.0.5, < 1.0.0)
18
- faraday (1.1.0)
19
- multipart-post (>= 1.2, < 3)
20
- ruby2_keywords
21
- gapic-common (0.3.4)
22
- google-protobuf (~> 3.12, >= 3.12.2)
23
- googleapis-common-protos (>= 1.3.9, < 2.0)
24
- googleapis-common-protos-types (>= 1.0.4, < 2.0)
25
- googleauth (~> 0.9)
26
- grpc (~> 1.25)
27
- google-cloud-core (1.5.0)
28
- google-cloud-env (~> 1.0)
29
- google-cloud-errors (~> 1.0)
30
- google-cloud-env (1.4.0)
31
- faraday (>= 0.17.3, < 2.0)
32
- google-cloud-errors (1.0.1)
33
- google-cloud-firestore (2.4.0)
34
- concurrent-ruby (~> 1.0)
35
- google-cloud-core (~> 1.5)
36
- google-cloud-firestore-v1 (~> 0.0)
37
- rbtree (~> 0.4.2)
38
- google-cloud-firestore-v1 (0.2.2)
39
- gapic-common (~> 0.3)
40
- google-cloud-errors (~> 1.0)
41
- google-protobuf (3.14.0)
42
- googleapis-common-protos (1.3.10)
43
- google-protobuf (~> 3.11)
44
- googleapis-common-protos-types (>= 1.0.5, < 2.0)
45
- grpc (~> 1.27)
46
- googleapis-common-protos-types (1.0.5)
47
- google-protobuf (~> 3.11)
48
- googleauth (0.14.0)
49
- faraday (>= 0.17.3, < 2.0)
50
- jwt (>= 1.4, < 3.0)
51
- memoist (~> 0.16)
52
- multi_json (~> 1.11)
53
- os (>= 0.9, < 2.0)
54
- signet (~> 0.14)
55
- grpc (1.32.0)
56
- google-protobuf (~> 3.13)
57
- googleapis-common-protos-types (~> 1.0)
58
- http-cookie (1.0.3)
59
- domain_name (~> 0.5)
60
- jwt (2.2.2)
61
- mechanize (2.7.6)
62
- domain_name (~> 0.5, >= 0.5.1)
63
- http-cookie (~> 1.0)
64
- mime-types (>= 1.17.2)
65
- net-http-digest_auth (~> 1.1, >= 1.1.1)
66
- net-http-persistent (>= 2.5.2)
67
- nokogiri (~> 1.6)
68
- ntlm-http (~> 0.1, >= 0.1.1)
69
- webrobots (>= 0.0.9, < 0.2)
70
- memoist (0.16.2)
71
- mime-types (3.3.1)
72
- mime-types-data (~> 3.2015)
73
- mime-types-data (3.2020.1104)
74
- mini_portile2 (2.4.0)
75
- multi_json (1.15.0)
76
- multipart-post (2.1.1)
77
- net-http-digest_auth (1.4.1)
78
- net-http-persistent (4.0.0)
79
- connection_pool (~> 2.2)
80
- nokogiri (1.10.10)
81
- mini_portile2 (~> 2.4.0)
82
- ntlm-http (0.1.1)
83
- os (1.1.1)
84
- public_suffix (4.0.6)
85
- rake (12.3.3)
86
- rbtree (0.4.2)
87
- rspec (3.9.0)
88
- rspec-core (~> 3.9.0)
89
- rspec-expectations (~> 3.9.0)
90
- rspec-mocks (~> 3.9.0)
91
- rspec-core (3.9.3)
92
- rspec-support (~> 3.9.3)
93
- rspec-expectations (3.9.2)
10
+ rake (13.0.3)
11
+ rspec (3.1.0)
12
+ rspec-core (~> 3.1.0)
13
+ rspec-expectations (~> 3.1.0)
14
+ rspec-mocks (~> 3.1.0)
15
+ rspec-core (3.1.7)
16
+ rspec-support (~> 3.1.0)
17
+ rspec-expectations (3.1.2)
94
18
  diff-lcs (>= 1.2.0, < 2.0)
95
- rspec-support (~> 3.9.0)
96
- rspec-mocks (3.9.1)
97
- diff-lcs (>= 1.2.0, < 2.0)
98
- rspec-support (~> 3.9.0)
99
- rspec-support (3.9.3)
100
- ruby2_keywords (0.0.2)
101
- signet (0.14.0)
102
- addressable (~> 2.3)
103
- faraday (>= 0.17.3, < 2.0)
104
- jwt (>= 1.5, < 3.0)
105
- multi_json (~> 1.10)
106
- unf (0.1.4)
107
- unf_ext
108
- unf_ext (0.0.7.7)
109
- webrobots (0.1.2)
19
+ rspec-support (~> 3.1.0)
20
+ rspec-mocks (3.1.3)
21
+ rspec-support (~> 3.1.0)
22
+ rspec-support (3.1.2)
110
23
 
111
24
  PLATFORMS
112
25
  ruby
113
26
 
114
27
  DEPENDENCIES
115
- SOULs!
116
- google-cloud-firestore (= 2.4.0)
117
- mechanize (= 2.7.6)
118
- rake (~> 12.0)
119
- rspec (~> 3.0)
28
+ rake (= 13.0.3)
29
+ rspec (= 3.1.0)
30
+ souls!
120
31
 
121
32
  BUNDLED WITH
122
33
  2.1.4
@@ -1,6 +1,5 @@
1
1
  require "souls/version"
2
2
  require "souls/init"
3
- require "google/cloud/firestore"
4
3
 
5
4
  module Souls
6
5
  class Error < StandardError; end
@@ -1,5 +1,3 @@
1
- require "mechanize"
2
-
3
1
  module Souls
4
2
  STRAINS = ["service", "api", "graph", "media", "admin"]
5
3
  module Init
@@ -73,9 +71,10 @@ module Souls
73
71
  end
74
72
 
75
73
  def get_version repository_name: "souls_service"
76
- agent = Mechanize.new
77
- page = agent.get("https://github.com/elsoul/#{repository_name}/releases")
78
- page.search("span.css-truncate-target")[0].to_s.scan(/^*+>(.+)</)[0][0].to_s
74
+ data = JSON.parse `curl \
75
+ -H "Accept: application/vnd.github.v3+json" \
76
+ -s https://api.github.com/repos/elsoul/#{repository_name}/releases`
77
+ data[0]["tag_name"]
79
78
  end
80
79
 
81
80
  def download_souls app_name: "souls", repository_name: "souls_service"
@@ -1,3 +1,3 @@
1
1
  module Souls
2
- VERSION = "0.7.2"
2
+ VERSION = "0.7.3"
3
3
  end
@@ -24,5 +24,4 @@ Gem::Specification.new do |spec|
24
24
  spec.bindir = "exe"
25
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ["lib"]
27
- spec.add_dependency("mechanize", "2.7.6")
28
27
  end
metadata CHANGED
@@ -1,30 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: souls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI
8
8
  - KishiTheMechanic
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
12
  date: 2021-01-02 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: mechanize
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - '='
19
- - !ruby/object:Gem::Version
20
- version: 2.7.6
21
- type: :runtime
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - '='
26
- - !ruby/object:Gem::Version
27
- version: 2.7.6
13
+ dependencies: []
28
14
  description: SOULS is a Web Application Framework for Microservices on Multi Cloud
29
15
  Platform such as Google Cloud Platform, Amazon Web Services, and Alibaba Cloud.
30
16
  Auto deploy with scalable condition. You can focus on business logic. No more infra
@@ -64,7 +50,7 @@ metadata:
64
50
  homepage_uri: https://github.com/elsoul/souls
65
51
  source_code_uri: https://github.com/elsoul/souls
66
52
  changelog_uri: https://github.com/elsoul/souls
67
- post_install_message:
53
+ post_install_message:
68
54
  rdoc_options: []
69
55
  require_paths:
70
56
  - lib
@@ -80,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
66
  version: '0'
81
67
  requirements: []
82
68
  rubygems_version: 3.1.4
83
- signing_key:
69
+ signing_key:
84
70
  specification_version: 4
85
71
  summary: SOULS is a Web Application Framework for Microservices on Multi Cloud Platform
86
72
  such as Google Cloud Platform, Amazon Web Services, and Alibaba Cloud. Auto deploy