skeleton-ui 0.0.2 → 0.0.3

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: 3f45bb16840bad9bd6322c17b0f9b078e1cbdc9a746eb427bae8fd30a75a8a73
4
- data.tar.gz: cea9618dbe3a7be8ee85357e5cdb22bc90328ca84589a362e6cdfc2976a3bb17
3
+ metadata.gz: 1be543edd2c332a5c65b464df1b66f5c17336ba6f18a986faa60bf6318c71543
4
+ data.tar.gz: 1eaa54de3e9a3e62619567af7c988e9d818298d31d3747d21b7e1c4e4ab6e360
5
5
  SHA512:
6
- metadata.gz: 7fd4f41bd54d6bbd450c313e1b5b92d9b673ebc924c3dbccefff2ac195a26e214b8dc1c1572a164ba563ad468aefde02d3a38b435daa2c756c8bb9e0a47cdbab
7
- data.tar.gz: a3f51e67dcc3069b2c875564eea693b82357a9d8213f6e3f9404fa5aa29a7fb289916e8f3b1597ddbf107943adafbb190b52ee6d53c2f74e9a9c68ac2f446feb
6
+ metadata.gz: 2784b2d1fff33bc4470a125eb0429e7e4e5eb2cd3642974677108a6c0a21e77ce4b8e6028436803e85e9b57cdf3c2c1236f9803b0e707bc38421980f9c0f3891
7
+ data.tar.gz: fb3f819ab9c17d83f2573245b24ee68c26583c06d3be5096207ac2d1af85ee43aa966a9d2c6f5c1264e73fc1efad8c801c5cbc37a9f4d52ff15903dce0c1cc7d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- skeleton (0.0.1)
4
+ skeleton-ui (0.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -19,10 +19,10 @@ PLATFORMS
19
19
  DEPENDENCIES
20
20
  bundler (~> 1.16)
21
21
  colorize (~> 0.8.1)
22
- fileutils
22
+ fileutils (~> 1.0.2)
23
23
  nokogiri (~> 1.8.2)
24
24
  rake (~> 12.3.0)
25
- skeleton!
25
+ skeleton-ui!
26
26
 
27
27
  BUNDLED WITH
28
28
  1.16.1
data/lib/skeleton.rb CHANGED
@@ -44,7 +44,7 @@ module Skeleton
44
44
  def start
45
45
  @driver.precondition
46
46
  @driver.skeletoner
47
- @driver.log.info("#{Dir.pwd}/#{Base::PAGE_OBJECTS_FOLDER}/. 😍")
47
+ @driver.log.info("#{Base::PAGE_OBJECTS_FOLDER}/. 😍")
48
48
  end
49
49
 
50
50
  def ios?
data/lib/skeleton/base.rb CHANGED
@@ -3,7 +3,8 @@ require_relative 'languages.rb'
3
3
  class Base
4
4
  include Language
5
5
 
6
- ROOT_DIR = File.expand_path('..', Dir.pwd)
6
+ ROOT_DIR = "#{`gem environment gemdir`.strip}" \
7
+ "/gems/skeleton-ui-#{Skeleton::VERSION}"
7
8
  PAGE_OBJECTS_FOLDER = "#{ROOT_DIR}/PageObjects"
8
9
  ATTACHMENTS_FOLDER = "#{ROOT_DIR}/Attachments"
9
10
  TIMESTAMP = (Time.now.to_f * 1000).to_i
data/lib/skeleton/ios.rb CHANGED
@@ -9,7 +9,7 @@ class IOS < Base
9
9
  }
10
10
  IDENTIFIER = 'identifier'
11
11
  LABEL = 'label'
12
- XCRESULTS_FOLDER = "#{File.expand_path('..', Dir.pwd)}/XCResults"
12
+ XCRESULTS_FOLDER = "#{ROOT_DIR}/XCResults"
13
13
 
14
14
  attr_accessor :platform, :udid, :bundle_id
15
15
 
@@ -1,3 +1,4 @@
1
1
  module Skeleton
2
- VERSION = "0.0.2"
2
+ VERSION = '0.0.3'
3
+ GEM_NAME = 'skeleton-ui'
3
4
  end
data/skeleton.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require "skeleton/version"
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "skeleton-ui"
7
+ spec.name = Skeleton::GEM_NAME
8
8
  spec.version = Skeleton::VERSION
9
9
  spec.authors = ["a.alterpesotskiy"]
10
10
  spec.email = ["33gri@bk.ru"]
@@ -12,15 +12,11 @@ Gem::Specification.new do |spec|
12
12
  spec.summary = %q{CLI for fast generating multi language page objects from iOS and Android screens.}
13
13
  spec.homepage = "https://github.com/forqa/skeleton"
14
14
  spec.license = "MIT"
15
- spec.executables = ["skeleton"]
16
15
 
17
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
- # to allow pushing to a single host or delete this section to allow pushing to any host.
19
16
  if spec.respond_to?(:metadata)
20
17
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
21
18
  else
22
- raise "RubyGems 2.0 or newer is required to protect against " \
23
- "public gem pushes."
19
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
24
20
  end
25
21
 
26
22
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -32,5 +28,5 @@ Gem::Specification.new do |spec|
32
28
  spec.add_development_dependency "rake", "~> 12.3.0"
33
29
  spec.add_development_dependency "colorize", "~> 0.8.1"
34
30
  spec.add_development_dependency "nokogiri", "~> 1.8.2"
35
- spec.add_development_dependency "fileutils"
31
+ spec.add_development_dependency "fileutils", "~> 1.0.2"
36
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skeleton-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - a.alterpesotskiy
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: fileutils
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 1.0.2
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 1.0.2
83
83
  description:
84
84
  email:
85
85
  - 33gri@bk.ru