pineapple 1.1.0 → 1.1.1
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.
data/Rakefile
CHANGED
@@ -17,8 +17,10 @@ module Pineapple
|
|
17
17
|
# Generator Code. Remember this is just suped-up Thor so methods are executed in order
|
18
18
|
|
19
19
|
def setup_routes
|
20
|
-
route('
|
20
|
+
route('resources :pineapple_steps')
|
21
|
+
route('match "/pineapple" => "pineapple#steps", :as => :pineapple_steps_engine')
|
21
22
|
route('match "/pineapple.js" => "pineapple#show", :as => :pineapple_engine')
|
23
|
+
|
22
24
|
end
|
23
25
|
|
24
26
|
def copy_files
|
@@ -3,7 +3,7 @@ module Actions
|
|
3
3
|
def find_item selector
|
4
4
|
|
5
5
|
@script += <<SCRIPT
|
6
|
-
|
6
|
+
pineappleVars.item = jQuery("##{selector}");
|
7
7
|
if(typeof pineappleVars.item.get(0) == "undefined"){
|
8
8
|
pineappleVars.item = jQuery("input[name='#{selector}']");
|
9
9
|
if(typeof pineappleVars.item.get(0) == "undefined"){
|
@@ -12,7 +12,7 @@ module Actions
|
|
12
12
|
if(typeof pineappleVars.item.get(0) == "undefined"){
|
13
13
|
pineappleVars.item = jQuery("#{selector}");
|
14
14
|
}
|
15
|
-
}
|
15
|
+
}
|
16
16
|
SCRIPT
|
17
17
|
|
18
18
|
|
metadata
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
name: pineapple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.1.
|
5
|
+
version: 1.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
|
8
|
+
- Reza Alavi
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-06-
|
13
|
+
date: 2011-06-03 00:00:00 +10:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|
@@ -21,35 +21,35 @@ executables: []
|
|
21
21
|
extensions: []
|
22
22
|
|
23
23
|
extra_rdoc_files:
|
24
|
-
|
25
|
-
|
24
|
+
- README.rdoc
|
25
|
+
- LICENSE
|
26
26
|
files:
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
27
|
+
- LICENSE
|
28
|
+
- README.rdoc
|
29
|
+
- Rakefile
|
30
|
+
- lib/pineapple/translator.rb
|
31
|
+
- lib/pineapple/utils/global_selector.rb
|
32
|
+
- lib/pineapple/utils.rb
|
33
|
+
- lib/pineapple/actions/choose.rb
|
34
|
+
- lib/pineapple/actions/script.rb
|
35
|
+
- lib/pineapple/actions/visit.rb
|
36
|
+
- lib/pineapple/actions/click_on.rb
|
37
|
+
- lib/pineapple/actions/check.rb
|
38
|
+
- lib/pineapple/actions/click_link.rb
|
39
|
+
- lib/pineapple/actions/fill_in.rb
|
40
|
+
- lib/pineapple/actions/select.rb
|
41
|
+
- lib/pineapple/actions/click_button.rb
|
42
|
+
- lib/pineapple/actions/uncheck.rb
|
43
|
+
- lib/pineapple/actions.rb
|
44
|
+
- lib/generators/pineapple/install_generator.rb
|
45
|
+
- lib/generators/pineapple/templates/app/views/pineapple/show.html.erb
|
46
|
+
- lib/generators/pineapple/templates/app/views/pineapple_steps/show.html.erb
|
47
|
+
- lib/generators/pineapple/templates/app/views/pineapple_steps/new.html.erb
|
48
|
+
- lib/generators/pineapple/templates/app/views/pineapple_steps/edit.html.erb
|
49
|
+
- lib/generators/pineapple/templates/app/views/pineapple_steps/_form.html.erb
|
50
|
+
- lib/generators/pineapple/templates/app/views/pineapple_steps/index.html.erb
|
51
|
+
- lib/generators/pineapple/templates/app/controllers/pineapple_steps_controller.rb
|
52
|
+
- lib/generators/pineapple/templates/app/controllers/pineapple_controller.rb
|
53
53
|
has_rdoc: true
|
54
54
|
homepage: http://github.com/rezaalavi/pineapple
|
55
55
|
licenses: []
|
@@ -58,23 +58,23 @@ post_install_message:
|
|
58
58
|
rdoc_options: []
|
59
59
|
|
60
60
|
require_paths:
|
61
|
-
|
61
|
+
- lib
|
62
62
|
required_ruby_version: !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
|
-
|
66
|
-
|
67
|
-
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: "0"
|
68
68
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
69
|
none: false
|
70
70
|
requirements:
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: "0"
|
74
74
|
requirements: []
|
75
75
|
|
76
76
|
rubyforge_project:
|
77
|
-
rubygems_version: 1.
|
77
|
+
rubygems_version: 1.6.0
|
78
78
|
signing_key:
|
79
79
|
specification_version: 3
|
80
80
|
summary: An automation testing framework.
|