netzke-core 0.10.0 → 0.10.1

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: bca95614a587419aec53364232eec68d75204d05
4
- data.tar.gz: f61922e99c2528f588a957cac6fa5cc7830775d2
3
+ metadata.gz: c2d3974415d753788a68fa93d39bab6ae4c53a14
4
+ data.tar.gz: c7ce197f714115ef55ea6f119d9c1a7e89fbbde0
5
5
  SHA512:
6
- metadata.gz: 83d533e1d5cd4064925a616f943fe90a330e9ea05e78a18a1b967a38f4a5448a66f2efd4985ddf57c576846eefc0db3e25c554cfdbc39ed903f66a98cf0eece6
7
- data.tar.gz: e9c925e59523307ec16d16ae9728534fafa32c7ed0f7ce8e6f7478b5bae12042d5615f3ec9ca7b11321070ae835f1e08847a43e029efc19704276270614e97fb
6
+ metadata.gz: 8355b25b20420bf35a4c83c0b36483d7e331106c5a92b4a9a286eb3cb1cc38d24bebd1358d027df5b41bd41db665dcdae252e3d3f7a38b85807d30517cda79b2
7
+ data.tar.gz: 1bb1721a1f5d7d3a013a33dd916abd50ce383e820673853b513aa9793f5f863e057f222554bb810597ae089fb8171a5343f5cbc120c45c4b2107ea9bc8d50ac0
data/CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
+ # v0.10.1 - 2014-05-24
2
+
3
+ * Fix an IE8 issue (@AlexKovynev)
4
+ * Fix issue with multi-instance loading
5
+
1
6
  # v0.10.0 - 2014-04-02
7
+
2
8
  * Rails 4
3
9
 
4
10
  # v0.9.0 - 2014-02-08
data/javascripts/base.js CHANGED
@@ -107,7 +107,7 @@ Ext.define("Netzke.classes.Core.Mixin", {
107
107
  } else {
108
108
  for (var instr in instructions) {
109
109
  var args = instructions[instr];
110
- if(args instanceof Object && Ext.isEmpty(args))
110
+ if(args instanceof Object && (Ext.Object.getSize(args)==0))
111
111
  args = [];
112
112
 
113
113
  if (Ext.isFunction(this[instr])) {
data/lib/netzke/base.rb CHANGED
@@ -131,7 +131,8 @@ module Netzke
131
131
  @item_id = conf[:item_id] || @name
132
132
 
133
133
  # JS full ID. Similar to +path+, but composed of item_id's. Differs from @path when multiple instances are being loaded.
134
- @js_id = parent.nil? ? @item_id : [parent.js_id, @item_id].join("__")
134
+ @js_id = conf[:js_id]
135
+ @js_id ||= parent.nil? ? @item_id : [parent.js_id, @item_id].join("__")
135
136
 
136
137
  # TODO: get rid of this in 0.9
137
138
  @flash = []
@@ -131,6 +131,7 @@ module Netzke::Core
131
131
  cfg = ComponentConfig.new(name, self)
132
132
  cfg.client_config = options[:client_config] || {}
133
133
  cfg.item_id = options[:item_id]
134
+ cfg.js_id = options[:js_id]
134
135
  send("#{name}_component", cfg)
135
136
  cfg.set_defaults!
136
137
  cfg.klass.new(cfg, self)
@@ -1,5 +1,5 @@
1
1
  module Netzke
2
2
  module Core
3
- VERSION = "0.10.0"
3
+ VERSION = "0.10.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netzke-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
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-02 00:00:00.000000000 Z
11
+ date: 2014-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uglifier
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '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'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: execjs
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: 4.0.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: 4.0.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: redcarpet
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: yard
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: coffee-script
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  description: Build complex web GUI in a modular way
@@ -114,20 +114,11 @@ executables: []
114
114
  extensions: []
115
115
  extra_rdoc_files: []
116
116
  files:
117
- - CHANGELOG.md
118
- - Gemfile
119
- - LICENSE
120
- - README.md
121
- - Rakefile
122
- - TODO.md
123
117
  - app/controllers/netzke_controller.rb
124
- - init.rb
125
118
  - javascripts/base.js
126
119
  - javascripts/ext.js
127
120
  - javascripts/js_extensions.js
128
- - lib/netzke-core.rb
129
121
  - lib/netzke/base.rb
130
- - lib/netzke/core.rb
131
122
  - lib/netzke/core/action_config.rb
132
123
  - lib/netzke/core/actions.rb
133
124
  - lib/netzke/core/client_class.rb
@@ -146,26 +137,35 @@ files:
146
137
  - lib/netzke/core/json_literal.rb
147
138
  - lib/netzke/core/panel.rb
148
139
  - lib/netzke/core/plugins.rb
149
- - lib/netzke/core/railz.rb
150
- - lib/netzke/core/railz/action_view_ext.rb
151
140
  - lib/netzke/core/railz/action_view_ext/ext.rb
141
+ - lib/netzke/core/railz/action_view_ext.rb
152
142
  - lib/netzke/core/railz/controller_extensions.rb
153
143
  - lib/netzke/core/railz/engine.rb
154
144
  - lib/netzke/core/railz/routes.rb
155
- - lib/netzke/core/ruby_ext.rb
145
+ - lib/netzke/core/railz.rb
156
146
  - lib/netzke/core/ruby_ext/array.rb
157
147
  - lib/netzke/core/ruby_ext/hash.rb
158
148
  - lib/netzke/core/ruby_ext/time_with_zone.rb
149
+ - lib/netzke/core/ruby_ext.rb
159
150
  - lib/netzke/core/services.rb
160
151
  - lib/netzke/core/session.rb
161
152
  - lib/netzke/core/state.rb
162
153
  - lib/netzke/core/stylesheets.rb
163
154
  - lib/netzke/core/version.rb
155
+ - lib/netzke/core.rb
164
156
  - lib/netzke/plugin.rb
157
+ - lib/netzke-core.rb
165
158
  - lib/tasks/netzke_core_tasks.rake
166
159
  - stylesheets/core.css
167
160
  - tasks/app_test_tasks.rake
168
161
  - tasks/rake_helper.rb
162
+ - CHANGELOG.md
163
+ - Gemfile
164
+ - LICENSE
165
+ - Rakefile
166
+ - README.md
167
+ - TODO.md
168
+ - init.rb
169
169
  homepage: http://netzke.org
170
170
  licenses: []
171
171
  metadata: {}
@@ -175,17 +175,17 @@ require_paths:
175
175
  - lib
176
176
  required_ruby_version: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ">="
178
+ - - '>='
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  requirements:
183
- - - ">="
183
+ - - '>='
184
184
  - !ruby/object:Gem::Version
185
185
  version: 1.3.4
186
186
  requirements: []
187
187
  rubyforge_project:
188
- rubygems_version: 2.2.0
188
+ rubygems_version: 2.0.14
189
189
  signing_key:
190
190
  specification_version: 4
191
191
  summary: Client-server GUI components with Sencha Ext JS and Ruby on Rails