sugar-rails 1.2.5 → 1.2.5.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.
- data/README.md +23 -1
- data/lib/sugar/rails/version.rb +1 -1
- data/vendor/assets/javascripts/sugar-core.js +4001 -0
- data/vendor/assets/javascripts/sugar-dates-only.js +3121 -0
- data/vendor/assets/javascripts/sugar-dates.js +2210 -0
- data/vendor/assets/javascripts/sugar-inflections.js +520 -0
- data/vendor/assets/javascripts/sugar.js +6211 -114
- metadata +8 -4
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
For Rails 3.1 and greater, the files will be added to the asset pipeline and available for you to use.
|
|
9
9
|
|
|
10
|
-
To enable:
|
|
10
|
+
To enable:
|
|
11
11
|
|
|
12
12
|
* Add the following line to the file `app/assets/javascripts/application.js` (or other [sprockets](https://github.com/sstephenson/sprockets) manifest):
|
|
13
13
|
|
|
@@ -15,6 +15,20 @@ To enable:
|
|
|
15
15
|
//= require sugar
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
* You can also customize the components required with the following:
|
|
19
|
+
|
|
20
|
+
``` javascript
|
|
21
|
+
//= require sugar-core
|
|
22
|
+
//= require sugar-dates
|
|
23
|
+
//= require sugar-inflections
|
|
24
|
+
|
|
25
|
+
// ... or ...
|
|
26
|
+
|
|
27
|
+
//= require sugar-dates-only
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
More details about customized builds can be found at http://sugarjs.com/customize.
|
|
31
|
+
|
|
18
32
|
|
|
19
33
|
### Installation
|
|
20
34
|
|
|
@@ -51,6 +65,14 @@ You're done!
|
|
|
51
65
|
5. Create new Pull Request
|
|
52
66
|
|
|
53
67
|
|
|
68
|
+
## Contributors
|
|
69
|
+
|
|
70
|
+
Many thanks go to the following who have contributed to making this gem even better:
|
|
71
|
+
|
|
72
|
+
* **[@sandrew](https://github.com/sandrew)**
|
|
73
|
+
* support for customized builds
|
|
74
|
+
|
|
75
|
+
|
|
54
76
|
## License
|
|
55
77
|
|
|
56
78
|
**sugar-rails**
|