sencha-touch-rails 1.2.0 → 2.0.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -1
- data/Gemfile +2 -7
- data/LICENSE.txt +26 -0
- data/README.md +76 -29
- data/Rakefile +17 -0
- data/bin/download_sencha_touch.rb +34 -3
- data/lib/compass_config.rb +19 -0
- data/lib/sencha-touch-rails.rb +1 -1
- data/lib/sencha-touch/rails/engine.rb +7 -0
- data/lib/sencha-touch/rails/version.rb +2 -2
- data/lib/theme_images.rb +1 -1
- data/sencha-touch-rails.gemspec +2 -2
- data/vendor/assets/javascripts/sencha-touch-rails.js +50 -0
- data/vendor/assets/stylesheets/sencha-touch-rails.scss +16 -0
- metadata +15 -16
- data/lib/sass_load_paths.rb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b433c432852fb3df752bdecc045378233d120676
|
4
|
+
data.tar.gz: a6ce00121bb0b3ef29b9d6c40596ec500a69d3e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5dac96278eb4e8b60a5f15638f012af36ce8f685f6f474215f881346547e3e9556d702f112121b92a4a5f7a6bc106f2f76c9c362e9e75c94e3d6699915afaf3
|
7
|
+
data.tar.gz: 32959938afbb7b16b0bdc4456c97e6ab588a2a24ea614d52f6dbc7abc3eb4510fa0712ebf73ecdfbd5b344d3837b6709ac2769dbd30a8fcde9383e000fd867f0
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -1,10 +1,5 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
# Specify your gem's dependencies in jquery-rails.gemspec
|
4
3
|
gemspec
|
5
|
-
|
6
|
-
|
7
|
-
#gem "rack"
|
8
|
-
#gem "sprockets"
|
9
|
-
#gem "compass"
|
10
|
-
#gem "sass"
|
4
|
+
|
5
|
+
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
Copyright (c) 2014 AlexVangelov
|
2
|
+
|
3
|
+
AV License
|
4
|
+
|
5
|
+
Respect the work of the creator and have fun! 2011 Alex Vangelov
|
6
|
+
|
7
|
+
MIT License
|
8
|
+
|
9
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
10
|
+
a copy of this software and associated documentation files (the
|
11
|
+
"Software"), to deal in the Software without restriction, including
|
12
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
13
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
14
|
+
permit persons to whom the Software is furnished to do so, subject to
|
15
|
+
the following conditions:
|
16
|
+
|
17
|
+
The above copyright notice and this permission notice shall be
|
18
|
+
included in all copies or substantial portions of the Software.
|
19
|
+
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
21
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
22
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
23
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
24
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
25
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
26
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -2,43 +2,90 @@
|
|
2
2
|
|
3
3
|
This gem provides:
|
4
4
|
|
5
|
-
* Sencha Touch 2.
|
5
|
+
* Sencha Touch 2.4.1 GPL
|
6
6
|
|
7
|
-
##
|
7
|
+
## Installation
|
8
8
|
|
9
|
-
|
9
|
+
Add this line to your application's Gemfile:
|
10
10
|
|
11
|
-
|
11
|
+
gem 'sencha-touch-rails'
|
12
12
|
|
13
|
-
|
14
|
-
or
|
15
|
-
//= require sencha-touch-all-debug
|
16
|
-
|
17
|
-
Create `app/assets/stylesheets/sencha-touch.scss` and add the following lines in it:
|
13
|
+
And then execute:
|
18
14
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
15
|
+
$ bundle install
|
16
|
+
|
17
|
+
Keep in mind that Sencha Touch GPL is downloaded during the gem instalation and can take a long time. You can monitor download progress by install it yourself as:
|
18
|
+
|
19
|
+
$ gem install sencha-touch-rails --verbose
|
20
|
+
|
21
|
+
The Sencha Touch files will be added to the asset pipeline and available to use.
|
22
|
+
|
23
|
+
Add to `app/assets/javascripts/application.js`:
|
24
|
+
|
25
|
+
//= require sencha-touch-rails
|
26
|
+
|
27
|
+
Add to `app/assets/stylesheets/application.css` (you can change the theme with your favorite)
|
28
|
+
|
29
|
+
*= require sencha-touch/themes/sencha-touch
|
30
|
+
|
31
|
+
To customize Sencha Touch, create `app/assets/stylesheets/sencha-touch.scss` and use:
|
32
|
+
|
33
|
+
@import 'sencha-touch/default';
|
34
|
+
|
35
|
+
@import 'sencha-touch/default/src/Class';
|
36
|
+
@import 'sencha-touch/default/src/Button';
|
37
|
+
@import 'sencha-touch/default/src/Panel';
|
38
|
+
@import 'sencha-touch/default/src/Sheet';
|
39
|
+
@import 'sencha-touch/default/src/MessageBox';
|
40
|
+
@import 'sencha-touch/default/src/Toolbar';
|
41
|
+
@import 'sencha-touch/default/src/Toast';
|
42
|
+
@import 'sencha-touch/default/src/Menu';
|
43
|
+
@import 'sencha-touch/default/src/carousel/Carousel';
|
44
|
+
@import 'sencha-touch/default/src/form/Panel';
|
45
|
+
@import 'sencha-touch/default/src/form/FieldSet';
|
46
|
+
@import 'sencha-touch/default/src/field/Field';
|
47
|
+
@import 'sencha-touch/default/src/field/Checkbox';
|
48
|
+
@import 'sencha-touch/default/src/field/Radio';
|
49
|
+
@import 'sencha-touch/default/src/field/Search';
|
50
|
+
@import 'sencha-touch/default/src/field/Select';
|
51
|
+
@import 'sencha-touch/default/src/field/Slider';
|
52
|
+
@import 'sencha-touch/default/src/field/Spinner';
|
53
|
+
@import 'sencha-touch/default/src/field/TextArea';
|
54
|
+
@import 'sencha-touch/default/src/dataview/IndexBar';
|
55
|
+
@import 'sencha-touch/default/src/dataview/List';
|
56
|
+
@import 'sencha-touch/default/src/picker/Picker';
|
57
|
+
@import 'sencha-touch/default/src/plugin/ListPaging';
|
58
|
+
@import 'sencha-touch/default/src/plugin/PullRefresh';
|
59
|
+
@import 'sencha-touch/default/src/slider/Slider';
|
60
|
+
@import 'sencha-touch/default/src/slider/Toggle';
|
61
|
+
@import 'sencha-touch/default/src/tab/Panel';
|
62
|
+
@import 'sencha-touch/default/src/grid/Grid';
|
37
63
|
|
38
64
|
You can include more icon styles by adding:
|
39
65
|
|
40
|
-
|
66
|
+
@include pictos-iconmask('wifi');
|
41
67
|
|
42
68
|
More about Sencha Touch Theming:
|
43
69
|
|
44
|
-
[http://www.sencha.com/blog/an-introduction-to-theming-sencha-touch](http://www.sencha.com/blog/an-introduction-to-theming-sencha-touch)
|
70
|
+
[http://www.sencha.com/blog/an-introduction-to-theming-sencha-touch](http://www.sencha.com/blog/an-introduction-to-theming-sencha-touch)
|
71
|
+
|
72
|
+
Simple usage with coffee script:
|
73
|
+
|
74
|
+
Ext.application
|
75
|
+
name: 'Sencha',
|
76
|
+
launch: ->
|
77
|
+
Ext.create "Ext.tab.Panel",
|
78
|
+
fullscreen: true,
|
79
|
+
tabBarPosition: 'bottom',
|
80
|
+
items: [
|
81
|
+
{
|
82
|
+
title: 'Home',
|
83
|
+
iconCls: 'home',
|
84
|
+
html: "Home"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
title: 'Settings',
|
88
|
+
iconCls: 'settings',
|
89
|
+
html: "Settings"
|
90
|
+
}
|
91
|
+
]
|
data/Rakefile
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'bundler'
|
2
|
+
require 'fileutils'
|
2
3
|
Bundler::GemHelper.install_tasks
|
3
4
|
|
4
5
|
task :default
|
@@ -8,3 +9,19 @@ import 'bin/download_sencha_touch.rb'
|
|
8
9
|
task :download_sencha_touch do
|
9
10
|
download_sencha_touch
|
10
11
|
end
|
12
|
+
|
13
|
+
task :install_sencha_touch do
|
14
|
+
FileUtils.mv "sencha-touch/touch-2.4.1/src","vendor/assets/javascripts/sencha-touch"
|
15
|
+
FileUtils.mv "sencha-touch/touch-2.4.1/resources/themes/stylesheets/sencha-touch","vendor/assets/stylesheets/sencha-touch"
|
16
|
+
FileUtils.mv "sencha-touch/touch-2.4.1/resources/sass", "vendor/assets/stylesheets/sencha-touch/themes"
|
17
|
+
FileUtils.mv "sencha-touch/touch-2.4.1/resources/themes/fonts", "vendor/assets/fonts"
|
18
|
+
FileUtils.mv "sencha-touch/touch-2.4.1/resources/themes/images", "vendor/assets/images/sencha-touch"
|
19
|
+
FileUtils.mv "sencha-touch/touch-2.4.1/resources/themes/vendor/compass-recipes", "vendor/compass-recipes"
|
20
|
+
FileUtils.mv [
|
21
|
+
"sencha-touch/touch-2.4.1/sencha-touch-all-debug.js",
|
22
|
+
"sencha-touch/touch-2.4.1/sencha-touch-all.js",
|
23
|
+
"sencha-touch/touch-2.4.1/sencha-touch-debug.js",
|
24
|
+
"sencha-touch/touch-2.4.1/sencha-touch.js"
|
25
|
+
],
|
26
|
+
"vendor/assets/javascripts"
|
27
|
+
end
|
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
require 'rubygems/user_interaction'
|
3
2
|
require 'open-uri'
|
4
3
|
require 'zip'
|
5
4
|
require 'fileutils'
|
@@ -19,7 +18,7 @@ def download_sencha_touch(sencha_touch_zip=nil)
|
|
19
18
|
:progress_proc => lambda {|s|
|
20
19
|
print "Downloading #{s} of #{size} \r"
|
21
20
|
},
|
22
|
-
"User-Agent" => "Mozilla/5.0 (X11; U; Linux; i686; en-US; rv:1.6) Gecko Debian/1.6-7","Referer" => "http://
|
21
|
+
"User-Agent" => "Mozilla/5.0 (X11; U; Linux; i686; en-US; rv:1.6) Gecko Debian/1.6-7","Referer" => "http://rubygems.org/gems/sencha-touch-rails") {|zf|
|
23
22
|
Zip::File.open(zf.path) do |zipfile|
|
24
23
|
zipfile.each{|e|
|
25
24
|
print "Extracting #{File.basename(e.to_s)} \r"
|
@@ -29,5 +28,37 @@ def download_sencha_touch(sencha_touch_zip=nil)
|
|
29
28
|
}
|
30
29
|
end
|
31
30
|
}
|
32
|
-
|
31
|
+
FileUtils.mv "sencha-touch/touch-2.4.1/src","../vendor/assets/javascripts/sencha-touch"
|
32
|
+
FileUtils.mv "sencha-touch/touch-2.4.1/resources/themes/stylesheets/sencha-touch","../vendor/assets/stylesheets/sencha-touch"
|
33
|
+
FileUtils.mv "sencha-touch/touch-2.4.1/resources/sass", "../vendor/assets/stylesheets/sencha-touch/themes"
|
34
|
+
FileUtils.mv "sencha-touch/touch-2.4.1/resources/themes/fonts", "../vendor/assets/fonts"
|
35
|
+
FileUtils.mv "sencha-touch/touch-2.4.1/resources/themes/images", "../vendor/assets/images"
|
36
|
+
FileUtils.mv "sencha-touch/touch-2.4.1/resources/themes/vendor/compass-recipes", "../vendor/compass-recipes"
|
37
|
+
FileUtils.mv [
|
38
|
+
"sencha-touch/touch-2.4.1/sencha-touch-all-debug.js",
|
39
|
+
"sencha-touch/touch-2.4.1/sencha-touch-all.js",
|
40
|
+
"sencha-touch/touch-2.4.1/sencha-touch-debug.js",
|
41
|
+
"sencha-touch/touch-2.4.1/sencha-touch.js"
|
42
|
+
], "../vendor/assets/javascripts"
|
43
|
+
|
44
|
+
[# patch for newest compass
|
45
|
+
"../vendor/assets/stylesheets/sencha-touch/base/src/_ProgressIndicator.scss",
|
46
|
+
"../vendor/assets/stylesheets/sencha-touch/tizen/base/src/_Mask.scss",
|
47
|
+
"../vendor/compass-recipes/stylesheets/recipes/shared/_user-select.scss"
|
48
|
+
].each do |filename|
|
49
|
+
text = File.read(filename)
|
50
|
+
puts = text.gsub("@include experimental(", "@include animation-duration(")
|
51
|
+
File.open(filename, "w") { |file| file << puts }
|
52
|
+
end
|
53
|
+
sencha_base = "../vendor/assets/stylesheets/sencha-touch/_base.scss"
|
54
|
+
patch = "$experimental-support-for-svg: false;
|
55
|
+
$experimental-support-for-webkit: false;
|
56
|
+
$experimental-support-for-mozilla: false;
|
57
|
+
$experimental-support-for-opera: false;
|
58
|
+
$experimental-support-for-pie: false;
|
59
|
+
@import \"compass/css3/box\";
|
60
|
+
"
|
61
|
+
tmp_base = File.read(sencha_base)
|
62
|
+
File.open(sencha_base, "w") { |file| file << patch << tmp_base }
|
63
|
+
puts "Download and Extract Sencha Touch [OK] "
|
33
64
|
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
dir = File.dirname(__FILE__)
|
2
|
+
# Include compass-recipes
|
3
|
+
require File.join(dir, '../vendor', 'compass-recipes', 'config')
|
4
|
+
|
5
|
+
Compass::BrowserSupport.add_support('repeating-linear-gradient', 'webkit', 'moz', 'o', 'ms')
|
6
|
+
Compass::Frameworks.register 'sencha-touch', dir
|
7
|
+
|
8
|
+
module Compass
|
9
|
+
module Configuration
|
10
|
+
module Defaults
|
11
|
+
def default_fonts_dir
|
12
|
+
"vendor/assets/fonts"
|
13
|
+
end
|
14
|
+
def default_project_path
|
15
|
+
File.expand_path('../../',__FILE__)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/lib/sencha-touch-rails.rb
CHANGED
@@ -2,6 +2,13 @@
|
|
2
2
|
module SenchaTouch
|
3
3
|
module Rails
|
4
4
|
class Engine < ::Rails::Engine
|
5
|
+
initializer "add compass assets" do |app|
|
6
|
+
#Rails.application.config.assets.precompile += %w{ bookmarklet.css }
|
7
|
+
#Rails.application.config.assets.precompile += %w{ bookmarklet.js }
|
8
|
+
app.config.assets.paths << "#{Gem.loaded_specs['compass-core'].full_gem_path}/stylesheets"
|
9
|
+
app.config.assets.paths << "#{Gem.loaded_specs['compass-blueprint'].full_gem_path}/framework/blueprint/stylesheets"
|
10
|
+
app.config.assets.paths << root.join("vendor", "compass-recipes", "stylesheets")
|
11
|
+
end
|
5
12
|
end
|
6
13
|
end
|
7
14
|
end
|
data/lib/theme_images.rb
CHANGED
@@ -4,7 +4,7 @@ module SenchaTouch
|
|
4
4
|
module ThemeImages
|
5
5
|
def theme_image(theme, path, mime_type = nil)
|
6
6
|
path = path.value
|
7
|
-
images_path = File.join(File.expand_path('../../',__FILE__), "vendor/assets", "images", theme.value)
|
7
|
+
images_path = File.join(File.expand_path('../../',__FILE__), "vendor/assets", "images", theme.value || "default")
|
8
8
|
real_path = File.join(images_path, path)
|
9
9
|
inline_image_string(data(real_path), compute_mime_type(path, mime_type))
|
10
10
|
end
|
data/sencha-touch-rails.gemspec
CHANGED
@@ -10,13 +10,13 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.homepage = "http://rubygems.org/gems/sencha-touch-rails"
|
11
11
|
s.summary = "Using Sencha Touch with Rails"
|
12
12
|
s.description = "This gem provides Sencha Touch GPL to Rails assets pipeline"
|
13
|
+
s.licenses = ["AV","MIT"]
|
13
14
|
|
14
15
|
s.required_rubygems_version = ">= 1.3.6"
|
15
16
|
s.rubyforge_project = "sencha-touch-rails"
|
16
17
|
|
17
|
-
s.add_dependency "railties", ">= 3.2.1", "< 5.0"
|
18
|
-
#s.add_dependency "thor", "~> 0.14"
|
19
18
|
s.add_dependency "compass", ">= 1.0.1"
|
19
|
+
s.add_dependency "compass-blueprint", ">= 1.0.0"
|
20
20
|
|
21
21
|
s.files = `git ls-files`.split("\n")
|
22
22
|
s.extensions = 'ext/mkrf_conf.rb'
|
@@ -0,0 +1,50 @@
|
|
1
|
+
/*
|
2
|
+
This file includes Senchca Touch javascrip files in Rails Asset Pipeline
|
3
|
+
@author Alex Vangelov <email@data.bg>
|
4
|
+
|
5
|
+
GNU General Public License Usage
|
6
|
+
This file may be used under the terms of the GNU General Public License version 3.0 as
|
7
|
+
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
8
|
+
packaging of this file.
|
9
|
+
|
10
|
+
Please review the following information to ensure the GNU General Public License version 3.0
|
11
|
+
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
12
|
+
|
13
|
+
If you are unsure which license is appropriate for your use, please contact the sales department
|
14
|
+
at http://www.sencha.com/contact.
|
15
|
+
*/
|
16
|
+
|
17
|
+
//= require sencha-touch/core/Ext
|
18
|
+
//= require sencha-touch/core/version/Version
|
19
|
+
//= require sencha-touch/core/lang/String
|
20
|
+
//= require sencha-touch/core/lang/Array
|
21
|
+
//= require sencha-touch/core/lang/Number
|
22
|
+
//= require sencha-touch/core/lang/Object
|
23
|
+
//= require sencha-touch/core/lang/Function
|
24
|
+
//= require sencha-touch/core/lang/JSON
|
25
|
+
//= require sencha-touch/core/lang/Error
|
26
|
+
//= require sencha-touch/core/lang/Date
|
27
|
+
//= require sencha-touch/core/class/Base
|
28
|
+
//= require sencha-touch/core/class/Class
|
29
|
+
//= require sencha-touch/core/class/ClassManager
|
30
|
+
//= require sencha-touch/core/class/Loader
|
31
|
+
//= require sencha-touch/core/EventManager
|
32
|
+
//= require sencha-touch/core/Ext-more
|
33
|
+
//= require sencha-touch/env/Browser
|
34
|
+
//= require sencha-touch/env/OS
|
35
|
+
//= require sencha-touch/env/Feature
|
36
|
+
//= require sencha-touch/dom/Query
|
37
|
+
//= require sencha-touch/dom/Helper
|
38
|
+
//= require sencha-touch/mixin/Identifiable
|
39
|
+
//= require sencha-touch/dom/Element
|
40
|
+
//= require sencha-touch/dom/Element.static
|
41
|
+
//= require sencha-touch/dom/Element.alignment
|
42
|
+
//= require sencha-touch/dom/Element.insertion
|
43
|
+
//= require sencha-touch/dom/Element.position
|
44
|
+
//= require sencha-touch/dom/Element.style
|
45
|
+
//= require sencha-touch/dom/Element.traversal
|
46
|
+
//= require sencha-touch/dom/CompositeElementLite
|
47
|
+
|
48
|
+
Ext.Loader.setPath({
|
49
|
+
'Ext': 'assets/sencha-touch'
|
50
|
+
});
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/*
|
2
|
+
This file includes Senchca Touch base stylesheet files in Rails Asset Pipeline
|
3
|
+
@author Alex Vangelov <email@data.bg>
|
4
|
+
|
5
|
+
GNU General Public License Usage
|
6
|
+
This file may be used under the terms of the GNU General Public License version 3.0 as
|
7
|
+
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
8
|
+
packaging of this file.
|
9
|
+
|
10
|
+
Please review the following information to ensure the GNU General Public License version 3.0
|
11
|
+
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
12
|
+
|
13
|
+
If you are unsure which license is appropriate for your use, please contact the sales department
|
14
|
+
at http://www.sencha.com/contact.
|
15
|
+
*/
|
16
|
+
@import 'sencha-touch/base';
|
metadata
CHANGED
@@ -1,49 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sencha-touch-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Vangelov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: compass
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '5.0'
|
19
|
+
version: 1.0.1
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '5.0'
|
26
|
+
version: 1.0.1
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
|
-
name: compass
|
28
|
+
name: compass-blueprint
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
31
|
- - ">="
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
version: 1.0.
|
33
|
+
version: 1.0.0
|
40
34
|
type: :runtime
|
41
35
|
prerelease: false
|
42
36
|
version_requirements: !ruby/object:Gem::Requirement
|
43
37
|
requirements:
|
44
38
|
- - ">="
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.0.
|
40
|
+
version: 1.0.0
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: rubyzip
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -71,19 +65,24 @@ files:
|
|
71
65
|
- CHANGELOG.md
|
72
66
|
- Gemfile
|
73
67
|
- Gemfile.lock
|
68
|
+
- LICENSE.txt
|
74
69
|
- README.md
|
75
70
|
- Rakefile
|
76
71
|
- bin/download_sencha_touch.rb
|
77
72
|
- ext/mkrf_conf.rb
|
78
|
-
- lib/
|
73
|
+
- lib/compass_config.rb
|
79
74
|
- lib/sencha-touch-rails.rb
|
80
75
|
- lib/sencha-touch/rails.rb
|
81
76
|
- lib/sencha-touch/rails/engine.rb
|
82
77
|
- lib/sencha-touch/rails/version.rb
|
83
78
|
- lib/theme_images.rb
|
84
79
|
- sencha-touch-rails.gemspec
|
80
|
+
- vendor/assets/javascripts/sencha-touch-rails.js
|
81
|
+
- vendor/assets/stylesheets/sencha-touch-rails.scss
|
85
82
|
homepage: http://rubygems.org/gems/sencha-touch-rails
|
86
|
-
licenses:
|
83
|
+
licenses:
|
84
|
+
- AV
|
85
|
+
- MIT
|
87
86
|
metadata: {}
|
88
87
|
post_install_message:
|
89
88
|
rdoc_options: []
|
data/lib/sass_load_paths.rb
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
module Sass::Rails
|
2
|
-
class SassTemplate
|
3
|
-
def sass_options_from_rails(scope)
|
4
|
-
options = scope.environment.context_class.sass_config
|
5
|
-
options.load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/compass/stylesheets"
|
6
|
-
options.load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/blueprint/stylesheets"
|
7
|
-
return options
|
8
|
-
end
|
9
|
-
end
|
10
|
-
end
|