netzke-core 0.12.1 → 0.12.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v0.12.2 - 2015-06-06
2
+ * Fix loading multi-instance components
3
+
1
4
  # v0.12.1 - 2015-05-31
2
5
 
3
6
  * Add `Base#client_config` shortcut to `config.client_config`, make it ActiveSupport::OrderedOptions
data/Gemfile CHANGED
@@ -15,7 +15,6 @@ group :test do
15
15
  end
16
16
 
17
17
  group :development, :test do
18
- gem 'byebug'
19
18
  gem 'web-console', '~> 2.0'
20
19
  gem 'pry-rails'
21
20
  gem 'netzke-testing', github: 'netzke/netzke-testing'
data/javascripts/ext.js CHANGED
@@ -338,13 +338,11 @@ Ext.define(null, {
338
338
  */
339
339
  netzkeComponentDelivered: function(config){
340
340
  var storedConfig = this.netzkeUndoLoadingComponent(config.itemId),
341
- callbackParam;
341
+ callbackParam = Ext.apply(config, storedConfig);
342
342
 
343
343
  config.netzkeParent = this;
344
344
 
345
- if (storedConfig.configOnly) {
346
- callbackParam = Ext.apply(config, storedConfig);
347
- } else {
345
+ if (!storedConfig.configOnly) {
348
346
  var currentCmp = Ext.ComponentManager.get(config.id);
349
347
  if (currentCmp) currentCmp.destroy();
350
348
 
@@ -1,5 +1,5 @@
1
1
  module Netzke
2
2
  module Core
3
- VERSION = "0.12.1"
3
+ VERSION = "0.12.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,41 +1,46 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netzke-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Max Gorin
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-05-31 00:00:00.000000000 Z
12
+ date: 2015-06-06 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: uglifier
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - ">="
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: '0'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - ">="
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: '0'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: execjs
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - ">="
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: '0'
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - ">="
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: '0'
41
46
  description: Build complex web GUI in a modular way
@@ -44,20 +49,11 @@ executables: []
44
49
  extensions: []
45
50
  extra_rdoc_files: []
46
51
  files:
47
- - CHANGELOG.md
48
- - Gemfile
49
- - LICENSE
50
- - README.md
51
- - Rakefile
52
- - TODO.md
53
52
  - app/controllers/netzke_controller.rb
54
- - init.rb
55
53
  - javascripts/base.js
56
54
  - javascripts/ext.js
57
55
  - javascripts/js_extensions.js
58
- - lib/netzke-core.rb
59
56
  - lib/netzke/base.rb
60
- - lib/netzke/core.rb
61
57
  - lib/netzke/core/action_config.rb
62
58
  - lib/netzke/core/actions.rb
63
59
  - lib/netzke/core/client_class.rb
@@ -76,49 +72,58 @@ files:
76
72
  - lib/netzke/core/json_literal.rb
77
73
  - lib/netzke/core/panel.rb
78
74
  - lib/netzke/core/plugins.rb
79
- - lib/netzke/core/railz.rb
80
- - lib/netzke/core/railz/action_view_ext.rb
81
75
  - lib/netzke/core/railz/action_view_ext/ext.rb
76
+ - lib/netzke/core/railz/action_view_ext.rb
82
77
  - lib/netzke/core/railz/controller_extensions.rb
83
78
  - lib/netzke/core/railz/engine.rb
84
79
  - lib/netzke/core/railz/routes.rb
85
- - lib/netzke/core/ruby_ext.rb
80
+ - lib/netzke/core/railz.rb
86
81
  - lib/netzke/core/ruby_ext/array.rb
87
82
  - lib/netzke/core/ruby_ext/hash.rb
88
83
  - lib/netzke/core/ruby_ext/time_with_zone.rb
84
+ - lib/netzke/core/ruby_ext.rb
89
85
  - lib/netzke/core/services.rb
90
86
  - lib/netzke/core/session.rb
91
87
  - lib/netzke/core/state.rb
92
88
  - lib/netzke/core/stylesheets.rb
93
89
  - lib/netzke/core/version.rb
90
+ - lib/netzke/core.rb
94
91
  - lib/netzke/plugin.rb
92
+ - lib/netzke-core.rb
95
93
  - lib/tasks/netzke_core_tasks.rake
96
- - netzke-core.gemspec
97
94
  - stylesheets/core.css
98
95
  - tasks/app_test_tasks.rake
99
96
  - tasks/rake_helper.rb
97
+ - CHANGELOG.md
98
+ - Gemfile
99
+ - LICENSE
100
+ - Rakefile
101
+ - README.md
102
+ - TODO.md
103
+ - init.rb
100
104
  homepage: http://netzke.org
101
105
  licenses: []
102
- metadata: {}
103
106
  post_install_message:
104
107
  rdoc_options: []
105
108
  require_paths:
106
109
  - lib
107
110
  required_ruby_version: !ruby/object:Gem::Requirement
111
+ none: false
108
112
  requirements:
109
- - - ">="
113
+ - - ! '>='
110
114
  - !ruby/object:Gem::Version
111
115
  version: '0'
112
116
  required_rubygems_version: !ruby/object:Gem::Requirement
117
+ none: false
113
118
  requirements:
114
- - - ">="
119
+ - - ! '>='
115
120
  - !ruby/object:Gem::Version
116
121
  version: 1.3.4
117
122
  requirements: []
118
123
  rubyforge_project:
119
- rubygems_version: 2.4.5
124
+ rubygems_version: 1.8.23.2
120
125
  signing_key:
121
- specification_version: 4
126
+ specification_version: 3
122
127
  summary: Client-server GUI components with Sencha Ext JS and Ruby on Rails
123
128
  test_files: []
124
129
  has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: c115e116b48b15a2c00f8064c391b222fc8f412d
4
- data.tar.gz: 8ad27cb9381e1917dcadcf2f5034b4d521aa911b
5
- SHA512:
6
- metadata.gz: 7835bf463b495d9d9e9f5dc4ef432f99d5833f7e4c3a7f95cbcadd9cb73505c90955d4c3abc16dfcd847ecfb320cd8b9fc4cb792406bc5581033963898c6ea5f
7
- data.tar.gz: 02ace0ae80b73910a406e67610d0a94e1ce90e36b8a241f4977666eceaad04aed67fbe0edc79669a1940e244e7eb3ffaf7154916b051e1dbeda822c98330c204
data/netzke-core.gemspec DELETED
@@ -1,20 +0,0 @@
1
- require "./lib/netzke/core/version"
2
-
3
- Gem::Specification.new do |s|
4
- s.name = "netzke-core"
5
- s.version = Netzke::Core::VERSION
6
- s.author = "Max Gorin"
7
- s.email = "max@goodbitlabs.com"
8
- s.homepage = "http://netzke.org"
9
- s.summary = "Client-server GUI components with Sencha Ext JS and Ruby on Rails"
10
- s.description = "Build complex web GUI in a modular way"
11
-
12
- s.files = Dir["{app,javascripts,lib,stylesheets,tasks}/**/*", "[A-Z]*", "init.rb"] - ["Gemfile.lock"]
13
- s.test_files = Dir["{test}/**/*"]
14
- s.require_paths = ["lib"]
15
-
16
- s.add_dependency 'uglifier'
17
- s.add_dependency 'execjs'
18
-
19
- s.required_rubygems_version = ">= 1.3.4"
20
- end