compony 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/Gemfile.lock +3 -3
- data/README.md +1397 -33
- data/Rakefile +6 -2
- data/TODO.md +1 -0
- data/VERSION +1 -0
- data/app/controllers/compony_controller.rb +3 -1
- data/compony.gemspec +7 -7
- data/config/locales/fr.yml +33 -0
- data/doc/ComponentGenerator.html +231 -0
- data/doc/Components.html +105 -0
- data/doc/ComponentsGenerator.html +203 -0
- data/doc/Compony/Component.html +2098 -0
- data/doc/Compony/ComponentMixins/Default/Labelling.html +406 -0
- data/doc/Compony/ComponentMixins/Default/Standalone/ResourcefulVerbDsl.html +539 -0
- data/doc/Compony/ComponentMixins/Default/Standalone/StandaloneDsl.html +588 -0
- data/doc/Compony/ComponentMixins/Default/Standalone/VerbDsl.html +577 -0
- data/doc/Compony/ComponentMixins/Default/Standalone.html +692 -0
- data/doc/Compony/ComponentMixins/Default.html +126 -0
- data/doc/Compony/ComponentMixins/Resourceful.html +1193 -0
- data/doc/Compony/ComponentMixins.html +126 -0
- data/doc/Compony/Components/Button.html +293 -0
- data/doc/Compony/Components/Destroy.html +384 -0
- data/doc/Compony/Components/Edit.html +462 -0
- data/doc/Compony/Components/Form.html +1112 -0
- data/doc/Compony/Components/New.html +462 -0
- data/doc/Compony/Components/WithForm.html +528 -0
- data/doc/Compony/Components.html +126 -0
- data/doc/Compony/ControllerMixin.html +136 -0
- data/doc/Compony/Engine.html +133 -0
- data/doc/Compony/MethodAccessibleHash.html +453 -0
- data/doc/Compony/ModelFields/Anchormodel.html +383 -0
- data/doc/Compony/ModelFields/Association.html +613 -0
- data/doc/Compony/ModelFields/Attachment.html +305 -0
- data/doc/Compony/ModelFields/Base.html +1066 -0
- data/doc/Compony/ModelFields/Boolean.html +232 -0
- data/doc/Compony/ModelFields/Color.html +299 -0
- data/doc/Compony/ModelFields/Currency.html +232 -0
- data/doc/Compony/ModelFields/Date.html +232 -0
- data/doc/Compony/ModelFields/Datetime.html +232 -0
- data/doc/Compony/ModelFields/Decimal.html +154 -0
- data/doc/Compony/ModelFields/Email.html +240 -0
- data/doc/Compony/ModelFields/Float.html +154 -0
- data/doc/Compony/ModelFields/Integer.html +154 -0
- data/doc/Compony/ModelFields/Percentage.html +232 -0
- data/doc/Compony/ModelFields/Phone.html +301 -0
- data/doc/Compony/ModelFields/RichText.html +232 -0
- data/doc/Compony/ModelFields/String.html +154 -0
- data/doc/Compony/ModelFields/Text.html +154 -0
- data/doc/Compony/ModelFields/Time.html +154 -0
- data/doc/Compony/ModelFields/Url.html +240 -0
- data/doc/Compony/ModelFields.html +126 -0
- data/doc/Compony/ModelMixin.html +524 -0
- data/doc/Compony/RequestContext.html +791 -0
- data/doc/Compony/Version.html +139 -0
- data/doc/Compony/ViewHelpers.html +443 -0
- data/doc/Compony.html +2156 -0
- data/doc/ComponyController.html +124 -0
- data/doc/_index.html +569 -0
- data/doc/class_list.html +51 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +58 -0
- data/doc/css/style.css +497 -0
- data/doc/file.README.html +1565 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +17 -0
- data/doc/imgs/intro-example-destroy.png +0 -0
- data/doc/imgs/intro-example-edit.png +0 -0
- data/doc/imgs/intro-example-index.png +0 -0
- data/doc/imgs/intro-example-new.png +0 -0
- data/doc/imgs/intro-example-show.png +0 -0
- data/doc/index.html +1565 -0
- data/doc/js/app.js +314 -0
- data/doc/js/full_list.js +216 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +1435 -0
- data/doc/resourceful_lifecycle.png +0 -0
- data/doc/top-level-namespace.html +112 -0
- data/lib/compony/component.rb +2 -1
- data/lib/compony/component_mixins/default/standalone/resourceful_verb_dsl.rb +1 -1
- data/lib/compony/component_mixins/default/standalone/standalone_dsl.rb +14 -3
- data/lib/compony/component_mixins/default/standalone/verb_dsl.rb +14 -5
- data/lib/compony/component_mixins/default/standalone.rb +10 -3
- data/lib/compony/components/form.rb +6 -1
- data/lib/compony/components/with_form.rb +14 -1
- data/lib/compony/model_fields/anchormodel.rb +0 -22
- data/lib/compony/model_mixin.rb +12 -2
- data/lib/compony/version.rb +1 -7
- data/logo.svg +133 -0
- metadata +83 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fde6d013ecb5bcf1288608cbbb4cc1ea29c78a9fcd69a49662d39b3e7a80aff2
|
4
|
+
data.tar.gz: 05f28621fddc7c0bdd016f0215466f0907a8d605507994b15bbad1ac727e52e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a44257229475cf5c9a2c139484c85de9882f88f952835069d8918eca0e827651158a51952c4140cbbb8f559d293e243244f64261e873f9aa8a5fdf19566c4832
|
7
|
+
data.tar.gz: 99ce464810f661e5dc19610d0c70c64a178854edc3d6c8e1ef055e0eeb48d64a6aadd2396d5c50f94ad6a5cc64b110a6b6e93056de500522dbea1152e6ac9bee
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,28 @@
|
|
1
|
+
# 0.2.2
|
2
|
+
|
3
|
+
- Adjust gemspec
|
4
|
+
- Generate documentation
|
5
|
+
- Add VERSION file
|
6
|
+
- Replace custom anchormodel field implementation by Anchormodel's new implementation of SimpleForm Input
|
7
|
+
|
8
|
+
# 0.2.1
|
9
|
+
|
10
|
+
- Fix a bug where the app crashed on HEAD verb
|
11
|
+
- Show more details about failing authorization block
|
12
|
+
- Implement `submit_path` DSL call for WithForm
|
13
|
+
- Add French translation
|
14
|
+
- Implement `skip_autofocus` in Form
|
15
|
+
- Allow partial override of standalone verb configs. Example:
|
16
|
+
```ruby
|
17
|
+
verb :get do
|
18
|
+
authorize { true }
|
19
|
+
end
|
20
|
+
verb :post do
|
21
|
+
authorize { true }
|
22
|
+
# Parent class implements more logic here, which will no longer be overwritten by calling `verb :post`.
|
23
|
+
end
|
24
|
+
```
|
25
|
+
|
1
26
|
# 0.2.0
|
2
27
|
|
3
28
|
- Cleanup old code
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
compony (0.
|
5
|
-
anchormodel (~> 0.1.
|
4
|
+
compony (0.2.2.edge)
|
5
|
+
anchormodel (~> 0.1.5)
|
6
6
|
cancancan (~> 3.4.0)
|
7
7
|
dslblend (>= 0.0.3)
|
8
8
|
dyny (>= 0.0.3)
|
@@ -88,7 +88,7 @@ GEM
|
|
88
88
|
minitest (>= 5.1)
|
89
89
|
mutex_m
|
90
90
|
tzinfo (~> 2.0)
|
91
|
-
anchormodel (0.1.
|
91
|
+
anchormodel (0.1.5)
|
92
92
|
rails (~> 7.0)
|
93
93
|
ast (2.4.2)
|
94
94
|
base64 (0.2.0)
|