pulse-meter 0.2.9 → 0.2.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module PulseMeter
2
- VERSION = "0.2.9"
2
+ VERSION = "0.2.10"
3
3
  end
@@ -604,7 +604,10 @@ document.startApp = ->
604
604
  dynamicWidget = new DynamicWidgetView
605
605
  dynamicWidget.render($('#widgets'))
606
606
  defaultRoute: (actions) ->
607
- @navigate('//custom')
607
+ if pageInfos.length > 0
608
+ @navigate('//pages/1')
609
+ else
610
+ @navigate('//custom')
608
611
  }
609
612
 
610
613
  appRouter = new AppRouter
@@ -750,7 +750,11 @@
750
750
  return dynamicWidget.render($('#widgets'));
751
751
  },
752
752
  defaultRoute: function(actions) {
753
- return this.navigate('//custom');
753
+ if (pageInfos.length > 0) {
754
+ return this.navigate('//pages/1');
755
+ } else {
756
+ return this.navigate('//custom');
757
+ }
754
758
  }
755
759
  });
756
760
  appRouter = new AppRouter;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulse-meter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -475,7 +475,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
475
475
  version: '0'
476
476
  segments:
477
477
  - 0
478
- hash: -3651038348403284878
478
+ hash: -3768172001030566532
479
479
  requirements: []
480
480
  rubyforge_project:
481
481
  rubygems_version: 1.8.24