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 +4 -4
- data/lib/alet/config/locales/en.yml +2 -1
- data/lib/alet/config/locales/ja.yml +2 -1
- data/lib/alet/irb/command/export.rb +1 -1
- data/lib/alet/irb/command/generate_model.rb +1 -1
- data/lib/alet/irb/command/query.rb +2 -2
- data/lib/alet/irb.rb +2 -2
- data/lib/alet/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cbf4ee403adc8ddacb9640214c603e822cb543da6ece81e162402bf5c72871e
|
4
|
+
data.tar.gz: 8d4ff7690e2222f8cc69d4d9a07edda96a4121a88edbb0d563d7006843fd6169
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
@@ -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?
|
12
|
+
object.to_soql if object&.instance_of? SObjectModel::QueryMethods::QueryCondition
|
13
13
|
end
|
14
14
|
|
15
15
|
return if soql.nil?
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
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?
|
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 '
|
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
|
-
|
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
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.
|
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-
|
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.
|
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.
|
40
|
+
version: 1.2.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: sobjectmodel
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
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:
|
54
|
+
version: 0.1.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: tty-markdown
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|