bootic_cli 0.1.7 → 0.1.8

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
  SHA1:
3
- metadata.gz: c4ace11ad0bee02a140f7a4312f4384d0398cd94
4
- data.tar.gz: 8dcf28108c63796e137438d04773ce18fc40719f
3
+ metadata.gz: 3eb3060887b435d1d024f2f119ebb26303c48235
4
+ data.tar.gz: 01667be1b54d948a23006a6c21be04a039bf9337
5
5
  SHA512:
6
- metadata.gz: 7acf5cf6b282cd2b60bd2fb563f5d30298f504baff415783f5fea34721cc56518985ed1e8876c1b1c1967a3d9c400f0e62b6731bbfbcd79684715850e4cfcdc5
7
- data.tar.gz: 48ef1a967baea28dea4f01e8bc0c44439f4be0f7e3a54177bafaf9798ef4376ac21d8874c57603b758ae8929d9e876a283d0b4ee36057f92696e5447587175b1
6
+ metadata.gz: 9b5eac1a65a148f13af2c55efae0ba2ed5cebda7b34f8252fc926973f25e4bd0abf93c149787f3495943fe3b77c561098c79427ee29b4176017c4cadbf2eb428
7
+ data.tar.gz: 526d0ede6175ccc6333ca33d432132e8ee00d49a2442677b49e250455604c29640f3006fd811e18f9c23853b49ef656670230580fc7ede5a1229361b5c5038e2
@@ -95,7 +95,7 @@ module BooticCli
95
95
  IRB.conf[:MAIN_CONTEXT] = IRB::Irb.new.context
96
96
  require 'irb/ext/multi-irb'
97
97
  require 'bootic_cli/console'
98
- context = Console.new(root)
98
+ context = Console.new(session)
99
99
  prompt = "/#{shop.subdomain} (#{root.user_name}|#{root.scopes}) $ "
100
100
 
101
101
  IRB.conf[:PROMPT][:CUSTOM] = {
@@ -4,8 +4,10 @@ module BooticCli
4
4
 
5
5
  SEPCOUNT = 80.freeze
6
6
 
7
- def initialize(r = root)
8
- @root = r
7
+ attr_reader :session
8
+
9
+ def initialize(session)
10
+ @session = session
9
11
  end
10
12
 
11
13
  def explain(entity, include_links = true)
@@ -1,3 +1,3 @@
1
1
  module BooticCli
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootic_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ismael Celis