jquery_mobile_rails 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
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
- = Jquery Mobile for Rails
3
+ = jQuery Mobile for Rails
4
4
 
5
- This gem adds the JQuery Mobile files to the rails assets pipeline.
5
+ This gem adds the jQuery Mobile files to Rails' asset pipeline.
6
6
 
7
- ==== Gem's JQuery Mobile Version
7
+ === Gem's jQuery Mobile Version
8
8
 
9
- 1.3.0 (gem 1.3.0)
9
+ 1.3.1 (gem 1.3.1)
10
10
 
11
- === Instalation
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 include to your assets pipeline the jquery mobile's javascripts, stylesheets and images.
17
+ This will add jQuery Mobile's javascripts, stylesheets and images to your app.
18
18
 
19
- Insert into your application.js manifest the jquery.mobile (or jquery.mobile.min)
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 to your application.css manifest:
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 stand alone application, or with any other gem that filters your mobile requests.
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
- Inside the test/dummy there is a simple application using a very basic jquery mobile templating.
39
+ There is a very simple application inside test/dummy demonstrating basic usage of jQuery Mobile templating.
42
40
 
43
- == Different versions
41
+ == Versioning
44
42
 
45
- By default, jquery_mobile_rails gem will provide latest stable version of JQM.
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-alpha.1, update your Gemfile to:
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", git: "git://github.com/tscolari/jquery-mobile-rails.git", branch: "1.2.0-alpha.1"
47
+ gem "jquery_mobile_rails", "1.2.0"
51
48
 
52
- == Pull Requests
49
+ === Pull Requests
53
50
 
54
- Please, this steps help a lot the merge proccess:
51
+ Please make sure to follow these steps before submitting any pull requests:
55
52
 
56
- * Copy jquery mobile files to vendor/assets/(javascripts|stylesheets|images)/
57
- * Remove version number from the file names
58
- * place images in the sub-directory named 'jquery-mobile' (vendor/assets/images/jquery-mobile)
59
- * run the rake task `jquery_mobile_rails_css_fix`. This will ensure that the images in the css will be loaded using `image-url()` instead of `url()`, and it will convert the file to scss.
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
- * JQuery Mobile Page: http://jquerymobile.com/
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
@@ -1,3 +1,3 @@
1
1
  module JqueryMobileRails
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
File without changes
@@ -0,0 +1,51 @@
1
+ Connecting to database specified by database.yml
2
+  (0.1ms) begin transaction
3
+  (0.0ms) rollback transaction
4
+  (0.0ms) begin transaction
5
+  (0.0ms) rollback transaction
6
+  (0.0ms) begin transaction
7
+  (0.0ms) rollback transaction
8
+  (0.0ms) begin transaction
9
+  (0.0ms) rollback transaction
10
+  (0.0ms) begin transaction
11
+  (0.0ms) rollback transaction
12
+  (0.0ms) begin transaction
13
+  (0.0ms) rollback transaction
14
+  (0.0ms) begin transaction
15
+  (0.0ms) rollback transaction
16
+  (0.0ms) begin transaction
17
+  (0.0ms) rollback transaction
18
+ Connecting to database specified by database.yml
19
+  (0.1ms) begin transaction
20
+  (0.0ms) rollback transaction
21
+  (0.0ms) begin transaction
22
+  (0.0ms) rollback transaction
23
+  (0.0ms) begin transaction
24
+  (0.0ms) rollback transaction
25
+  (0.0ms) begin transaction
26
+  (0.0ms) rollback transaction
27
+  (0.0ms) begin transaction
28
+  (0.0ms) rollback transaction
29
+  (0.0ms) begin transaction
30
+  (0.0ms) rollback transaction
31
+  (0.0ms) begin transaction
32
+  (0.0ms) rollback transaction
33
+  (0.0ms) begin transaction
34
+  (0.0ms) rollback transaction
35
+ Connecting to database specified by database.yml
36
+  (0.1ms) begin transaction
37
+  (0.0ms) rollback transaction
38
+  (0.0ms) begin transaction
39
+  (0.0ms) rollback transaction
40
+  (0.0ms) begin transaction
41
+  (0.0ms) rollback transaction
42
+  (0.0ms) begin transaction
43
+  (0.0ms) rollback transaction
44
+  (0.0ms) begin transaction
45
+  (0.0ms) rollback transaction
46
+  (0.0ms) begin transaction
47
+  (0.0ms) rollback transaction
48
+  (0.0ms) begin transaction
49
+  (0.0ms) rollback transaction
50
+  (0.0ms) begin transaction
51
+  (0.0ms) rollback transaction