cornerstone-source 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Cornerstone
2
2
  module Source
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.7"
4
4
  end
5
5
  end
@@ -1,13 +1,14 @@
1
1
  require "cornerstone-source/version"
2
2
 
3
- # Sneaky require for Rails engine environment
4
- if defined? ::Rails::Engine
5
- require "cornerstone-source/rails"
6
- elsif defined? ::Sprockets
7
- require "cornerstone-source/sprockets"
8
- end
9
-
10
3
  module Cornerstone
11
4
  module Source
5
+ if defined? ::Rails::Engine
6
+ class Rails < Rails::Engine
7
+ end
8
+ elsif defined? ::Sprockets
9
+ root_dir = File.expand_path(File.dirname(File.dirname(__FILE__)))
10
+
11
+ ::Sprockets.append_path File.join(root_dir, "source")
12
+ end
12
13
  end
13
14
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cornerstone-source
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 21
5
+ prerelease:
5
6
  segments:
6
7
  - 0
7
8
  - 1
8
- - 6
9
- version: 0.1.6
9
+ - 7
10
+ version: 0.1.7
10
11
  platform: ruby
11
12
  authors:
12
13
  - Matt Diebolt
@@ -15,21 +16,22 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2013-02-16 00:00:00 -06:00
19
- default_executable:
19
+ date: 2013-02-17 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  type: :development
23
- version_requirements: &id001 !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
24
25
  requirements:
25
26
  - - ">="
26
27
  - !ruby/object:Gem::Version
28
+ hash: 3
27
29
  segments:
28
30
  - 0
29
31
  version: "0"
30
- name: rake
31
- requirement: *id001
32
32
  prerelease: false
33
+ name: rake
34
+ version_requirements: *id001
33
35
  description: Cornerstone provides a solid foundation for working with JavaScript. It aggressively shivs many of the core classes.
34
36
  email:
35
37
  - pixie@pixieengine.com
@@ -47,8 +49,6 @@ files:
47
49
  - Rakefile
48
50
  - cornerstone-source.gemspec
49
51
  - lib/cornerstone-source.rb
50
- - lib/cornerstone-source/rails.rb
51
- - lib/cornerstone-source/sprockets.rb
52
52
  - lib/cornerstone-source/version.rb
53
53
  - source/_object_extensions.js.coffee
54
54
  - source/array_extensions.js.coffee
@@ -79,7 +79,6 @@ files:
79
79
  - test/string_extensions.coffee
80
80
  - vendor/javascripts/qunit.js
81
81
  - vendor/stylesheets/qunit.css.sass
82
- has_rdoc: true
83
82
  homepage: https://github.com/PixieEngine/Cornerstone
84
83
  licenses: []
85
84
 
@@ -89,23 +88,27 @@ rdoc_options: []
89
88
  require_paths:
90
89
  - lib
91
90
  required_ruby_version: !ruby/object:Gem::Requirement
91
+ none: false
92
92
  requirements:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
+ hash: 3
95
96
  segments:
96
97
  - 0
97
98
  version: "0"
98
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
+ none: false
99
101
  requirements:
100
102
  - - ">="
101
103
  - !ruby/object:Gem::Version
104
+ hash: 3
102
105
  segments:
103
106
  - 0
104
107
  version: "0"
105
108
  requirements: []
106
109
 
107
110
  rubyforge_project:
108
- rubygems_version: 1.3.6
111
+ rubygems_version: 1.8.25
109
112
  signing_key:
110
113
  specification_version: 3
111
114
  summary: A solid foundation for JavaScript
@@ -1,7 +0,0 @@
1
- module Cornerstone
2
- module Source
3
- class Rails < Rails::Engine
4
- # auto wire assets
5
- end
6
- end
7
- end
@@ -1,2 +0,0 @@
1
- root_dir = File.expand_path(File.dirname(File.dirname(File.dirname(__FILE__))))
2
- Sprockets.paths << File.join(root_dir, "source")