netzke-workspace 0.10.1 → 0.10.2

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: acf09377965f93b4478a4fed187623d3fb3769b0
4
- data.tar.gz: 627b7779fb1c133805413fb917b63d3629f92da1
3
+ metadata.gz: 21cf531059c873f7a4259ee37b1e070d3f46a9f7
4
+ data.tar.gz: a5cd1d752712e0ade9adffe1eb51405129386f74
5
5
  SHA512:
6
- metadata.gz: b9c7dd4c9a2de5fef2b56680bdf85f6b1a34e1c8974822abbcef129e79104b87c85695ab29cb7babfcc0286fd273ce7f04a776e56e91d21ffdffc7cfa1771f45
7
- data.tar.gz: 24150341c215c0e1cee37e4d9c1921bc7c6965eb3f3a10711f2632402bc1b447cf8bb2115e1fae87f7766dda52f15a7fb2ee2bdd706073d83c398c2731fe3f7c
6
+ metadata.gz: 17c43c6db2e6b012aaebbafa47da6ae40acecaedf9578ad80058496a27daad9d98d7a7ed047bbc3c549cd379d7220981956c4d090e330758ad900c716ec8c440
7
+ data.tar.gz: c34685a8af6b00ff10634332da47a496ea0f065c8ea1c2ab6b042995fbc7a9abbbedac0c2e17e07c56be7eb6c8cb90145a4ab02a4a1edccba81e637ae46f77e0
@@ -7,6 +7,8 @@
7
7
 
8
8
  options = options || {};
9
9
 
10
+ options.newTab = options.newTab || this.items.getCount() == 0
11
+
10
12
  if (options.newTab) {
11
13
  receivingTab = this.add({layout: 'fit', closable: true});
12
14
  } else {
@@ -1,5 +1,5 @@
1
1
  module Netzke
2
2
  module Workspace
3
- VERSION = "0.10.1"
3
+ VERSION = "0.10.2"
4
4
  end
5
5
  end
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency 'netzke-core', '0.10.0'
20
+ spec.add_dependency 'netzke-core', '~> 0.10.0'
21
21
 
22
22
  spec.add_development_dependency 'rails', '~> 4.0.0'
23
23
  spec.add_development_dependency 'sqlite3'
@@ -1,6 +1,6 @@
1
1
  describe 'SomeTabPanel component', ->
2
2
  it 'loads component in new tab', (done) ->
3
- click button "New tab"
3
+ click button "Current tab"
4
4
  wait ->
5
5
  expectToSee tab "User 1"
6
6
  click button "Ping server"
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netzke-workspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Gorin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-03 00:00:00.000000000 Z
11
+ date: 2014-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: netzke-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.10.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.10.0
27
27
  - !ruby/object:Gem::Dependency