Skip to content

Commit

Permalink
Prepare 1.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Gorin committed Jan 4, 2016
1 parent 05d97c1 commit e3fa1e0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
15 changes: 9 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
### New and improved
# v1.0.0.0 - 2016-01-04

## New and improved

* Routing (see README)

Expand All @@ -17,7 +19,7 @@

* Calling `callParent` in JS functions from the "mixins" will now properly call the previous override if that was defined; see `spec/rails_app/app/components/js_mixins.rb` for an example.

### Breaking
## Breaking changes

* A component's subfolders for client-class scripts and stylesheets have been consolidated from `javascripts`/`stylesheets` into `client`

Expand All @@ -27,11 +29,11 @@

* `Base.js_configure` has been renamed to `Base.client_class`. There's also no longer need to call it just for the purpose of including the default mixin (which is now `<component_name>/client/<component_name>.js`).

* Assigning inline JS functions inside the `client_class` (former `js_configure`) block no longer makes a JSON literal
of them; instead, wrap it with the `l` method accessible for all components:
* Assigning inline JS functions inside the `client_class` (former `js_configure`) block no longer automatically makes a JSON literal
of them; instead, you need to wrap it with the `l` method accessible for all components:

client_class do |c|
c.on_refresh = l(<<-JS)
c.netzke_on_refresh = l(<<-JS)
function(){
this.setTitle("Refresh tool clicked");
}
Expand Down Expand Up @@ -101,7 +103,7 @@

Unless a component is declared as eagerly loaded, its config is no longer accessible on the client side (which means component is meant to be dynamically loadable).

* Specifying `bbar` and other toolbars in `configure_client` (former `js_configure`) no longer works. Move them to the main `configure` method.
* Specifying `bbar` and other toolbars in `configure_client` (former `js_configure`) no longer works. They must now be in the main `configure` method.

* Default handler name for actions is now prefixed with `netzkeOn` instead of `on`. E.g., for `action :do_something`, the handler
must be called `netzkeOnDoSomething`.
Expand All @@ -118,4 +120,5 @@

* `Base::Plugin` won't set `this.cmp` for you any longer, but rather receive it as a parameter for `init()`

---
Please check [0-12](https://github.com/netzke/netzke-core/blob/0-12/CHANGELOG.md) for previous changes.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ You can access the instance of the Netzke controller via `Netzke::Base.controlle

## Requirements

* Ruby >= 2.0.0
* Ruby >= 1.9.3
* Rails ~> 4.2.0
* Ext JS = 5.1.1

Expand Down Expand Up @@ -317,4 +317,4 @@ If you feel particularily generous, you can support the author by donating a cou
* [Twitter](http://twitter.com/netzke) - latest news about the framework

---
Copyright (c) 2009-2015 [Good Bit Labs](http://goodbitlabs.com/), released under the same license as [Ext JS](https://www.sencha.com/legal/#Sencha_Ext_JS)
Copyright (c) 2009-2016 [Good Bit Labs](http://goodbitlabs.com/), released under the same license as [Ext JS](https://www.sencha.com/legal/#Sencha_Ext_JS)
2 changes: 1 addition & 1 deletion lib/netzke/core/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Netzke
module Core
VERSION = "1.0.0.0.pre4"
VERSION = "1.0.0.0"
end
end
4 changes: 2 additions & 2 deletions netzke-core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Gem::Specification.new do |s|
s.author = "Max Gorin"
s.email = "[email protected]"
s.homepage = "http://netzke.org"
s.summary = "Client-server GUI components with Sencha Ext JS and Ruby on Rails"
s.description = "Build complex web GUI in a modular way"
s.summary = "Client-server UI components with Sencha Ext JS and Ruby on Rails"
s.description = "Netzke helps you build complex web UI in a modular way"

s.files = Dir["{app,config,javascripts,lib,stylesheets,tasks}/**/*", "[A-Z]*", "init.rb"] - ["Gemfile.lock", "spec/rails_app/public/extjs"]
s.test_files = Dir["{test}/**/*"]
Expand Down

0 comments on commit e3fa1e0

Please sign in to comment.