netzke-core 0.9.0 → 0.10.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +0 -1
- data/Gemfile +2 -1
- data/README.md +3 -3
- data/Rakefile +1 -1
- data/lib/netzke/base.rb +0 -3
- data/lib/netzke/core/configuration.rb +0 -9
- data/lib/netzke/core/railz/engine.rb +6 -1
- data/lib/netzke/core/version.rb +8 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c6c48d6a91a03cba633557d57832a22a7b82ca9
|
4
|
+
data.tar.gz: d03b759173db9b68cf60ef8c1c940f0c9b625817
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bd9b832b5e79e4ab4c00431fc5c042d93bd5140834fdcc2b44c952f021070d13ec589d02efea8f78084516a82662201df3dfcb770faf688fe40d5de076f60cf
|
7
|
+
data.tar.gz: 047e6ca50a2aaf9bd81c81fe8cc453c226b63454394fb1b74c6d3ecd726b4e88bd5b656307e9fc57d0317e0a407b2364de7bc5fcd5645835df7391c1bdfa3bb8
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -2,6 +2,8 @@ source 'http://rubygems.org'
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
+
gem 'netzke-testing'
|
6
|
+
|
5
7
|
# For local development
|
6
8
|
# gem 'netzke_testing', path: '~/code/netzke/netzke_testing'
|
7
9
|
|
@@ -11,5 +13,4 @@ group :test do
|
|
11
13
|
gem 'database_cleaner'
|
12
14
|
gem 'rspec-rails'
|
13
15
|
gem 'pry-rails'
|
14
|
-
gem 'netzke-testing', '~>0.10.0'
|
15
16
|
end
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Netzke Core [![Gem Version](https://fury-badge.herokuapp.com/rb/netzke-core.png)](http://badge.fury.io/rb/netzke-core) [![Build Status](https://travis-ci.org/netzke/netzke-core.png?branch=
|
1
|
+
# Netzke Core [![Gem Version](https://fury-badge.herokuapp.com/rb/netzke-core.png)](http://badge.fury.io/rb/netzke-core) [![Build Status](https://travis-ci.org/netzke/netzke-core.png?branch=master)](https://travis-ci.org/netzke/netzke-core) [![Code Climate](https://codeclimate.com/github/netzke/netzke-core.png)](https://codeclimate.com/github/netzke/netzke-core)
|
2
2
|
|
3
3
|
[RDocs](http://rdoc.info/projects/netzke/netzke-core)
|
4
4
|
|
@@ -325,8 +325,8 @@ Netzke provides support for HAML templates in case you don't want to put HTML in
|
|
325
325
|
|
326
326
|
## Requirements
|
327
327
|
|
328
|
-
* Ruby
|
329
|
-
* Rails ~>
|
328
|
+
* Ruby ~> 1.9.2
|
329
|
+
* Rails ~> 4.0.0
|
330
330
|
* Ext JS ~> 4.2.0
|
331
331
|
|
332
332
|
## Installation
|
data/Rakefile
CHANGED
@@ -8,7 +8,7 @@ Dir[File.join(File.dirname(__FILE__), './lib/tasks/*.rake')].each { |file| load
|
|
8
8
|
Dir[File.join(File.dirname(__FILE__), 'tasks/*.rake')].each { |file| load file }
|
9
9
|
|
10
10
|
YARD::Rake::YardocTask.new do |t|
|
11
|
-
t.options = ['--title', "Netzke Core #{Netzke::Core::
|
11
|
+
t.options = ['--title', "Netzke Core #{Netzke::Core::Version::STRING}"]
|
12
12
|
end
|
13
13
|
|
14
14
|
namespace :yard do
|
data/lib/netzke/base.rb
CHANGED
@@ -61,15 +61,6 @@ module Netzke::Core
|
|
61
61
|
|
62
62
|
protected
|
63
63
|
|
64
|
-
# Override to validate configuration and raise eventual exceptions
|
65
|
-
# E.g.:
|
66
|
-
#
|
67
|
-
# def validate_config(c)
|
68
|
-
# raise ArgumentError, "Grid requires a model" if c.model.nil?
|
69
|
-
# end
|
70
|
-
def validate_config(c)
|
71
|
-
end
|
72
|
-
|
73
64
|
# During the normalization of config object, +extend_item+ is being called with each item found (recursively) in there.
|
74
65
|
# For example, symbols representing nested child components get replaced with a proper config hash, same goes for actions (see +Composition+ and +Actions+ respectively).
|
75
66
|
# Override to do any additional checks/enhancements. See, for example, +Netzke::Basepack::WrapLazyLoaded+ or +Netzke::Basepack::Fields+.
|
@@ -9,7 +9,12 @@ module Netzke
|
|
9
9
|
# before loading initializers
|
10
10
|
config.before_initialize do |app|
|
11
11
|
Netzke::Core.ext_path = Rails.root.join('public', Netzke::Core.ext_uri[1..-1])
|
12
|
-
|
12
|
+
end
|
13
|
+
|
14
|
+
config.after_initialize do |app|
|
15
|
+
if Netzke::Core.with_icons.nil?
|
16
|
+
Netzke::Core.with_icons = File.exists?("#{::Rails.root}/public#{Netzke::Core.icons_uri}")
|
17
|
+
end
|
13
18
|
end
|
14
19
|
end
|
15
20
|
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: 0.
|
4
|
+
version: 0.10.0.rc1
|
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-
|
11
|
+
date: 2014-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: uglifier
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 4.0.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
|
-
version:
|
68
|
+
version: 4.0.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: sqlite3
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|