jquery_mobile_rails 1.3.0 → 1.3.1
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 +7 -0
- data/README.rdoc +22 -25
- data/lib/jquery_mobile_rails/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +51 -0
- data/vendor/assets/javascripts/jquery.mobile.js +3857 -3758
- data/vendor/assets/javascripts/jquery.mobile.min.js +7 -2
- data/vendor/assets/stylesheets/jquery.mobile.css.scss +73 -64
- data/vendor/assets/stylesheets/jquery.mobile.min.css.scss +3 -2
- data/vendor/assets/stylesheets/jquery.mobile.structure.css.scss +189 -76
- data/vendor/assets/stylesheets/jquery.mobile.structure.min.css.scss +3 -2
- data/vendor/assets/stylesheets/jquery.mobile.theme.css.scss +24 -123
- data/vendor/assets/stylesheets/jquery.mobile.theme.min.css.scss +3 -2
- metadata +15 -23
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d6e18cb902774ca95fddfa11669672ed633662d5
|
4
|
+
data.tar.gz: 5f98cd7dcbb847e3e1a1171a9bcaf6da5540448f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 945f737f18203ac6681f51afc51a4df5de33522142f98c55f5fbe9ff0ef6aea3d27937da755f0baed47e0953c0e7c61faa2114ee177bd5994b2b28de8c334924
|
7
|
+
data.tar.gz: 7571ba2aa56e081fd29e1051bc1d44980bb08ad2db2f5204cc0ec979e29a3b32b945f5cefd25083f41bd87679d3891f4818485aaed2dbda460f6f1198f46abc6
|
data/README.rdoc
CHANGED
@@ -1,67 +1,64 @@
|
|
1
1
|
= Looking for new maintainer!! - please send message
|
2
2
|
|
3
|
-
=
|
3
|
+
= jQuery Mobile for Rails
|
4
4
|
|
5
|
-
This gem adds the
|
5
|
+
This gem adds the jQuery Mobile files to Rails' asset pipeline.
|
6
6
|
|
7
|
-
|
7
|
+
=== Gem's jQuery Mobile Version
|
8
8
|
|
9
|
-
1.3.
|
9
|
+
1.3.1 (gem 1.3.1)
|
10
10
|
|
11
|
-
===
|
11
|
+
=== Installation
|
12
12
|
|
13
13
|
Add this gem to your Gemfile:
|
14
14
|
|
15
15
|
gem 'jquery_mobile_rails'
|
16
16
|
|
17
|
-
This will
|
17
|
+
This will add jQuery Mobile's javascripts, stylesheets and images to your app.
|
18
18
|
|
19
|
-
|
19
|
+
Include jquery.mobile (or jquery.mobile.min) in your application.js manifest:
|
20
20
|
|
21
21
|
//= require jquery
|
22
22
|
//= require jquery_ujs
|
23
23
|
//= require jquery.mobile
|
24
24
|
|
25
|
-
And the same
|
25
|
+
And the same in your application.css manifest:
|
26
26
|
|
27
27
|
*= require_self
|
28
28
|
*= require_tree .
|
29
29
|
*= require jquery.mobile
|
30
30
|
|
31
|
-
|
32
31
|
=== Use
|
33
32
|
|
34
|
-
I built this gem for using with the Mobylette gem, but it will work with your
|
35
|
-
|
36
|
-
For layouting using JQuery Mobile, and using all its features, I suggest your give a look at their documentation: http://jquerymobile.com/test/
|
33
|
+
I built this gem for using with the Mobylette gem, but it will work with your standalone application, or with any other gem that filters your mobile requests.
|
37
34
|
|
35
|
+
Please refer to jQuery Mobile's documentation for information on laying out your app and using all of the jQuery Mobile features: http://view.jquerymobile.com/1.3.1/dist/demos/
|
38
36
|
|
39
37
|
=== Example
|
40
38
|
|
41
|
-
|
39
|
+
There is a very simple application inside test/dummy demonstrating basic usage of jQuery Mobile templating.
|
42
40
|
|
43
|
-
==
|
41
|
+
== Versioning
|
44
42
|
|
45
|
-
|
46
|
-
Besides that you can switch to other versions by selecting a different branch.
|
43
|
+
jQuery Mobile Rails' gem versions will align with jQuery Mobile's version numbering, with the most recent gem always providing the current stable release of jQuery Mobile.
|
47
44
|
|
48
|
-
For example, to use 1.2.0
|
45
|
+
To use an older version, please be sure to reference the proper gem version in your Gemfile. For example, to use 1.2.0:
|
49
46
|
|
50
|
-
gem "jquery_mobile_rails",
|
47
|
+
gem "jquery_mobile_rails", "1.2.0"
|
51
48
|
|
52
|
-
|
49
|
+
=== Pull Requests
|
53
50
|
|
54
|
-
Please
|
51
|
+
Please make sure to follow these steps before submitting any pull requests:
|
55
52
|
|
56
|
-
* Copy
|
57
|
-
* Remove version number from the
|
58
|
-
*
|
59
|
-
*
|
53
|
+
* Copy jQuery Mobile files to vendor/assets/(javascripts|stylesheets|images)/
|
54
|
+
* Remove version number from the filenames
|
55
|
+
* Place images in the subdirectory named 'jquery-mobile' (vendor/assets/images/jquery-mobile)
|
56
|
+
* Run the rake task +jquery_mobile_rails_css_fix+. This will convert the css files to scss and ensure that the image references will properly use Rails' asset pipeline (by using +image-url+ instead of +url+).
|
60
57
|
|
61
58
|
:)
|
62
59
|
|
63
60
|
=== References
|
64
61
|
|
65
|
-
*
|
62
|
+
* jQuery Mobile Page: http://jquerymobile.com/
|
66
63
|
* Mobylette Gem: https://github.com/tscolari/mobylette
|
67
64
|
* Mobile_fu Gem: https://github.com/brendanlim/mobile-fu
|
File without changes
|
@@ -0,0 +1,51 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
8
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
12
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
17
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18
|
+
Connecting to database specified by database.yml
|
19
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
20
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
21
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
30
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
33
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
35
|
+
Connecting to database specified by database.yml
|
36
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
48
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
49
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
50
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
51
|
+
[1m[35m (0.0ms)[0m rollback transaction
|