jquery_mobile_rails 1.4.2 → 1.4.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e37a97f947864642cf667084d3d5ca5a0890165
4
- data.tar.gz: ff139c1ab4bf916890ab686f326e01da4615695c
3
+ metadata.gz: 41288fb39a3f897327288165d9df98e09a056211
4
+ data.tar.gz: 666adc5a0c798e89a09e4a94cf66166b57a686cb
5
5
  SHA512:
6
- metadata.gz: d4253ca34777b40f6363c5f7a18afe1f9a21a1bc57c24e33f7c7b3e8816f32b99daf4cc8201d1209b6a3c069b0a32f8b2be0c29ccee97695269dd9ab373b87c4
7
- data.tar.gz: d6d0f90d57cac2e2dfe8cac527b96e54d58b20bfca0fbc2f956feb7f9c2f71a1935c8811c0c98203275867a038289f01f71d67289edd0c4974a42d5b52f3d3e2
6
+ metadata.gz: faad4d3fce16352441b499348d6b735a5c74bdec6293049b169def214ba7702e2bf6ead315c882e9c39452fdb117414246f2f778b878e8e95374bb68b5267179
7
+ data.tar.gz: 32fcc9568c668b4dc7efe018dd46113edc764568bb656e97882896c16749b87f99483a2477b62c8f7575a7efd059762d8ef601bef471a24ce667008350312d6f
data/README.md ADDED
@@ -0,0 +1,66 @@
1
+ # jQuery Mobile for Rails
2
+
3
+ This gem adds the jQuery Mobile files to Rails' asset pipeline.
4
+
5
+ ## Gem's jQuery Mobile Version
6
+
7
+ 1.4.3 (gem 1.4.3)
8
+
9
+ ## Installation
10
+
11
+ Add this gem to your Gemfile:
12
+
13
+ gem 'jquery_mobile_rails'
14
+
15
+ This will add jQuery Mobile's javascripts, stylesheets and images to your app.
16
+
17
+ Include jquery.mobile (or jquery.mobile.min) in your `application.js` manifest:
18
+
19
+ //= require jquery
20
+ //= require jquery_ujs
21
+ //= require jquery.mobile
22
+
23
+ And the same in your `application.css` manifest:
24
+
25
+ *= require_self
26
+ *= require_tree .
27
+ *= require jquery.mobile
28
+
29
+ __NOTE:__ You should probably remove Turbolinks from your `application.js` manifest, as it likely won't work well with jQuery Mobile.
30
+
31
+ ## Use
32
+
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.
34
+
35
+ Please refer to [jQuery Mobile's documentation](http://view.jquerymobile.com/1.4.3/dist/demos/) for information on laying out your app and using all of the jQuery Mobile features.
36
+
37
+ ## Example
38
+
39
+ There is a very simple application inside test/dummy demonstrating basic usage of jQuery Mobile templating.
40
+
41
+ ## Versioning
42
+
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.
44
+
45
+ To use an older version, please be sure to reference the proper gem version in your Gemfile. For example, to use 1.3.2:
46
+
47
+ gem "jquery_mobile_rails", "1.3.2"
48
+
49
+ ## Pull Requests
50
+
51
+ Please make sure to follow these steps before submitting any pull requests:
52
+
53
+ * Copy jQuery Mobile files to `vendor/assets/(javascripts|stylesheets|images)/`
54
+ * Remove version number from the filenames
55
+ * Run `bundle exec rake 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`).
56
+
57
+ ## References
58
+
59
+ * [jQuery Mobile Page](http://jquerymobile.com/)
60
+ * [Mobylette Gem](https://github.com/tscolari/mobylette)
61
+ * [Mobile_fu Gem](https://github.com/brendanlim/mobile-fu)
62
+
63
+ ## Authors
64
+
65
+ * [Tiago Scolari](https://github.com/tscolari)
66
+ * [Dylan Markow](https://github.com/dmarkow)
@@ -1,3 +1,3 @@
1
1
  module JqueryMobileRails
2
- VERSION = "1.4.2"
2
+ VERSION = "1.4.3"
3
3
  end