window_rails 0.2.11 → 0.2.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +1,8 @@
1
- module WindowRails
2
- class Version
3
-
4
- attr_reader :major, :minor, :tiny
5
1
 
6
- def initialize(version)
7
- version = version.split('.')
8
- @major, @minor, @tiny = [version[0].to_i, version[1].to_i, version[2].to_i]
9
- end
10
2
 
11
- def to_s
12
- "#{@major}.#{@minor}.#{@tiny}"
13
- end
3
+ module WindowRails
4
+ class Version < Gem::Version
14
5
  end
15
6
 
16
- VERSION = Version.new('0.2.11')
7
+ VERSION = Version.new('0.2.12')
17
8
  end
@@ -445,4 +445,7 @@ module WindowRailsGenerators
445
445
  end
446
446
 
447
447
  end
448
- ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods.send :include, WindowRailsGenerators
448
+
449
+ if(defined?(ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods))
450
+ ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods.send :include, WindowRailsGenerators
451
+ end
@@ -1,3 +1,5 @@
1
+ require 'window_rails/window_rails_generators'
2
+
1
3
  module WindowRails
2
4
  class Holder
3
5
  include WindowRailsGenerators
metadata CHANGED
@@ -1,109 +1,82 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: window_rails
3
- version: !ruby/object:Gem::Version
4
- hash: 1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.12
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 2
9
- - 11
10
- version: 0.2.11
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Chris Roberts
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-02-10 00:00:00 -08:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-08-21 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: rails
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &5203900 !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 5
30
- segments:
31
- - 2
32
- - 3
33
- version: "2.3"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '2.3'
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: rails_javascript_helpers
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *5203900
25
+ - !ruby/object:Gem::Dependency
26
+ name: rails_javascript_helpers
27
+ requirement: &5203300 !ruby/object:Gem::Requirement
40
28
  none: false
41
- requirements:
29
+ requirements:
42
30
  - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 15
45
- segments:
46
- - 1
47
- - 0
48
- version: "1.0"
31
+ - !ruby/object:Gem::Version
32
+ version: '1.0'
49
33
  type: :runtime
50
- version_requirements: *id002
34
+ prerelease: false
35
+ version_requirements: *5203300
51
36
  description: Windows for Rails
52
37
  email: chrisroberts.code@gmail.com
53
38
  executables: []
54
-
55
39
  extensions: []
56
-
57
- extra_rdoc_files:
40
+ extra_rdoc_files:
58
41
  - README.rdoc
59
42
  - LICENSE
60
43
  - CHANGELOG.rdoc
61
- files:
44
+ files:
62
45
  - LICENSE
63
46
  - README.rdoc
64
47
  - CHANGELOG.rdoc
65
48
  - app/controllers/window_rails_controller.rb
66
- - lib/window_rails.rb
67
- - lib/window_rails/engine.rb
68
49
  - lib/window_rails/window_rails_view.rb
50
+ - lib/window_rails/engine.rb
51
+ - lib/window_rails/version.rb
69
52
  - lib/window_rails/window_rails_windows.rb
70
53
  - lib/window_rails/window_rails_generators.rb
71
- - lib/window_rails/version.rb
54
+ - lib/window_rails.rb
72
55
  - rails/init.rb
73
56
  - config/routes.rb
74
- has_rdoc: true
75
57
  homepage: http://github.com/chrisroberts/window_rails
76
58
  licenses: []
77
-
78
59
  post_install_message:
79
60
  rdoc_options: []
80
-
81
- require_paths:
61
+ require_paths:
82
62
  - lib
83
- required_ruby_version: !ruby/object:Gem::Requirement
63
+ required_ruby_version: !ruby/object:Gem::Requirement
84
64
  none: false
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- hash: 3
89
- segments:
90
- - 0
91
- version: "0"
92
- required_rubygems_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
93
70
  none: false
94
- requirements:
95
- - - ">="
96
- - !ruby/object:Gem::Version
97
- hash: 3
98
- segments:
99
- - 0
100
- version: "0"
71
+ requirements:
72
+ - - ! '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
101
75
  requirements: []
102
-
103
76
  rubyforge_project:
104
- rubygems_version: 1.4.2
77
+ rubygems_version: 1.8.17
105
78
  signing_key:
106
79
  specification_version: 3
107
80
  summary: Windows for Rails
108
81
  test_files: []
109
-
82
+ has_rdoc: