netzke-core 1.0.0.0 → 1.0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +4 -1
- data/config/routes.rb +4 -1
- data/lib/netzke/core.rb +13 -9
- data/lib/netzke/core/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5625e5b8c41cdcbe1a42398968f2690302f8a23f
|
4
|
+
data.tar.gz: 6a9440742423fca06ffa20e3eb303d2d6265b3e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8b1c61d559f9bff94e344741048c30894553013656602a81562664d01571d9e7f124332efa8f30efa944f092a09c0bd3a28ffc8a86242540a3b3f33fe29bdc5
|
7
|
+
data.tar.gz: 7570d49b12911111e3c1f17bdb1768f82e9bf7dbcdb57f9d8494a3af125e8e5e4112d6bcd2ecfd5964f29ec26096d5b8e0ed442749728541dd874a3074275c99
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -14,8 +14,11 @@ group :test do
|
|
14
14
|
gem 'selenium-webdriver'
|
15
15
|
end
|
16
16
|
|
17
|
-
group :development
|
17
|
+
group :development do
|
18
18
|
gem 'web-console', '~> 2.0'
|
19
|
+
end
|
20
|
+
|
21
|
+
group :development, :test do
|
19
22
|
gem 'pry-rails'
|
20
23
|
gem 'netzke-testing', github: 'netzke/netzke-testing', branch: 'master'
|
21
24
|
end
|
data/config/routes.rb
CHANGED
data/lib/netzke/core.rb
CHANGED
@@ -6,14 +6,21 @@ module Netzke
|
|
6
6
|
# You can configure Netzke::Core like this:
|
7
7
|
#
|
8
8
|
# Netzke::Core.setup do |config|
|
9
|
-
# config.ext_path = "/home/netzke/ext-
|
9
|
+
# config.ext_path = "/home/netzke/ext-5.0.0"
|
10
10
|
# config.icons_uri = "/images/famfamfam/icons"
|
11
11
|
# # ...
|
12
12
|
# end
|
13
13
|
#
|
14
14
|
# The following configuration options are available:
|
15
|
-
# * ext_path - absolute path to your Ext
|
16
|
-
# *
|
15
|
+
# * ext_path - absolute path to your Ext library
|
16
|
+
# * ext_uri - relative URI to the Ext library (defaults to "/extjs")
|
17
|
+
# * icons_uri - relative URI to the icons (defaults to "/images/icons")
|
18
|
+
# * default_routes - whether to include default Netzke routes (defaults to true)
|
19
|
+
# * ext_javascripts - extra JS dependencies to be included in the app
|
20
|
+
# * ext_stylesheets - extra CSS dependencies to be included in the app
|
21
|
+
# * js_direct_max_retries - amount of retries that the direct remoting provider will attempt in case of failure
|
22
|
+
# (defaults to 0)
|
23
|
+
# * client_notification_delay - amount of time (in ms) feedback delay is being shown (defaults to 2000)
|
17
24
|
module Core
|
18
25
|
autoload :VERSION, 'netzke/core/version'
|
19
26
|
autoload :DslConfigBase, 'netzke/core/dsl_config_base'
|
@@ -28,10 +35,6 @@ module Netzke
|
|
28
35
|
autoload :ConfigToDslDelegator, 'netzke/core/config_to_dsl_delegator'
|
29
36
|
autoload :JsonLiteral, 'netzke/core/json_literal'
|
30
37
|
|
31
|
-
# :ext (or :touch - when and if ever implemented)
|
32
|
-
mattr_accessor :platform
|
33
|
-
@@platform = :ext
|
34
|
-
|
35
38
|
mattr_accessor :ext_javascripts
|
36
39
|
@@ext_javascripts = []
|
37
40
|
|
@@ -50,16 +53,17 @@ module Netzke
|
|
50
53
|
|
51
54
|
mattr_accessor :ext_path
|
52
55
|
|
53
|
-
# Amount of retries that the direct remoting provider will attempt in case of failure
|
54
56
|
mattr_accessor :js_direct_max_retries
|
55
57
|
@@js_direct_max_retries = 0
|
56
58
|
|
57
|
-
# Amount of time feedback delay is being shown
|
58
59
|
mattr_accessor :client_notification_delay
|
59
60
|
@@client_notification_delay = 2000
|
60
61
|
|
61
62
|
mattr_accessor :with_icons
|
62
63
|
|
64
|
+
mattr_accessor :default_routes
|
65
|
+
@@default_routes = true
|
66
|
+
|
63
67
|
def self.setup
|
64
68
|
yield self
|
65
69
|
end
|
data/lib/netzke/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netzke-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Gorin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01
|
11
|
+
date: 2016-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: uglifier
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: mime-types
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "<"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "<"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3'
|
41
55
|
description: Netzke helps you build complex web UI in a modular way
|
42
56
|
email: max@goodbitlabs.com
|
43
57
|
executables: []
|