merb_screw_unit 0.9.5 → 0.9.6

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
@@ -18,7 +18,7 @@ GEM_EMAIL = "ykatz@engineyard.com"
18
18
 
19
19
  GEM_NAME = "merb_screw_unit"
20
20
  PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
21
- GEM_VERSION = (Merb::MORE_VERSION rescue "0.9.5") + PKG_BUILD
21
+ GEM_VERSION = (Merb::MORE_VERSION rescue "0.9.6") + PKG_BUILD
22
22
 
23
23
  RELEASE_NAME = "REL #{GEM_VERSION}"
24
24
 
@@ -36,8 +36,8 @@ spec = Gem::Specification.new do |s|
36
36
  s.author = GEM_AUTHOR
37
37
  s.email = GEM_EMAIL
38
38
  s.homepage = PROJECT_URL
39
- s.add_dependency('merb-core', '>= 0.9.5')
40
- s.add_dependency('merb-slices', '>= 0.9.5')
39
+ s.add_dependency('merb-core', '>= 0.9.6')
40
+ s.add_dependency('merb-slices', '>= 0.9.6')
41
41
  s.require_path = 'lib'
42
42
  s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,spec,app,public,stubs}/**/*")
43
43
  end
@@ -59,12 +59,12 @@ end
59
59
 
60
60
  desc "Install the gem"
61
61
  task :install => [:package] do
62
- sh %{#{sudo} gem install #{install_home} pkg/#{GEM_NAME}-#{GEM_VERSION} --no-update-sources}
62
+ sh install_command(GEM_NAME, GEM_VERSION)
63
63
  end
64
64
 
65
65
  namespace :jruby do
66
66
  "Run :package and install the resulting .gem with jruby"
67
67
  task :install => :package do
68
- sh %{#{sudo} jruby -S gem install #{install_home} pkg/#{GEM_NAME}-#{GEM_VERSION}.gem --no-rdoc --no-ri}
68
+ sh jinstall_command(GEM_NAME, GEM_VERSION)
69
69
  end
70
70
  end
@@ -24,10 +24,13 @@
24
24
  before(function() {
25
25
  $ = iframeWindow.$;
26
26
  $.ajaxSettings.async = false;
27
- $.fn.fireEvent = function(event) {
28
- runLivequeries();
29
- this.trigger(event);
30
- return this;
27
+ $.fn.fireEvent = function(event, obj) {
28
+ return this.each(function() {
29
+ runLivequeries();
30
+ var basic = {type: event, target: this, preventDefault: true}
31
+ $.extend(basic, obj || {});
32
+ $(this).trigger(event, [basic]);
33
+ })
31
34
  };
32
35
  })
33
36
  <%= catch_content :for_layout %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merb_screw_unit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-08-13 00:00:00 +03:00
12
+ date: 2008-09-08 00:00:00 +03:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 0.9.5
23
+ version: 0.9.6
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: merb-slices
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.9.5
33
+ version: 0.9.6
34
34
  version:
35
35
  description: Merb Slice that provides support for Screw.Unit testing
36
36
  email: ykatz@engineyard.com