loft 0.2.6 → 0.2.7

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: b4422bf5e160d51243396c9d93e19912a8c190ab
4
- data.tar.gz: aa6f88c3fc06ce10abff60dad63513ea57e9cddb
3
+ metadata.gz: 049efac06fc061a1704ec78f052a144808f7b299
4
+ data.tar.gz: 9ff6c16f45161886d0e28e84987f6bdf725e0999
5
5
  SHA512:
6
- metadata.gz: cb2ee2f90312ce850a4b057f462c3b02becfbba20a182dd7bef09a50146c91c38683a5727bc898976d36cc973bb3cfc0c2dc8a52a3851ca19d39ceedc3dc3f35
7
- data.tar.gz: 402a6dafa039c59d6393d9fc93efbae497880e2e52f3e1d9ac11fb46451b48fc76bd8bff953aae4b5401d0595a4c94f41c05d9dd08109fa220362bcfb0b336bc
6
+ metadata.gz: 939a7e37b35497db342b853efa61481c33f134c8b2889eee39c80c749706a02b0031de67c93eef2fc588370824e464ce481cf72a2262f2b217a3ffb834e6ba93
7
+ data.tar.gz: 5efff09de3ccaac18039e763d43f5f67c5581e3950c01a5e6ba0e70232f0442e9bc49d7653f53ce97ce6a65344e765b701322d54dba3e51666213793fdc2a28b
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- loft (0.2.6)
4
+ loft (0.2.7)
5
5
  ants (>= 0.2.0)
6
6
  carrierwave-mongoid (>= 0.7.1)
7
- chr (>= 0.4.0)
7
+ chr (>= 0.4.19)
8
8
  mini_magick (>= 4.1.0)
9
9
  mongoid-autoinc (>= 4.0.0)
10
10
  mongoid-grid_fs (>= 2.1.0)
@@ -49,7 +49,7 @@ GEM
49
49
  minitest (~> 5.1)
50
50
  thread_safe (~> 0.3, >= 0.3.4)
51
51
  tzinfo (~> 1.1)
52
- ants (0.3.0)
52
+ ants (0.3.2)
53
53
  devise
54
54
  mongoid (>= 4.0)
55
55
  mongoid-slug (>= 4.0.0)
@@ -69,12 +69,13 @@ GEM
69
69
  carrierwave (>= 0.8.0, < 0.11.0)
70
70
  mongoid (>= 3.0, < 6.0)
71
71
  mongoid-grid_fs (>= 1.3, < 3.0)
72
- chr (0.4.15)
72
+ chr (0.4.19)
73
73
  bourbon
74
74
  coffee-rails (>= 4.0)
75
+ font-awesome-rails
75
76
  formagic (>= 0.2.8)
76
77
  jquery-rails
77
- rails (~> 4.2.4)
78
+ rails (~> 4.2.5)
78
79
  sass-rails
79
80
  coffee-rails (4.1.0)
80
81
  coffee-script (>= 2.2.0)
@@ -95,6 +96,8 @@ GEM
95
96
  erubis (2.7.0)
96
97
  execjs (2.6.0)
97
98
  fast-stemmer (1.0.2)
99
+ font-awesome-rails (4.4.0.0)
100
+ railties (>= 3.2, < 5.0)
98
101
  formagic (0.3.1)
99
102
  bourbon (>= 3.2)
100
103
  normalize-rails (>= 3.0)
@@ -124,7 +127,7 @@ GEM
124
127
  mime-types (2.6.2)
125
128
  mini_magick (4.3.6)
126
129
  mini_portile (0.6.2)
127
- minitest (5.8.2)
130
+ minitest (5.8.3)
128
131
  mongoid (4.0.2)
129
132
  activemodel (~> 4.0)
130
133
  moped (~> 2.0.0)
@@ -161,7 +164,7 @@ GEM
161
164
  bson (~> 3.0)
162
165
  connection_pool (~> 2.0)
163
166
  optionable (~> 0.2.0)
164
- nokogiri (1.6.6.2)
167
+ nokogiri (1.6.6.4)
165
168
  mini_portile (~> 0.6.0)
166
169
  normalize-rails (3.0.3)
167
170
  optionable (0.2.0)
@@ -127,13 +127,22 @@
127
127
 
128
128
  // UPLOAD BUTTON
129
129
 
130
+ .loft .list-aside .header:before {
131
+ @include position(absolute, 0px 0px null null);
132
+ @include header-icon-base;
133
+ display: block;
134
+ content: "\f067";
135
+ font-family: "FontAwesome";
136
+ color: $positive-color;
137
+ }
138
+
130
139
  .asset-upload {
131
- @include position(absolute, 0 -40px null null);
132
- @include icon-plus($positive-color);
140
+ @include position(absolute, 0px 0px null null);
133
141
  @include no-focus-outline;
134
- cursor : pointer;
135
- padding-left : 80px;
136
- &:before { @include position(absolute, null null null 0); }
142
+ line-height: 40px;
143
+ width: 40px;
144
+ padding-left: 40px;
145
+ cursor: pointer;
137
146
  }
138
147
 
139
148
  .list header .asset-upload + .search { @include position(absolute, 0 40px null null); }
data/lib/loft/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Loft
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
data/loft.gemspec CHANGED
@@ -21,7 +21,7 @@ to upload, manage and insert files into documents.
21
21
  s.files = `git ls-files`.split("\n")
22
22
  s.require_paths = ['lib']
23
23
 
24
- s.add_dependency("chr", ">= 0.4.0")
24
+ s.add_dependency("chr", ">= 0.4.19")
25
25
  s.add_dependency("ants", ">= 0.2.0")
26
26
  s.add_dependency("mongosteen", ">= 0.1.8")
27
27
  s.add_dependency("mongoid-autoinc", ">= 4.0.0")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kravets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-16 00:00:00.000000000 Z
11
+ date: 2015-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chr
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.4.0
19
+ version: 0.4.19
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.4.0
26
+ version: 0.4.19
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ants
29
29
  requirement: !ruby/object:Gem::Requirement