aureus 3.0.0 → 3.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da714510bbeed3441c14f68e61c96a5d8bd12a9a
4
- data.tar.gz: f688df1e2ff0f3bde65eb69da161f43b1ade6666
3
+ metadata.gz: 6f31fb993a830436b52b99b18d448381d236ad74
4
+ data.tar.gz: 13d2ccbb4b053b621a4d5130ad21b4adf3b7d1c9
5
5
  SHA512:
6
- metadata.gz: 63c0589fec2132e80681de09684e2f4161a75d1e391a2ad358f642676867bb37fef90089e345cacd0a5e684ccad77c0cff049b1c1a05032167c3357973417cf0
7
- data.tar.gz: dd50c6309dced03e90e89e87d950330cf5b97d55c1a23cd1ecf64750ac12673d1a33c188bbd5c022b43e1f11055f43b4e575e0280445f6a364d76a084b487783
6
+ metadata.gz: 836cc2c974ae1cc86b04af232565c651875c5ce2ca30085e27db960bff621f4c7e039b362702fbeb74a3a7e97955d884480672d56eafe57e6613165dc42785c0
7
+ data.tar.gz: 8f3f0f8819d30813563fe21c908da3d6a90ec68533dbcc9ca30af01de27efcefc6a12851e4bcdb3a25a7277a5fff35ff1520ddbff22361f04e1aa8ce11b30b81
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aureus (3.0.0)
4
+ aureus (3.0.1)
5
5
  formtastic (= 2.3.0.rc3)
6
6
  haml-rails (~> 0.5)
7
7
  jquery-rails (~> 3.0)
@@ -58,7 +58,7 @@ GEM
58
58
  railties (>= 4.0.1)
59
59
  hike (1.2.3)
60
60
  i18n (0.6.9)
61
- jquery-rails (3.1.0)
61
+ jquery-rails (3.1.2)
62
62
  railties (>= 3.0, < 5.0)
63
63
  thor (>= 0.14, < 2.0)
64
64
  jquery-ui-rails (4.2.1)
@@ -101,7 +101,7 @@ GEM
101
101
  multi_json (~> 1.0)
102
102
  rack (~> 1.0)
103
103
  tilt (~> 1.1, != 1.3.0)
104
- sprockets-rails (2.1.3)
104
+ sprockets-rails (2.1.4)
105
105
  actionpack (>= 3.0)
106
106
  activesupport (>= 3.0)
107
107
  sprockets (~> 2.8)
@@ -1,5 +1,5 @@
1
1
  $color-background: #ccc;
2
- $color-font-default: #fff;
2
+ $color-font-default: #000;
3
3
 
4
4
  $color-notice: #3dbc13;
5
5
  $color-alert: #ffbb20;
@@ -34,6 +34,7 @@ $color-table-border: #c6b78d;
34
34
  $color-table-link: #00334c;
35
35
  $color-table-link-hover: #000;
36
36
  $color-table-list-head: #444;
37
+ $color-table-action: black;
37
38
 
38
39
  $color-toolbar: #1e1e1e;
39
40
  $color-toolbar-title: #fff;
@@ -79,6 +79,7 @@
79
79
  background-repeat: no-repeat;
80
80
  background-position: center;
81
81
  font-size: 14px;
82
+ color: $color-table-action;
82
83
  &:hover {
83
84
  opacity: 1;
84
85
  }
@@ -10,6 +10,9 @@
10
10
  float: left;
11
11
  text-transform: uppercase;
12
12
  }
13
+ a {
14
+ color: $color-toolbar-link;
15
+ }
13
16
  ul {
14
17
  padding: 0;
15
18
  margin: 0;
@@ -28,6 +31,7 @@
28
31
  font-size: 14px;
29
32
  text-decoration: none;
30
33
  padding: 0 10px;
34
+ color: $color-toolbar-link;
31
35
  }
32
36
  .info {
33
37
  color: $color-toolbar-info;
@@ -3,7 +3,7 @@ module Aureus
3
3
  protected
4
4
 
5
5
  def aureus(options)
6
- @aureus ||= {}
6
+ @aureus ||= { row_actions: [], table_cells: [] }
7
7
  @aureus[:box_title] = 'Attributes'
8
8
  @aureus[:form_inputs] = (options[:form_fields] || []).map{|f| [f] }
9
9
 
@@ -1,3 +1,3 @@
1
1
  module Aureus
2
- VERSION = '3.0.0'
2
+ VERSION = '3.0.1'
3
3
  end
@@ -43,6 +43,8 @@ class ResourcesController < Aureus::ResourcesController
43
43
  form_fields: [:title, :text],
44
44
  item_fields: [:title, :text]
45
45
  })
46
+
47
+ @aureus[:row_actions] << lambda{|r| ['hello', path_for(:show, r.id)] }
46
48
  end
47
49
 
48
50
  def permitted_params
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aureus
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joël Gähhwiler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-16 00:00:00.000000000 Z
11
+ date: 2014-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass-rails
@@ -242,3 +242,4 @@ test_files:
242
242
  - spec/requests/all_spec.rb
243
243
  - spec/requests/resources_spec.rb
244
244
  - spec/spec_helper.rb
245
+ has_rdoc: