RubyApp 0.5.90 → 0.5.91

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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- RubyApp (0.5.90)
4
+ RubyApp (0.5.91)
5
5
  BlueCloth
6
6
  chronic
7
7
  chronic_duration
@@ -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('git commit --all --message=\'Incrementing version\'')
23
+ system("git commit --all --message=\'Version #{RubyApp::VERSION}\'")
34
24
  end
35
25
 
36
- desc 'List all scripts and their url\'s'
37
- task :scripts do |task|
38
- RubyApp::Application.create_context! do
39
- table = Terminal::Table.new(:title => 'Steps',
40
- :headings => ['Script',
41
- 'Url']) do |table|
42
- RubyApp::Session.get_scripts.each do |script|
43
- table.add_row([script.name,
44
- script.url])
45
- end
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
@@ -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});")
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.5.90"
2
+ VERSION = "0.5.91"
3
3
  ROOT = File.expand_path(File.dirname(__FILE__))
4
4
  end
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: 191
4
+ hash: 189
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 90
10
- version: 0.5.90
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-02 00:00:00 Z
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: []