aced_rails 0.1.0 → 0.1.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.
@@ -1,4 +1,11 @@
1
+ v 1.0.1
2
+ =======
3
+
4
+ * many bugfixes
5
+ * assets pipeline configuration over initializer
6
+ * jQuery helper plugin
7
+
1
8
  v 0.0.1
2
9
  =======
3
10
 
4
- * intial release
11
+ * intial release
@@ -24,7 +24,7 @@ module AcedRails
24
24
  suffix += '-uncompressed'
25
25
  end
26
26
 
27
- result = ["aced-api.js" ,"ace/ace#{suffix}.js"]
27
+ result = ["aced-api.js", "jquery.random.js", "ace/ace#{suffix}.js"]
28
28
 
29
29
  @@themes.each do |theme|
30
30
  result << "ace/theme-#{theme}#{suffix}.js"
@@ -1,3 +1,3 @@
1
1
  module AcedRails
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -0,0 +1,31 @@
1
+ /*
2
+ * JQuery Random Plugin
3
+ *
4
+ * Adds two random number functions to jQuery -
5
+ * one to find a random number and one to find a random number between a max and min limit.
6
+ *
7
+ * Version 1.0
8
+ *
9
+ * by Christian Bruun - 23. jan 2009
10
+ *
11
+ * Like it/use it? Send me an e-mail: rockechris@rockechris.com
12
+ *
13
+ * License: None. Use and abuse. Comes with no warranty, of course!
14
+ *
15
+ *
16
+ * Usage:
17
+ * $.random(int);
18
+ * $.randomBetween(min, max);
19
+ *
20
+ * Code found at:
21
+ * http://www.merlyn.demon.co.uk/js-randm.htm
22
+ *
23
+ */
24
+ jQuery.extend({
25
+ random: function(X) {
26
+ return Math.floor(X * (Math.random() % 1));
27
+ },
28
+ randomBetween: function(MinV, MaxV) {
29
+ return MinV + jQuery.random(MaxV - MinV + 1);
30
+ }
31
+ });
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aced_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-21 00:00:00.000000000 Z
12
+ date: 2012-04-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -297,6 +297,7 @@ files:
297
297
  - vendor/assets/javascripts/ace/worker-javascript.js
298
298
  - vendor/assets/javascripts/ace/worker-json.js
299
299
  - vendor/assets/javascripts/aced-api.js.coffee
300
+ - vendor/assets/javascripts/jquery.random.js
300
301
  homepage: https://github.com/ffloyd/aced_rails
301
302
  licenses: []
302
303
  post_install_message: