alet 0.1.1 → 0.1.2

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: 2faa54a215c89f284e48ea7e7765ce94f649957db7975f0534ec7e785e27418d
4
- data.tar.gz: '09ac5631b2bd809379dc48df00307d2fc5c10a813ed63ad9fb52ba82c630ba2b'
3
+ metadata.gz: 2cbf4ee403adc8ddacb9640214c603e822cb543da6ece81e162402bf5c72871e
4
+ data.tar.gz: 8d4ff7690e2222f8cc69d4d9a07edda96a4121a88edbb0d563d7006843fd6169
5
5
  SHA512:
6
- metadata.gz: bba98f043bc20784a443fe43fadc48c821b617e2cbd4317df37057946fa857783a97aba2da6029a44c365f50484d7916394e5d2895b2207b21cc895b84af820a
7
- data.tar.gz: fe1eec27d3e6231ad2973d1bdd79acaa90609ce95612616f1ae7ca299972977b0080237989f4d3ec0907df1eefba8f12c99adcccef4e3d684e9061d9cb231e88
6
+ metadata.gz: 4ea239caeba3b419d73a20db668fa28b9485651c30b7be48b0550581b5deb19f9de03f2cf28a894874da2af38b60d951d06956d512af7b95612c51701c76e6e2
7
+ data.tar.gz: 00d775cd7160640640e47798d768ab170bf0f055f23ee861951654710ff367a49c05f673ea34e35ce5d78dee91d16fb8b0f8ddbb4b4e4c6b8073a36a85ada1e6
@@ -76,7 +76,8 @@ en:
76
76
  ## ARGUMENTS
77
77
  **command** - shell command
78
78
 
79
- If no command is specified, it starts interactive mode. To escape interactive mode, press CTRL-D
79
+ If no command is specified, it starts interactive mode.
80
+ To escape interactive mode, press CTRL-D (CTR-Z for Windows)
80
81
 
81
82
  ## EXAMPLE
82
83
  ```shell
@@ -77,7 +77,8 @@ ja:
77
77
  ## ARGUMENTS
78
78
  **command** - 実行するコマンドライン
79
79
 
80
- コマンドを指定せずにEnterを押すとインタラクティブモードに移行する。インタラクティブモードから抜けるにはCTR-Dを押す
80
+ コマンドを指定せずにEnterを押すとインタラクティブモードに移行する。
81
+ インタラクティブモードから抜けるにはCTR-Dを押す(WindowsはCTR-Z)
81
82
 
82
83
  ## EXAMPLE
83
84
  ```shell
@@ -9,7 +9,7 @@ class Export < IRB::Command::Base
9
9
  arg
10
10
  else
11
11
  object = eval(arg)
12
- object.to_soql if object&.instance_of? Yamori::QueryMethods::QueryCondition
12
+ object.to_soql if object&.instance_of? SObjectModel::QueryMethods::QueryCondition
13
13
  end
14
14
 
15
15
  return if soql.nil?
@@ -5,6 +5,6 @@ class GenerateModel < IRB::Command::Base
5
5
 
6
6
  def execute(arg)
7
7
  object_types = arg.split(' ').map{|s| s.tr(' ', '')}
8
- Yamori.generate(*object_types)
8
+ SObjectModel.generate(*object_types)
9
9
  end
10
10
  end
@@ -1,4 +1,4 @@
1
- require 'yamori/query_condition'
1
+ require 'sobject_model/query_condition'
2
2
 
3
3
  class Query < IRB::Command::Base
4
4
  category "Alet"
@@ -11,7 +11,7 @@ class Query < IRB::Command::Base
11
11
  arg
12
12
  else
13
13
  object = eval(arg)
14
- object.to_soql if object&.instance_of? Yamori::QueryMethods::QueryCondition
14
+ object.to_soql if object&.instance_of? SObjectModel::QueryMethods::QueryCondition
15
15
  end
16
16
 
17
17
  return if soql.nil?
data/lib/alet/irb.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'sf_cli'
2
- require 'yamori'
2
+ require 'sobject_model'
3
3
  require 'alet/config'
4
4
  require 'irb/command/base'
5
5
  require 'tty-markdown'
@@ -40,7 +40,7 @@ Alet.config.connection = conn
40
40
 
41
41
  sf.org.login_web target_org: conn.alias, instance_url: conn.instance_url unless conn.connected?
42
42
 
43
- Yamori.connect(
43
+ SObjectModel.connect(
44
44
  :rest,
45
45
  instance_url: conn.instance_url,
46
46
  access_token: conn.access_token,
data/lib/alet/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Alet
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takanobu Maekawa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-03 00:00:00.000000000 Z
11
+ date: 2024-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gli
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.2.3
33
+ version: 1.2.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.2.3
40
+ version: 1.2.4
41
41
  - !ruby/object:Gem::Dependency
42
- name: yamori
42
+ name: sobjectmodel
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.1'
47
+ version: 0.1.2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.1'
54
+ version: 0.1.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: tty-markdown
57
57
  requirement: !ruby/object:Gem::Requirement