dashing-rails 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -48,11 +48,15 @@ Key features:
48
48
 
49
49
  $ puma
50
50
 
51
- 6. Open `config/development.rb` and add:
51
+ 6. Start redis server:
52
+
53
+ $ redis-server
54
+
55
+ 7. Open `config/development.rb` and add:
52
56
 
53
57
  config.allow_concurrency = true
54
58
 
55
- 7. Point your browser at [http://localhost:3000/dashing/dashboards](http://localhost:3000/dashing/dashboards) and have fun!
59
+ 8. Point your browser at [http://0.0.0.0:9292/dashing/dashboards](http://0.0.0.0:9292/dashing/dashboards) and have fun!
56
60
 
57
61
 
58
62
  **Important Note:** *We need to update the configuration in development to handle multiple requests at the same time. One request for the page we’re working on, and another request for the SSE controller.*
@@ -121,11 +125,11 @@ Your widgets can be updated directly over HTTP. Post the data you want in json t
121
125
 
122
126
  Example:
123
127
 
124
- curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "current": 100 }' http://localhost:3000/dashing/widgets/karma
128
+ curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "current": 100 }' http://0.0.0.0:9292/dashing/widgets/karma
125
129
 
126
130
  or
127
131
 
128
- HTTParty.post('http://localhost:3000/dashing/widgets/karma',
132
+ HTTParty.post('http://0.0.0.0:9292/dashing/widgets/karma',
129
133
  body: { auth_token: "YOUR_AUTH_TOKEN", current: 1000 }.to_json)
130
134
 
131
135
  #### Dasboards
@@ -0,0 +1 @@
1
+ require File.dirname(__FILE__) + '/dashing'
@@ -1,3 +1,3 @@
1
1
  module Dashing
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dashing-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -208,6 +208,7 @@ files:
208
208
  - lib/dashing/configuration.rb
209
209
  - lib/dashing/engine.rb
210
210
  - lib/dashing/version.rb
211
+ - lib/dashing-rails.rb
211
212
  - lib/dashing.rb
212
213
  - lib/generators/dashing/install_generator.rb
213
214
  - lib/generators/dashing/job_generator.rb
@@ -279,7 +280,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
279
280
  version: '0'
280
281
  segments:
281
282
  - 0
282
- hash: -3125982429809938664
283
+ hash: 4342345080438804158
283
284
  required_rubygems_version: !ruby/object:Gem::Requirement
284
285
  none: false
285
286
  requirements:
@@ -288,7 +289,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
289
  version: '0'
289
290
  segments:
290
291
  - 0
291
- hash: -3125982429809938664
292
+ hash: 4342345080438804158
292
293
  requirements: []
293
294
  rubyforge_project:
294
295
  rubygems_version: 1.8.25