RubyApp 0.5.90 → 0.5.91
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/{rakefile → Rakefile} +12 -23
- data/lib/ruby_app/element.rb +4 -0
- data/lib/ruby_app/version.rb +1 -1
- metadata +5 -5
data/Gemfile.lock
CHANGED
data/{rakefile → Rakefile}
RENAMED
@@ -9,16 +9,6 @@ require 'ruby_app'
|
|
9
9
|
|
10
10
|
namespace :ruby_app do
|
11
11
|
|
12
|
-
desc 'Create console'
|
13
|
-
task :console do |task|
|
14
|
-
system('cd ./lib/ruby_app && clear && bundle exec ../../bin/ruby_app console')
|
15
|
-
end
|
16
|
-
|
17
|
-
desc 'Run'
|
18
|
-
task :run => ['ruby_app:cache:destroy'] do |task|
|
19
|
-
system('cd ./lib/ruby_app && clear && bundle exec ../../bin/ruby_app run')
|
20
|
-
end
|
21
|
-
|
22
12
|
desc 'Get version'
|
23
13
|
task :version do |task|
|
24
14
|
puts RubyApp::VERSION
|
@@ -30,22 +20,21 @@ namespace :ruby_app do
|
|
30
20
|
version_file = File.join(RubyApp::ROOT, %w[version.rb])
|
31
21
|
RubyApp::VERSION =~ /(\d+)\.(\d+)\.(\d+)/
|
32
22
|
system("sed 's|[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*|#{$1}.#{$2}.#{$3.to_i + 1}|g' < '#{version_file}' > '#{version_file}.out'; rm '#{version_file}'; mv '#{version_file}.out' '#{version_file}'")
|
33
|
-
system(
|
23
|
+
system("git commit --all --message=\'Version #{RubyApp::VERSION}\'")
|
34
24
|
end
|
35
25
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
puts table
|
47
|
-
end
|
26
|
+
namespace :process do
|
27
|
+
|
28
|
+
desc 'Create console'
|
29
|
+
task :console do |task|
|
30
|
+
system('cd ./lib/ruby_app && clear && bundle exec ../../bin/ruby_app console')
|
31
|
+
end
|
32
|
+
|
33
|
+
desc 'Run'
|
34
|
+
task :run => ['ruby_app:cache:destroy'] do |task|
|
35
|
+
system('cd ./lib/ruby_app && clear && bundle exec ../../bin/ruby_app run')
|
48
36
|
end
|
37
|
+
|
49
38
|
end
|
50
39
|
|
51
40
|
namespace :cache do
|
data/lib/ruby_app/element.rb
CHANGED
@@ -165,6 +165,10 @@ module RubyApp
|
|
165
165
|
self.assert_exists_selector("a:contains('#{text}')")
|
166
166
|
end
|
167
167
|
|
168
|
+
def assert_not_exists_link(text)
|
169
|
+
self.assert_not_exists_selector("a:contains('#{text}')")
|
170
|
+
end
|
171
|
+
|
168
172
|
def assert_exists_selector(selector)
|
169
173
|
_selector = ".ui-page-active #{selector}"
|
170
174
|
self.execute("RubyApp.assertExists(#{_selector.to_json});")
|
data/lib/ruby_app/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RubyApp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 189
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 91
|
10
|
+
version: 0.5.91
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Frank G. Ficnar
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-10-
|
18
|
+
date: 2012-10-05 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
@@ -299,6 +299,7 @@ files:
|
|
299
299
|
- Gemfile
|
300
300
|
- Gemfile.lock
|
301
301
|
- README.md
|
302
|
+
- Rakefile
|
302
303
|
- bin/console.rb
|
303
304
|
- bin/ruby_app
|
304
305
|
- lib/ruby_app.rb
|
@@ -593,7 +594,6 @@ files:
|
|
593
594
|
- lib/ruby_app/templates/application/translations/en.yml
|
594
595
|
- lib/ruby_app/translations/en.yml
|
595
596
|
- lib/ruby_app/version.rb
|
596
|
-
- rakefile
|
597
597
|
- ruby_app.gemspec
|
598
598
|
homepage: ""
|
599
599
|
licenses: []
|