aromancer 0.0.2 → 0.0.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: 66d69a666530ce5120cfb52365a583212e69a1917754dbf7aff7191f83342bb1
4
- data.tar.gz: 18ecd2a9cbc8e0f9495cc2234ff4d1b7dff033820f8c889942b45886a3a2bc85
3
+ metadata.gz: 18b04d9a936ce283adb145a9263b4c8da8c90c1dea2ba9cc5a4901db49b383e8
4
+ data.tar.gz: 535987d0dd891f7600443a2b2ce3c274e9cae47c019804e74a242bbeaae5c9b4
5
5
  SHA512:
6
- metadata.gz: d0946a20e0158ede2f6eae9ddd589916948e934a1a258903e6ea6be853c7cee1b5a9b53d415dbb14a30d16c1519961842beb202eee6ec75bac634d54155c83ce
7
- data.tar.gz: 3eb1d8a77285e530272c700a83278dd41328f7661c02f870430abbdeb78a66fa27b0f117fa892510962d09236bf7f45ad77cba6ee3283d0ec86154b58d4d6c5f
6
+ metadata.gz: d49f02e835a1a95984dc84198f2d83c430ba28b6856532e4be09f763d3049ce18d0865bf90f6c08635d55a03c06b308d4519e10c33b53564f3abaa2f09de60c2
7
+ data.tar.gz: ab697259cb83cf21e38210251157fbec2499da3f5a9d20595f4d0a2e780fa7e71031d313d10b1926cdf59e4d4ad190ca02fe8b97e5eeb1000e871f71470de6f8
data/.gitignore CHANGED
@@ -6,3 +6,4 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ .aromancer_server_host
data/bin/aromancer CHANGED
@@ -12,6 +12,7 @@
12
12
 
13
13
  require :aromancer.to_s
14
14
 
15
+ puts Aromancer::Server::SERVER_URL
15
16
  begin
16
17
  Aromancer::Prompt.say(I18n.t("shared.welcome", version: Aromancer::VERSION))
17
18
  if Aromancer::Storage.get_player
@@ -0,0 +1 @@
1
+ d49717a47686a529c32e016a0a4ebc44468260814801e778fb3062c6934bda58a9c2a2ee57f5704a37c72df2d0635f1a4df6ad15e6682d9dc6cc950b02b21945
@@ -0,0 +1 @@
1
+ 4879374c8eae3302e5709d42ec1cdbca23085fad5224b94174a68d2af57b88aa31bf69ebe59f71610ced276228840f2618db62ebe8c1fd6c541172e17281e931
@@ -13,8 +13,8 @@
13
13
  module Aromancer
14
14
  class Server
15
15
  include Singleton
16
-
17
- SERVER_URL = "http://localhost:3000"
16
+ SERVER_HOST_FILE = ".aromancer_server_host"
17
+ SERVER_URL = File.exist?(SERVER_HOST_FILE) ? File.read(SERVER_HOST_FILE).gsub("\n", "") : "http://localhost:3000"
18
18
  HEADERS = { "Content-Type": "application/json" }
19
19
 
20
20
  class InternalError
@@ -11,5 +11,5 @@
11
11
  =end
12
12
 
13
13
  module Aromancer
14
- VERSION = "0.0.2"
14
+ VERSION = "0.0.4"
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aromancer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - i2097i
@@ -228,6 +228,8 @@ files:
228
228
  - bin/aromancer
229
229
  - checksums/aromancer-0.0.1.gem.sha512
230
230
  - checksums/aromancer-0.0.2.gem.sha512
231
+ - checksums/aromancer-0.0.3.gem.sha512
232
+ - checksums/aromancer-0.0.4.gem.sha512
231
233
  - gem_graph.png
232
234
  - lib/aromancer.rb
233
235
  - lib/aromancer/.DS_Store