leap_salesforce_ui 0.1.5 → 0.1.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d7e63743b865e1a4fd706abeb9772fa5726a6304c336fe40dd6f32a455119b9
|
4
|
+
data.tar.gz: da6bfe38c4f2479a0ddb06e748ff262ac80d45fe9872839d115c0ccdb1eda758
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c0e05222bdb5c9c86f4367fc50a5e0bbb381d21329e7588cc4760011d636b4526aebe2e84db0ccf6ae60441186f673b6df70a73a1c370b3cbb54191d19f84c8
|
7
|
+
data.tar.gz: 78456a3a7afcd73a3e7b779843f17485f45b6c11b406038fa1ec43bdf2b8aee1b9cb6bef4fa66796f44c32f571591e6db1ce7b8b8f636d2064c3383dc85ddb6d
|
data/ChangeLog
CHANGED
data/exe/leap_salesforce_ui
CHANGED
@@ -31,6 +31,7 @@ module LeapSalesforce
|
|
31
31
|
def init
|
32
32
|
puts "Initialising initial files to get started with leap_salesforce_ui"
|
33
33
|
append "Rakefile", "Rakefile.erb"
|
34
|
+
append "Gemfile", "Gemfile.erb"
|
34
35
|
puts 'Running Rake task "leaps:create_poms"'
|
35
36
|
puts `rake leaps:create_poms`
|
36
37
|
append File.join("spec", "spec_helper.rb"), "spec_helper.rb.erb"
|
@@ -10,12 +10,16 @@ module LeapSalesforce
|
|
10
10
|
|
11
11
|
# Create content in a file, adding to an existing file if present
|
12
12
|
def append(filename, template_path)
|
13
|
-
|
13
|
+
verb = "Appending to"
|
14
|
+
unless File.exist? filename
|
15
|
+
FileUtils.touch filename
|
16
|
+
verb = "Creating"
|
17
|
+
end
|
14
18
|
content = read_template template_path, binding, folder: __dir__
|
15
19
|
if File.read(filename).include?(content)
|
16
20
|
puts "File '#{filename}' already has expected content, skipping...".colorize :red
|
17
21
|
else
|
18
|
-
puts "\u2713
|
22
|
+
puts "\u2713 #{verb} #{filename}".colorize :green
|
19
23
|
open(filename, "a") { |f| f.puts content }
|
20
24
|
end
|
21
25
|
end
|
@@ -0,0 +1 @@
|
|
1
|
+
gem 'leap_salesforce_ui'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leap_salesforce_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IQA
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-02-
|
12
|
+
date: 2021-02-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: leap_salesforce
|
@@ -91,6 +91,7 @@ files:
|
|
91
91
|
- lib/leap_salesforce_ui/form_filler.rb
|
92
92
|
- lib/leap_salesforce_ui/generator/appenders.rb
|
93
93
|
- lib/leap_salesforce_ui/generator/page_objects.rb
|
94
|
+
- lib/leap_salesforce_ui/generator/templates/Gemfile.erb
|
94
95
|
- lib/leap_salesforce_ui/generator/templates/Rakefile.erb
|
95
96
|
- lib/leap_salesforce_ui/generator/templates/create_page.rb.erb
|
96
97
|
- lib/leap_salesforce_ui/generator/templates/spec_helper.rb.erb
|