audited-timeline 1.0.5 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d85596174c2de786d8c52a91bdeb29804cf2b7c2
4
- data.tar.gz: 508d45b760a46c51e9b9779dba0a3c56710f6419
3
+ metadata.gz: 729b7942b09b53f96532a76d7a1f3d2de17868f6
4
+ data.tar.gz: 3abfee54ca04c5d62d16c1ba6ce543972b5052f6
5
5
  SHA512:
6
- metadata.gz: 58e601781bdcba6711d6a91eaab4d36fc285423a3b6074b29df062950f8a40b17d2a5b4f6995a9817dd71ac4593de1e8519eeb01cfa20652dd9a1d2f6dd16a24
7
- data.tar.gz: 0334b2d01fbbe3cdf550ff59edcbf44a29045088efdb2267e341746b8f7bf8941abdc31e71fd4b28cc32c7e84d41f2df08adcc8ff4fb9c445d8723f89aaab337
6
+ metadata.gz: 4ff18cef6d1f97cc191001ee6025fec2402501446ff2383ceba6fff01ba43554ac2ff9d2a37d042affc39585fa335296a58d9e2cc2fafba1c455b992860abc87
7
+ data.tar.gz: 0a701dfbf48b579078b9ca5f6405f431ee600fc31bdb86e1edea2aafc22f2b17a2a8e42da39f85450a36813364161886bd26125892a8d19f7d6097aa0e6a438a
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- audited-timeline (1.0.3)
5
- audited (>= 4.2.0)
4
+ audited-timeline (1.0.7)
5
+ audited (~> 4.3.0)
6
6
  draper (>= 2.1.0)
7
7
  rails (>= 4.0.0)
8
8
 
@@ -44,12 +44,12 @@ GEM
44
44
  minitest (~> 5.1)
45
45
  thread_safe (~> 0.3, >= 0.3.4)
46
46
  tzinfo (~> 1.1)
47
- arel (6.0.3)
47
+ arel (6.0.4)
48
48
  audited (4.3.0)
49
49
  activerecord (>= 4.0, < 5.1)
50
50
  rails-observers (~> 0.1.2)
51
- builder (3.2.2)
52
- concurrent-ruby (1.0.2)
51
+ builder (3.2.3)
52
+ concurrent-ruby (1.0.4)
53
53
  draper (2.1.0)
54
54
  actionpack (>= 3.0)
55
55
  activemodel (>= 3.0)
@@ -59,7 +59,7 @@ GEM
59
59
  globalid (0.3.7)
60
60
  activesupport (>= 4.1.0)
61
61
  i18n (0.7.0)
62
- json (1.8.3)
62
+ json (1.8.6)
63
63
  loofah (2.0.3)
64
64
  nokogiri (>= 1.5.9)
65
65
  mail (2.6.4)
@@ -68,10 +68,10 @@ GEM
68
68
  mime-types-data (~> 3.2015)
69
69
  mime-types-data (3.2016.0521)
70
70
  mini_portile2 (2.1.0)
71
- minitest (5.9.1)
72
- nokogiri (1.6.8.1)
71
+ minitest (5.10.1)
72
+ nokogiri (1.7.0.1)
73
73
  mini_portile2 (~> 2.1.0)
74
- rack (1.6.4)
74
+ rack (1.6.5)
75
75
  rack-test (0.6.3)
76
76
  rack (>= 1.0)
77
77
  rails (4.2.7.1)
@@ -87,9 +87,9 @@ GEM
87
87
  sprockets-rails
88
88
  rails-deprecated_sanitizer (1.0.3)
89
89
  activesupport (>= 4.2.0.alpha)
90
- rails-dom-testing (1.0.7)
90
+ rails-dom-testing (1.0.8)
91
91
  activesupport (>= 4.2.0.beta, < 5.0)
92
- nokogiri (~> 1.6.0)
92
+ nokogiri (~> 1.6)
93
93
  rails-deprecated_sanitizer (>= 1.0.1)
94
94
  rails-html-sanitizer (1.0.3)
95
95
  loofah (~> 2.0)
@@ -100,16 +100,16 @@ GEM
100
100
  activesupport (= 4.2.7.1)
101
101
  rake (>= 0.8.7)
102
102
  thor (>= 0.18.1, < 2.0)
103
- rake (11.3.0)
104
- request_store (1.3.1)
105
- sprockets (3.7.0)
103
+ rake (12.0.0)
104
+ request_store (1.3.2)
105
+ sprockets (3.7.1)
106
106
  concurrent-ruby (~> 1.0)
107
107
  rack (> 1, < 3)
108
108
  sprockets-rails (3.2.0)
109
109
  actionpack (>= 4.0)
110
110
  activesupport (>= 4.0)
111
111
  sprockets (>= 3.0.0)
112
- thor (0.19.1)
112
+ thor (0.19.4)
113
113
  thread_safe (0.3.5)
114
114
  tzinfo (1.2.2)
115
115
  thread_safe (~> 0.1)
@@ -122,4 +122,4 @@ DEPENDENCIES
122
122
  bundler (~> 1.6)
123
123
 
124
124
  BUNDLED WITH
125
- 1.12.5
125
+ 1.14.2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.5
1
+ 1.1.0
@@ -1,7 +1,8 @@
1
1
  <% with_avatars = local_assigns[:with_avatars] == true ? true : false %>
2
2
  <% sort = local_assigns[:sort] || 'desc' %>
3
+ <% limit = local_assigns[:limit] || 25 %>
3
4
  <div class="audited-timeline-list">
4
- <% audits.reorder("created_at #{sort}").limit(10).decorate.each do |audit| %>
5
+ <% audits.reorder("created_at #{sort}").limit(limit).decorate.each do |audit| %>
5
6
  <div id="<%= dom_id audit %>" class="audited-timeline-wrapper <%= 'with-avatars' if with_avatars == true %> ">
6
7
  <% if with_avatars == true && audit.user.present? %>
7
8
  <%= audited_timeline_user_gravatar audit.user %>
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.version = File.read(File.expand_path('../VERSION', __FILE__)).strip
9
9
  spec.authors = ['nine.ch Development']
10
10
  spec.email = ['development@nine.ch']
11
- spec.summary = %q{Frontent to audited}
11
+ spec.summary = 'Frontent to audited'
12
12
  spec.homepage = 'https://github.com/ninech/audited-timeline'
13
13
  spec.license = 'MIT'
14
14
  spec.description = 'audited-timeline provides timeline frontend to audited'
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency 'bundler', '~> 1.6'
22
22
 
23
- spec.add_runtime_dependency 'audited', '>= 4.2.0'
23
+ spec.add_runtime_dependency 'audited', '~> 4.3.0'
24
24
  spec.add_runtime_dependency 'rails', '>= 4.0.0'
25
25
  spec.add_runtime_dependency 'draper', '>= 2.1.0'
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audited-timeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - nine.ch Development
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-14 00:00:00.000000000 Z
11
+ date: 2017-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: audited
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 4.2.0
33
+ version: 4.3.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 4.2.0
40
+ version: 4.3.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rails
43
43
  requirement: !ruby/object:Gem::Requirement