ruby_native 0.2.4 → 0.2.5

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: d8e0f22ae365aa58af351c07f19583d7d4492cdcbb7b6d29a32a4e67a2f82650
4
- data.tar.gz: 3a568d2123374be790d68dc8df983ba400bffe56afc8e813294adf63779ee285
3
+ metadata.gz: bc155ab038d88ddb0029ce9072f91ec0728249a388aa3fcc1e8ccc2ce2af7d78
4
+ data.tar.gz: 150029c5dd6f61b13e0fb0d097bfb61ab2048f259c536fe17048b1908025b716
5
5
  SHA512:
6
- metadata.gz: 3375e214b3dcf5d393f9054296322ddf30e14cfe24b93fc6c3255af64e390025c496f51b2ad63226990c6175179194cbbc56e8f35fa5fbd0f3bace262d207f0d
7
- data.tar.gz: ccb26c29b6fc8e24700d25a4ea3b78911e0533cb2ec12f7c0db7a00b80c231909bbe96fbc1100b46eda875a8a65f82157ce868512ba2760b4b4551296223b17d
6
+ metadata.gz: f943b32f452f9cc638ae3332cbe62ceeb166cc2ad7e9df9d8272c24836dce4bdfb2f7c3a6e4e897ed7d9cd076bb92626ab3772a9a0ac649869d8d7fb1a4cdf13
7
+ data.tar.gz: 6988fe9f67885859619b1217ffe86e1bf829fcf0b67996cfd49017a7de4a2337356b9253857479fdc3a2e0d90bf0396c581110c3676c265ec6e51117f99ce77e
@@ -49,6 +49,7 @@ Scan the QR code with the Ruby Native Preview app from the App Store. Keep both
49
49
  ```yaml
50
50
  app:
51
51
  name: My App
52
+ entry_path: /inbox # initial URL on app launch (defaults to first tab's path)
52
53
 
53
54
  appearance:
54
55
  tint_color: "#007AFF"
@@ -1,5 +1,6 @@
1
1
  app:
2
2
  mode: normal # normal or advanced
3
+ # entry_path: /inbox # Initial URL on app launch (defaults to first tab's path)
3
4
 
4
5
  appearance:
5
6
  tint_color: "#007AFF"
@@ -1,3 +1,3 @@
1
1
  module RubyNative
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
data/lib/ruby_native.rb CHANGED
@@ -16,6 +16,7 @@ module RubyNative
16
16
  self.config = YAML.load_file(path).deep_symbolize_keys
17
17
  self.config[:app] ||= {}
18
18
  self.config[:app][:name] ||= "Ruby Native"
19
+ self.config[:app][:entry_path] ||= self.config.dig(:tabs, 0, :path) || "/"
19
20
  self.config[:auth] ||= {}
20
21
  end
21
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_native
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Masilotti