rad_common_interface 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/views/themes/default/more.html.haml +1 -1
- data/readme.md +6 -4
- metadata +26 -36
@@ -1,6 +1,6 @@
|
|
1
1
|
- more = object.more || object.content
|
2
2
|
- if object.core? or present?(more)
|
3
|
-
- raise "you should provide unique id for b.more element (to allow it remember
|
3
|
+
- raise "you should provide unique id for b.more element (to allow it remember its state in ajax requests')!" unless object.id?
|
4
4
|
- core_id, more_id = "#{object.id}_core", "#{object.id}_more"
|
5
5
|
= tag :span, object.core, id: core_id if object.core?
|
6
6
|
- if more.present?
|
data/readme.md
CHANGED
@@ -3,11 +3,11 @@
|
|
3
3
|
## Rad Face
|
4
4
|
[Rad Face][face] is a tool for **Rapid Web Interface Creation** for the Rad framework.
|
5
5
|
|
6
|
-
Instead of trying to provide one universal user interface API (like GWT) to fit all needs, the [Face][face] **provides you with tools that ease creation of
|
6
|
+
Instead of trying to provide one universal user interface API (like GWT) to fit all needs, the [Face][face] **provides you with tools that ease creation of Your own custom interface**.
|
7
7
|
|
8
|
-
Define Your design only one time, in one place, and then reuse it, forget about HTML and CSS in
|
8
|
+
Define Your design only one time, in one place, and then reuse it, forget about HTML and CSS in Your Views.
|
9
9
|
|
10
|
-
It acts like an abstraction layer, allowing you to define
|
10
|
+
It acts like an abstraction layer, allowing you to define Your custom API (or DSL if you like) to build Your user interface. Key point here - it allows you build such API **very quick and easy**.
|
11
11
|
|
12
12
|
## Demo
|
13
13
|
|
@@ -37,7 +37,7 @@ Real-life sample - [http://robotigra.ru](http://robotigra.ru), [http://ruby-lang
|
|
37
37
|
$ sudo gem install common_interface
|
38
38
|
|
39
39
|
**Notice!** Default UI is the UI I build for my own need, it's not an universal solution (and maybe you can also use it).
|
40
|
-
But to create Your own design you need to create
|
40
|
+
But to create Your own design you need to create Your own 'Default UI', using this code as a sample.
|
41
41
|
|
42
42
|
## Development
|
43
43
|
|
@@ -46,6 +46,8 @@ But to create Your own design you need to create your own 'Default UI', using th
|
|
46
46
|
$ lessc style.less > style.css
|
47
47
|
$ lessc reset.less > reset.css
|
48
48
|
|
49
|
+
## License
|
50
|
+
|
49
51
|
Copyright (c) Alexey Petrushin http://petrush.in, released under the MIT license.
|
50
52
|
|
51
53
|
[face]: http://github.com/alexeypetrushin/rad_face
|
metadata
CHANGED
@@ -1,38 +1,33 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rad_common_interface
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.13
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Alexey Petrushin
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-09-22 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
17
15
|
name: rad_face
|
18
|
-
requirement: &
|
16
|
+
requirement: &2844530 !ruby/object:Gem::Requirement
|
19
17
|
none: false
|
20
|
-
requirements:
|
21
|
-
- -
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version:
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
24
22
|
type: :runtime
|
25
23
|
prerelease: false
|
26
|
-
version_requirements: *
|
24
|
+
version_requirements: *2844530
|
27
25
|
description:
|
28
26
|
email:
|
29
27
|
executables: []
|
30
|
-
|
31
28
|
extensions: []
|
32
|
-
|
33
29
|
extra_rdoc_files: []
|
34
|
-
|
35
|
-
files:
|
30
|
+
files:
|
36
31
|
- Rakefile
|
37
32
|
- readme.md
|
38
33
|
- lib/common_interface/gems.rb
|
@@ -172,33 +167,28 @@ files:
|
|
172
167
|
- app/views/themes/default/tool.html.haml
|
173
168
|
- app/views/themes/default/toolbar.html.haml
|
174
169
|
- app/views/themes/default/top_panel.html.haml
|
175
|
-
has_rdoc: true
|
176
170
|
homepage: http://github.com/alexeypetrushin/rad_common_interface
|
177
171
|
licenses: []
|
178
|
-
|
179
172
|
post_install_message:
|
180
173
|
rdoc_options: []
|
181
|
-
|
182
|
-
require_paths:
|
174
|
+
require_paths:
|
183
175
|
- lib
|
184
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
176
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
185
177
|
none: false
|
186
|
-
requirements:
|
187
|
-
- -
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
version:
|
190
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
183
|
none: false
|
192
|
-
requirements:
|
193
|
-
- -
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
version:
|
184
|
+
requirements:
|
185
|
+
- - ! '>='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
196
188
|
requirements: []
|
197
|
-
|
198
189
|
rubyforge_project:
|
199
|
-
rubygems_version: 1.
|
190
|
+
rubygems_version: 1.8.6
|
200
191
|
signing_key:
|
201
192
|
specification_version: 3
|
202
193
|
summary: User Interface for Rad Framework
|
203
194
|
test_files: []
|
204
|
-
|