async_data_fetch 0.0.7 → 0.0.8

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: 24f30d6d46faa4d3563e43e956cd3feb6e64b9db
4
- data.tar.gz: 7d5c222d6cbc4d9b5bafd3599d09bf3d9e1cca46
3
+ metadata.gz: 352251ca6d73a240dd4ae8c1fc65e86202506324
4
+ data.tar.gz: e23a3fbdc6d3f0e3af154e0e04ca339d14f4020a
5
5
  SHA512:
6
- metadata.gz: c65d24b74e3930d3bb0edd7354131b6cbfaf40dfcce1dd44e0ffab42bafac04fbd5f13dcc0c9184c380284fa33b8313712d6cfbcc9964f64d0feeca3eb13386d
7
- data.tar.gz: aae19047467f5260bdbf9975846cf68fda552928e3ded32a38af14a17981fb0c6533e0ea3840d2a4cfb0f03cdd4500209dba2c9e92b4f3908eb58a686debf6b3
6
+ metadata.gz: b793a6c2d523538eb807b09b3439586960fa77e4c851614763fe0166a1fb83370ef4ecfc405911d15ea986c7cc81b675c0b2d1db133ba6275502fc58e1fe36d2
7
+ data.tar.gz: e20ffc6a2b1d0aad3c5473e9ec6ba69922d07766a8ec8ce207ae5b4b7b7c195053a4396fbd6383dd61f4458f9b9e46d4bfec0339736cdceb14a5d1ce5708204a
data/README.rdoc CHANGED
@@ -1,17 +1,21 @@
1
1
  = AsyncDataFetch
2
2
 
3
- This project rocks and uses MIT-LICENSE.
3
+ This project uses MIT-LICENSE.
4
4
 
5
- To use:
5
+ ---
6
6
 
7
- <%= fetch_async(model_name: "Wickwall", model_id: 90 , model_method: "plop", tag: "span", display_error: true) %>
7
+ == To use:
8
8
 
9
- model_name is the name of your model you want to fetch data from
10
- model_id is the id of the row
11
- model_method is the method you want to call
12
- tag is the wrapper tag, if absent, will be 'span'
13
- display_error is for debug, you'll see more information into the html and into the javascript console.
9
+ fetch_async(model_name: "MODEL_NAME", model_id: N , model_method: "METHOD_NAME", tag: "TAG", display_error: [true/false])
14
10
 
11
+ - *model_name* is the name of your model you want to fetch data from
12
+ - *model_id* is the id of the row
13
+ - *model_method* is the method you want to call
14
+ - *tag* is the wrapper tag, if absent, will be 'span'
15
+ - *display_error* is for debug, you'll see more information into the html and into the javascript console. Default: false
15
16
 
16
- TODO:
17
- make the controller test work. I am having issues with routing if someone want to help me.
17
+ ---
18
+
19
+ == TODO:
20
+ - make the controller test work. I am having issues with routing if someone want to help me.
21
+ - make the readme looks better. Sorry for now. If you can help, let me know !
@@ -1,3 +1,3 @@
1
1
  module AsyncDataFetch
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async_data_fetch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leo Benkel