whowish_word 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/README.md +12 -1
  2. data/lib/whowish_word/rails/public/javascripts/0_class.js +64 -64
  3. data/lib/whowish_word/rails/public/javascripts/1_jquery.escape.js +23 -23
  4. data/lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js +7 -7
  5. data/lib/whowish_word/rails/public/javascripts/2_whowish_word_variables.js +71 -64
  6. data/lib/whowish_word/rails/public/javascripts/3_whowish_word_dialog.js +136 -136
  7. data/lib/whowish_word/rails/public/javascripts/3_whowish_word_helper.js +95 -92
  8. data/lib/whowish_word/rails/public/javascripts/4_whowish_word.js +43 -43
  9. data/lib/whowish_word/rails/public/javascripts/4_whowish_word_content_handler.js +15 -15
  10. data/lib/whowish_word/rails/public/javascripts/5_whowish_word_common_creator.js +48 -48
  11. data/lib/whowish_word/rails/public/javascripts/6_whowish_word_element_creator.js +81 -81
  12. data/lib/whowish_word/rails/public/javascripts/6_whowish_word_html_creator.js +18 -18
  13. data/lib/whowish_word/rails/public/javascripts/6_whowish_word_select_creator.js +10 -10
  14. data/lib/whowish_word/rails/public/javascripts/6_whowish_word_text_creator.js +19 -19
  15. data/lib/whowish_word/rails/public/javascripts/6_whowish_word_value_creator.js +19 -19
  16. data/lib/whowish_word/rails/public/javascripts/7_whowish_word_attribute_handler.js +24 -24
  17. data/lib/whowish_word/rails/public/javascripts/7_whowish_word_html_handler.js +14 -14
  18. data/lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js +14 -14
  19. data/lib/whowish_word/rails/public/javascripts/7_whowish_word_value_handler.js +18 -18
  20. data/lib/whowish_word/rails/public/stylesheets/whowish_word.css +197 -197
  21. data/rails/Gemfile.lock +130 -130
  22. data/rails/Rakefile +7 -7
  23. data/rails/app/assets/javascripts/integration.js +2 -2
  24. data/rails/app/assets/javascripts/test_javascript.js +2 -2
  25. data/rails/app/assets/javascripts/test_word_for.js +2 -2
  26. data/rails/app/assets/stylesheets/integration.css +4 -4
  27. data/rails/app/assets/stylesheets/test_javascript.css +4 -4
  28. data/rails/app/assets/stylesheets/test_word_for.css +4 -4
  29. data/rails/app/controllers/integration_controller.rb +5 -5
  30. data/rails/app/controllers/test_javascript_controller.rb +11 -11
  31. data/rails/app/controllers/test_word_for_controller.rb +5 -5
  32. data/rails/app/helpers/integration_helper.rb +2 -2
  33. data/rails/app/helpers/test_javascript_helper.rb +2 -2
  34. data/rails/app/helpers/test_word_for_helper.rb +2 -2
  35. data/rails/public/jasmine/MIT.LICENSE +20 -20
  36. data/rails/public/jasmine/jasmine-html.js +190 -190
  37. data/rails/public/jasmine/jasmine.css +166 -166
  38. data/rails/public/jasmine/jasmine.js +2476 -2476
  39. data/rails/public/javascripts/jquery-1.6.4.js +9046 -9046
  40. data/rails/public/sinonjs/sinonjs.js +2821 -2821
  41. data/rails/public/stylesheets/main.css +21 -21
  42. data/whowish_word.gemspec +21 -21
  43. metadata +3 -4
  44. data/config.ru +0 -4
data/rails/Gemfile.lock CHANGED
@@ -1,130 +1,130 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- actionmailer (3.1.0)
5
- actionpack (= 3.1.0)
6
- mail (~> 2.3.0)
7
- actionpack (3.1.0)
8
- activemodel (= 3.1.0)
9
- activesupport (= 3.1.0)
10
- builder (~> 3.0.0)
11
- erubis (~> 2.7.0)
12
- i18n (~> 0.6)
13
- rack (~> 1.3.2)
14
- rack-cache (~> 1.0.3)
15
- rack-mount (~> 0.8.2)
16
- rack-test (~> 0.6.1)
17
- sprockets (~> 2.0.0)
18
- activemodel (3.1.0)
19
- activesupport (= 3.1.0)
20
- bcrypt-ruby (~> 3.0.0)
21
- builder (~> 3.0.0)
22
- i18n (~> 0.6)
23
- activerecord (3.1.0)
24
- activemodel (= 3.1.0)
25
- activesupport (= 3.1.0)
26
- arel (~> 2.2.1)
27
- tzinfo (~> 0.3.29)
28
- activeresource (3.1.0)
29
- activemodel (= 3.1.0)
30
- activesupport (= 3.1.0)
31
- activesupport (3.1.0)
32
- multi_json (~> 1.0)
33
- arel (2.2.1)
34
- bcrypt-ruby (3.0.1-x86-mingw32)
35
- bson (1.4.0)
36
- bson_ext (1.4.0)
37
- builder (3.0.0)
38
- childprocess (0.2.2)
39
- ffi (~> 1.0.6)
40
- diff-lcs (1.1.3)
41
- erubis (2.7.0)
42
- ffi (1.0.9-x86-mingw32)
43
- hike (1.2.1)
44
- i18n (0.6.0)
45
- json_pure (1.6.1)
46
- mail (2.3.0)
47
- i18n (>= 0.4.0)
48
- mime-types (~> 1.16)
49
- treetop (~> 1.4.8)
50
- mime-types (1.16)
51
- mongo (1.4.0)
52
- bson (= 1.4.0)
53
- mongoid (2.2.0)
54
- activemodel (~> 3.0)
55
- mongo (~> 1.3)
56
- tzinfo (~> 0.3.22)
57
- multi_json (1.0.3)
58
- polyglot (0.3.2)
59
- rack (1.3.3)
60
- rack-cache (1.0.3)
61
- rack (>= 0.4)
62
- rack-mount (0.8.3)
63
- rack (>= 1.0.0)
64
- rack-ssl (1.3.2)
65
- rack
66
- rack-test (0.6.1)
67
- rack (>= 1.0)
68
- rails (3.1.0)
69
- actionmailer (= 3.1.0)
70
- actionpack (= 3.1.0)
71
- activerecord (= 3.1.0)
72
- activeresource (= 3.1.0)
73
- activesupport (= 3.1.0)
74
- bundler (~> 1.0)
75
- railties (= 3.1.0)
76
- railties (3.1.0)
77
- actionpack (= 3.1.0)
78
- activesupport (= 3.1.0)
79
- rack-ssl (~> 1.3.2)
80
- rake (>= 0.8.7)
81
- rdoc (~> 3.4)
82
- thor (~> 0.14.6)
83
- rake (0.8.7)
84
- rdoc (3.9.4)
85
- rspec (2.6.0)
86
- rspec-core (~> 2.6.0)
87
- rspec-expectations (~> 2.6.0)
88
- rspec-mocks (~> 2.6.0)
89
- rspec-core (2.6.4)
90
- rspec-expectations (2.6.0)
91
- diff-lcs (~> 1.1.2)
92
- rspec-mocks (2.6.0)
93
- rspec-rails (2.6.1)
94
- actionpack (~> 3.0)
95
- activesupport (~> 3.0)
96
- railties (~> 3.0)
97
- rspec (~> 2.6.0)
98
- rubyzip (0.9.4)
99
- selenium-webdriver (2.6.0)
100
- childprocess (>= 0.2.1)
101
- ffi (>= 1.0.7)
102
- json_pure
103
- rubyzip
104
- sprockets (2.0.0)
105
- hike (~> 1.2)
106
- rack (~> 1.0)
107
- tilt (~> 1.1, != 1.3.0)
108
- sqlite3 (1.3.4-x86-mingw32)
109
- thor (0.14.6)
110
- tilt (1.3.3)
111
- treetop (1.4.10)
112
- polyglot
113
- polyglot (>= 0.3.1)
114
- tzinfo (0.3.29)
115
- watir-webdriver (0.3.3)
116
- selenium-webdriver (>= 0.2.2)
117
- watir-webdriver-rails (0.0.6)
118
- watir-webdriver
119
-
120
- PLATFORMS
121
- x86-mingw32
122
-
123
- DEPENDENCIES
124
- bson_ext
125
- mongoid
126
- rails
127
- rake (= 0.8.7)
128
- rspec-rails
129
- sqlite3
130
- watir-webdriver-rails
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ actionmailer (3.1.0)
5
+ actionpack (= 3.1.0)
6
+ mail (~> 2.3.0)
7
+ actionpack (3.1.0)
8
+ activemodel (= 3.1.0)
9
+ activesupport (= 3.1.0)
10
+ builder (~> 3.0.0)
11
+ erubis (~> 2.7.0)
12
+ i18n (~> 0.6)
13
+ rack (~> 1.3.2)
14
+ rack-cache (~> 1.0.3)
15
+ rack-mount (~> 0.8.2)
16
+ rack-test (~> 0.6.1)
17
+ sprockets (~> 2.0.0)
18
+ activemodel (3.1.0)
19
+ activesupport (= 3.1.0)
20
+ bcrypt-ruby (~> 3.0.0)
21
+ builder (~> 3.0.0)
22
+ i18n (~> 0.6)
23
+ activerecord (3.1.0)
24
+ activemodel (= 3.1.0)
25
+ activesupport (= 3.1.0)
26
+ arel (~> 2.2.1)
27
+ tzinfo (~> 0.3.29)
28
+ activeresource (3.1.0)
29
+ activemodel (= 3.1.0)
30
+ activesupport (= 3.1.0)
31
+ activesupport (3.1.0)
32
+ multi_json (~> 1.0)
33
+ arel (2.2.1)
34
+ bcrypt-ruby (3.0.1-x86-mingw32)
35
+ bson (1.4.0)
36
+ bson_ext (1.4.0)
37
+ builder (3.0.0)
38
+ childprocess (0.2.2)
39
+ ffi (~> 1.0.6)
40
+ diff-lcs (1.1.3)
41
+ erubis (2.7.0)
42
+ ffi (1.0.9-x86-mingw32)
43
+ hike (1.2.1)
44
+ i18n (0.6.0)
45
+ json_pure (1.6.1)
46
+ mail (2.3.0)
47
+ i18n (>= 0.4.0)
48
+ mime-types (~> 1.16)
49
+ treetop (~> 1.4.8)
50
+ mime-types (1.16)
51
+ mongo (1.4.0)
52
+ bson (= 1.4.0)
53
+ mongoid (2.2.0)
54
+ activemodel (~> 3.0)
55
+ mongo (~> 1.3)
56
+ tzinfo (~> 0.3.22)
57
+ multi_json (1.0.3)
58
+ polyglot (0.3.2)
59
+ rack (1.3.3)
60
+ rack-cache (1.0.3)
61
+ rack (>= 0.4)
62
+ rack-mount (0.8.3)
63
+ rack (>= 1.0.0)
64
+ rack-ssl (1.3.2)
65
+ rack
66
+ rack-test (0.6.1)
67
+ rack (>= 1.0)
68
+ rails (3.1.0)
69
+ actionmailer (= 3.1.0)
70
+ actionpack (= 3.1.0)
71
+ activerecord (= 3.1.0)
72
+ activeresource (= 3.1.0)
73
+ activesupport (= 3.1.0)
74
+ bundler (~> 1.0)
75
+ railties (= 3.1.0)
76
+ railties (3.1.0)
77
+ actionpack (= 3.1.0)
78
+ activesupport (= 3.1.0)
79
+ rack-ssl (~> 1.3.2)
80
+ rake (>= 0.8.7)
81
+ rdoc (~> 3.4)
82
+ thor (~> 0.14.6)
83
+ rake (0.8.7)
84
+ rdoc (3.9.4)
85
+ rspec (2.6.0)
86
+ rspec-core (~> 2.6.0)
87
+ rspec-expectations (~> 2.6.0)
88
+ rspec-mocks (~> 2.6.0)
89
+ rspec-core (2.6.4)
90
+ rspec-expectations (2.6.0)
91
+ diff-lcs (~> 1.1.2)
92
+ rspec-mocks (2.6.0)
93
+ rspec-rails (2.6.1)
94
+ actionpack (~> 3.0)
95
+ activesupport (~> 3.0)
96
+ railties (~> 3.0)
97
+ rspec (~> 2.6.0)
98
+ rubyzip (0.9.4)
99
+ selenium-webdriver (2.6.0)
100
+ childprocess (>= 0.2.1)
101
+ ffi (>= 1.0.7)
102
+ json_pure
103
+ rubyzip
104
+ sprockets (2.0.0)
105
+ hike (~> 1.2)
106
+ rack (~> 1.0)
107
+ tilt (~> 1.1, != 1.3.0)
108
+ sqlite3 (1.3.4-x86-mingw32)
109
+ thor (0.14.6)
110
+ tilt (1.3.3)
111
+ treetop (1.4.10)
112
+ polyglot
113
+ polyglot (>= 0.3.1)
114
+ tzinfo (0.3.29)
115
+ watir-webdriver (0.3.3)
116
+ selenium-webdriver (>= 0.2.2)
117
+ watir-webdriver-rails (0.0.6)
118
+ watir-webdriver
119
+
120
+ PLATFORMS
121
+ x86-mingw32
122
+
123
+ DEPENDENCIES
124
+ bson_ext
125
+ mongoid
126
+ rails
127
+ rake (= 0.8.7)
128
+ rspec-rails
129
+ sqlite3
130
+ watir-webdriver-rails
data/rails/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
- # Add your own tasks in files placed in lib/tasks ending in .rake,
2
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
-
4
- require File.expand_path('../config/application', __FILE__)
5
- require 'rake'
6
-
7
- WhowishWordRails::Application.load_tasks
1
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
2
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
+
4
+ require File.expand_path('../config/application', __FILE__)
5
+ require 'rake'
6
+
7
+ WhowishWordRails::Application.load_tasks
@@ -1,2 +1,2 @@
1
- // Place all the behaviors and hooks related to the matching controller here.
2
- // All this logic will automatically be available in application.js.
1
+ // Place all the behaviors and hooks related to the matching controller here.
2
+ // All this logic will automatically be available in application.js.
@@ -1,2 +1,2 @@
1
- // Place all the behaviors and hooks related to the matching controller here.
2
- // All this logic will automatically be available in application.js.
1
+ // Place all the behaviors and hooks related to the matching controller here.
2
+ // All this logic will automatically be available in application.js.
@@ -1,2 +1,2 @@
1
- // Place all the behaviors and hooks related to the matching controller here.
2
- // All this logic will automatically be available in application.js.
1
+ // Place all the behaviors and hooks related to the matching controller here.
2
+ // All this logic will automatically be available in application.js.
@@ -1,4 +1,4 @@
1
- /*
2
- Place all the styles related to the matching controller here.
3
- They will automatically be included in application.css.
4
- */
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -1,4 +1,4 @@
1
- /*
2
- Place all the styles related to the matching controller here.
3
- They will automatically be included in application.css.
4
- */
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -1,4 +1,4 @@
1
- /*
2
- Place all the styles related to the matching controller here.
3
- They will automatically be included in application.css.
4
- */
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -1,5 +1,5 @@
1
- class IntegrationController < ApplicationController
2
-
3
- layout "integration"
4
-
5
- end
1
+ class IntegrationController < ApplicationController
2
+
3
+ layout "integration"
4
+
5
+ end
@@ -1,11 +1,11 @@
1
- class TestJavascriptController < ApplicationController
2
-
3
- layout "test_javascript"
4
-
5
- before_filter :always_activate_whowish_word
6
-
7
- def always_activate_whowish_word
8
- activate_whowish_word_edit_mode
9
- end
10
-
11
- end
1
+ class TestJavascriptController < ApplicationController
2
+
3
+ layout "test_javascript"
4
+
5
+ before_filter :always_activate_whowish_word
6
+
7
+ def always_activate_whowish_word
8
+ activate_whowish_word_edit_mode
9
+ end
10
+
11
+ end
@@ -1,5 +1,5 @@
1
- class TestWordForController < ApplicationController
2
-
3
- layout "nested_test_word_for"
4
-
5
- end
1
+ class TestWordForController < ApplicationController
2
+
3
+ layout "nested_test_word_for"
4
+
5
+ end
@@ -1,2 +1,2 @@
1
- module IntegrationHelper
2
- end
1
+ module IntegrationHelper
2
+ end
@@ -1,2 +1,2 @@
1
- module TestJavascriptHelper
2
- end
1
+ module TestJavascriptHelper
2
+ end
@@ -1,2 +1,2 @@
1
- module TestWordForHelper
2
- end
1
+ module TestWordForHelper
2
+ end
@@ -1,20 +1,20 @@
1
- Copyright (c) 2008-2011 Pivotal Labs
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ Copyright (c) 2008-2011 Pivotal Labs
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.