rails_script 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a45c4e0cfcd3d7119e7bbfdd5faced86fff4fdf6
4
- data.tar.gz: a2eea95db0864953d79755ba049ee60439950360
3
+ metadata.gz: b6ac3cb4d88a59c9e4b5a7a1fb9141bf3cfd1f21
4
+ data.tar.gz: 3a99481566ce0b5022fe8e46bca6ab3b9576f8c8
5
5
  SHA512:
6
- metadata.gz: 6ca7226ed715dc5e8132763055c0034433928e4b46954bfce6e89b0e322ca1a924553df64c2b771350e26b28515447bc2c09e82fa33b2110a5551af5677d6679
7
- data.tar.gz: 324e36c76dee1acfe112fe9afb781101005c303895d68f59b723efb3687e9201eda8572a12a4384a392b9a92c5a9f87bffd042c2b5258115a156850f23574ca7
6
+ metadata.gz: 99dc97fce262b95dbd2575c054dc045f5a15e2dc158ee7c60230ff266613d8dd019eed8a0df1a3db37430147badfd0ff5b2a47797df5a55d73ade8c21017b782
7
+ data.tar.gz: 267a840f12be8e1932f61c1420087819dc74d2a5a8d405fa2243494c5f4b05fb8018da3e8ac06375820a1a5e66b7b82f7f7322c00eae985ae5f87123aac9e21f
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # RailsScript
2
2
 
3
- RailsScript is a Rails-centric, object oriented, featherweight framework for writting CoffeeScript. It is optomized for the [Rails Asset Pipeline](http://guides.rubyonrails.org/asset_pipeline.html) and is compatible with [TurboLinks](https://github.com/rails/turbolinks). Using Rails controller names and actions to call JavaScript, it has never been easier to write clean, concise, and maintanable page specific JavaScript.
3
+ RailsScript is a Rails-centric, object oriented, featherweight framework for writing CoffeeScript. It is optimized for the [Rails Asset Pipeline](http://guides.rubyonrails.org/asset_pipeline.html) and is compatible with [TurboLinks](https://github.com/rails/turbolinks). Using Rails controller names and actions to call JavaScript, it has never been easier to write clean, concise, and maintanable page specific JavaScript.
4
4
 
5
5
  ## Installation
6
6
 
@@ -6,10 +6,10 @@ class App.Base
6
6
 
7
7
 
8
8
  create: ->
9
- $this.new()
10
- return
9
+ if typeof $this.new == 'function'
10
+ return $this.new()
11
11
 
12
12
 
13
13
  update: ->
14
- $this.edit()
15
- return
14
+ if typeof $this.edit == 'function'
15
+ return $this.edit()
@@ -1,3 +1,3 @@
1
1
  module RailsScript
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_script
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Pheasey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-10 00:00:00.000000000 Z
11
+ date: 2014-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler