lines-engine 0.1.16 → 0.1.17

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: 100fdfe0b263d92149bee9c26acc26d08a96c41a
4
- data.tar.gz: d28174c5c5d2d5bc0fe4e2f9cddf999e401f8532
3
+ metadata.gz: c75b66e2862656500bbf544915c6c8b554b3cb8d
4
+ data.tar.gz: 3396baaf3becd71a03e255ea63af3a8bea533aa1
5
5
  SHA512:
6
- metadata.gz: 3f7a9e5b4ca8f3b6164cc3569798ef58b10eb7adae89c78fd76b6d5cb45eee51e4611a967539927e07abe7d119daa4e48a8372c0dde9afc076d297c47d3cf076
7
- data.tar.gz: 3086da633d6c042cd89a76857c4212820b514003cbf3e3e01ae43f0ffacf9fadc15ffbc01e5578bbb110929526a76a55932533f5580bb813db8643d4ab43664a
6
+ metadata.gz: f427d273b55339e8639c344b77c23d3b4d8187e92f16474de74073b3bf921ec18feb956274d795d1bdaa874107aa599bc0a96faece4274ce02da117a879aee8d
7
+ data.tar.gz: 1d1ec819aeb65064243a2aa79356bcb8052191aa301feddc2c28059ba454abca12d5ad60e229548ef299e17c730e09974194eb8eda6ec32276da95d564674f32
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lines-engine (0.1.16)
4
+ lines-engine (0.1.17)
5
5
  acts-as-taggable-on (~> 3.2.6, >= 3.2.6)
6
6
  bcrypt (~> 3.1.0, >= 3.1.0)
7
7
  carrierwave (~> 0.10.0, >= 0.10.0)
@@ -15,7 +15,6 @@ PATH
15
15
  orm_adapter (~> 0.1, >= 0.5)
16
16
  pygments.rb (~> 0.6.0, >= 0.6.0)
17
17
  rack-ssl-enforcer (~> 0.2.7, >= 0.2.7)
18
- rails (>= 3, < 5)
19
18
  rails3-jquery-autocomplete (~> 1.0.11, >= 1.0.11)
20
19
  railties (>= 3.2.6, < 5)
21
20
  redcarpet (~> 3.1.2, >= 3.1.2)
@@ -31,27 +30,27 @@ PATH
31
30
  GEM
32
31
  remote: https://rubygems.org/
33
32
  specs:
34
- actionmailer (4.1.0)
35
- actionpack (= 4.1.0)
36
- actionview (= 4.1.0)
37
- mail (~> 2.5.4)
38
- actionpack (4.1.0)
39
- actionview (= 4.1.0)
40
- activesupport (= 4.1.0)
33
+ actionmailer (4.1.6)
34
+ actionpack (= 4.1.6)
35
+ actionview (= 4.1.6)
36
+ mail (~> 2.5, >= 2.5.4)
37
+ actionpack (4.1.6)
38
+ actionview (= 4.1.6)
39
+ activesupport (= 4.1.6)
41
40
  rack (~> 1.5.2)
42
41
  rack-test (~> 0.6.2)
43
- actionview (4.1.0)
44
- activesupport (= 4.1.0)
42
+ actionview (4.1.6)
43
+ activesupport (= 4.1.6)
45
44
  builder (~> 3.1)
46
45
  erubis (~> 2.7.0)
47
- activemodel (4.1.0)
48
- activesupport (= 4.1.0)
46
+ activemodel (4.1.6)
47
+ activesupport (= 4.1.6)
49
48
  builder (~> 3.1)
50
- activerecord (4.1.0)
51
- activemodel (= 4.1.0)
52
- activesupport (= 4.1.0)
49
+ activerecord (4.1.6)
50
+ activemodel (= 4.1.6)
51
+ activesupport (= 4.1.6)
53
52
  arel (~> 5.0.0)
54
- activesupport (4.1.0)
53
+ activesupport (4.1.6)
55
54
  i18n (~> 0.6, >= 0.6.9)
56
55
  json (~> 1.7, >= 1.7.7)
57
56
  minitest (~> 5.1)
@@ -67,7 +66,7 @@ GEM
67
66
  i18n
68
67
  rake (>= 10.0.0)
69
68
  sshkit (~> 1.3)
70
- capybara (2.2.1)
69
+ capybara (2.4.3)
71
70
  mime-types (>= 1.16)
72
71
  nokogiri (>= 1.3.3)
73
72
  rack (>= 1.0.0)
@@ -78,11 +77,8 @@ GEM
78
77
  activesupport (>= 3.2.0)
79
78
  json (>= 1.7)
80
79
  mime-types (>= 1.16)
81
- celluloid (0.15.2)
82
- timers (~> 1.1.0)
83
- celluloid-io (0.15.0)
84
- celluloid (>= 0.15.0)
85
- nio4r (>= 0.5.0)
80
+ celluloid (0.16.0)
81
+ timers (~> 4.0.0)
86
82
  coderay (1.1.0)
87
83
  coffee-rails (4.0.1)
88
84
  coffee-script (>= 2.2.0)
@@ -91,6 +87,7 @@ GEM
91
87
  coffee-script-source
92
88
  execjs
93
89
  coffee-script-source (1.8.0)
90
+ colorize (0.7.3)
94
91
  crass (0.2.1)
95
92
  diff-lcs (1.2.5)
96
93
  erubis (2.7.0)
@@ -100,23 +97,24 @@ GEM
100
97
  factory_girl_rails (4.4.1)
101
98
  factory_girl (~> 4.4.0)
102
99
  railties (>= 3.0.0)
103
- faker (1.3.0)
100
+ faker (1.4.3)
104
101
  i18n (~> 0.5)
105
- ffi (1.9.3)
106
- formatador (0.2.4)
102
+ ffi (1.9.5)
103
+ formatador (0.2.5)
107
104
  friendly_id (5.0.4)
108
105
  activerecord (>= 4.0.0)
109
- guard (2.6.0)
106
+ guard (2.6.1)
110
107
  formatador (>= 0.2.4)
111
108
  listen (~> 2.7)
112
109
  lumberjack (~> 1.0)
113
110
  pry (>= 0.9.12)
114
111
  thor (>= 0.18.1)
115
- guard-rspec (4.2.8)
112
+ guard-rspec (4.3.1)
116
113
  guard (~> 2.1)
117
114
  rspec (>= 2.14, < 4.0)
118
115
  hike (1.2.3)
119
- i18n (0.6.9)
116
+ hitimes (1.2.2)
117
+ i18n (0.6.11)
120
118
  jquery-fileupload-rails (0.4.1)
121
119
  actionpack (>= 3.1)
122
120
  railties (>= 3.1)
@@ -131,37 +129,33 @@ GEM
131
129
  activesupport (>= 3.0.0)
132
130
  launchy (2.4.2)
133
131
  addressable (~> 2.3)
134
- listen (2.7.4)
132
+ listen (2.7.11)
135
133
  celluloid (>= 0.15.2)
136
- celluloid-io (>= 0.15.0)
137
134
  rb-fsevent (>= 0.9.3)
138
135
  rb-inotify (>= 0.9)
139
- lumberjack (1.0.5)
140
- mail (2.5.4)
141
- mime-types (~> 1.16)
142
- treetop (~> 1.4.8)
136
+ lumberjack (1.0.9)
137
+ mail (2.6.1)
138
+ mime-types (>= 1.16, < 3)
143
139
  meta-tags (2.0.0)
144
140
  actionpack (>= 3.0.0)
145
141
  method_source (0.8.2)
146
- mime-types (1.25.1)
142
+ mime-types (2.3)
147
143
  mini_portile (0.6.0)
148
- minitest (5.3.3)
144
+ minitest (5.4.2)
149
145
  multi_json (1.10.1)
150
146
  mysql2 (0.3.16)
151
147
  net-scp (1.2.1)
152
148
  net-ssh (>= 2.6.5)
153
- net-ssh (2.9.0)
154
- nio4r (1.0.0)
155
- nokogiri (1.6.2.1)
149
+ net-ssh (2.9.1)
150
+ nokogiri (1.6.3.1)
156
151
  mini_portile (= 0.6.0)
157
152
  nokogumbo (1.1.12)
158
153
  nokogiri
159
154
  orm_adapter (0.5.0)
160
- polyglot (0.3.5)
161
155
  posix-spawn (0.3.9)
162
- pry (0.9.12.6)
163
- coderay (~> 1.0)
164
- method_source (~> 0.8)
156
+ pry (0.10.1)
157
+ coderay (~> 1.1.0)
158
+ method_source (~> 0.8.1)
165
159
  slop (~> 3.4)
166
160
  pygments.rb (0.6.0)
167
161
  posix-spawn (~> 0.3.6)
@@ -170,27 +164,27 @@ GEM
170
164
  rack-ssl-enforcer (0.2.8)
171
165
  rack-test (0.6.2)
172
166
  rack (>= 1.0)
173
- railroady (1.1.1)
174
- rails (4.1.0)
175
- actionmailer (= 4.1.0)
176
- actionpack (= 4.1.0)
177
- actionview (= 4.1.0)
178
- activemodel (= 4.1.0)
179
- activerecord (= 4.1.0)
180
- activesupport (= 4.1.0)
167
+ railroady (1.1.2)
168
+ rails (4.1.6)
169
+ actionmailer (= 4.1.6)
170
+ actionpack (= 4.1.6)
171
+ actionview (= 4.1.6)
172
+ activemodel (= 4.1.6)
173
+ activerecord (= 4.1.6)
174
+ activesupport (= 4.1.6)
181
175
  bundler (>= 1.3.0, < 2.0)
182
- railties (= 4.1.0)
176
+ railties (= 4.1.6)
183
177
  sprockets-rails (~> 2.0)
184
178
  rails3-jquery-autocomplete (1.0.14)
185
179
  rails (>= 3.0)
186
- railties (4.1.0)
187
- actionpack (= 4.1.0)
188
- activesupport (= 4.1.0)
180
+ railties (4.1.6)
181
+ actionpack (= 4.1.6)
182
+ activesupport (= 4.1.6)
189
183
  rake (>= 0.8.7)
190
184
  thor (>= 0.18.1, < 2.0)
191
- rake (10.3.1)
185
+ rake (10.3.2)
192
186
  rb-fsevent (0.9.4)
193
- rb-inotify (0.9.4)
187
+ rb-inotify (0.9.5)
194
188
  ffi (>= 0.5.0)
195
189
  redcarpet (3.1.2)
196
190
  rmagick (2.13.3)
@@ -225,7 +219,7 @@ GEM
225
219
  activemodel (~> 4.0)
226
220
  sitemap_generator (5.0.5)
227
221
  builder
228
- slop (3.5.0)
222
+ slop (3.6.0)
229
223
  sprockets (2.11.0)
230
224
  hike (~> 1.2)
231
225
  multi_json (~> 1.0)
@@ -235,21 +229,16 @@ GEM
235
229
  actionpack (>= 3.0)
236
230
  activesupport (>= 3.0)
237
231
  sprockets (~> 2.8)
238
- sshkit (1.4.0)
232
+ sshkit (1.5.1)
233
+ colorize
239
234
  net-scp (>= 1.1.2)
240
235
  net-ssh (>= 2.8.0)
241
- term-ansicolor
242
- term-ansicolor (1.3.0)
243
- tins (~> 1.0)
244
236
  thor (0.19.1)
245
- thread_safe (0.3.3)
237
+ thread_safe (0.3.4)
246
238
  tilt (1.4.1)
247
- timers (1.1.0)
248
- tins (1.1.0)
249
- treetop (1.4.15)
250
- polyglot
251
- polyglot (>= 0.3.1)
252
- tzinfo (1.1.0)
239
+ timers (4.0.1)
240
+ hitimes
241
+ tzinfo (1.2.2)
253
242
  thread_safe (~> 0.1)
254
243
  uglifier (2.5.3)
255
244
  execjs (>= 0.3.0)
@@ -5,7 +5,7 @@ module Lines
5
5
 
6
6
  # sets the current_lines_user if one exists in session
7
7
  def current_lines_user
8
- @current_lines_user ||= User.find(session[:user_id]) if session[:user_id]
8
+ @current_lines_user ||= Lines::User.find(session[:user_id]) if session[:user_id]
9
9
  end
10
10
  helper_method :current_lines_user
11
11
 
@@ -1,6 +1,8 @@
1
- require "lines/engine"
2
-
3
1
  module Lines
2
+ if defined?(Rails)
3
+ require "lines/engine"
4
+ end
5
+
4
6
  # host application root path
5
7
  # We set this when the engine is initialized
6
8
  mattr_accessor :app_root
@@ -2,6 +2,8 @@ module Lines
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace Lines
4
4
 
5
+ config.autoload_paths += Dir["#{config.root}/lib/**/"]
6
+
5
7
  require 'kaminari'
6
8
  require 'jquery-rails'
7
9
  require 'jquery-ui-rails'
@@ -1,3 +1,3 @@
1
1
  module Lines
2
- VERSION = "0.1.16"
2
+ VERSION = "0.1.17"
3
3
  end
@@ -40,7 +40,7 @@ Gem::Specification.new do |s|
40
40
  s.add_dependency 'rails3-jquery-autocomplete', '~> 1.0.11', '>= 1.0.11'
41
41
  s.add_dependency 'meta-tags', '~> 2.0.0', '>= 2.0.0'
42
42
  s.add_dependency 'rack-ssl-enforcer', '~> 0.2.7', '>= 0.2.7'
43
- s.add_runtime_dependency 'rails', ['>= 3', '< 5']
43
+ #s.add_runtime_dependency 'rails', ['>= 3', '< 5']
44
44
 
45
45
  s.add_development_dependency 'mysql2', '~> 2.9', '>= 2.9'
46
46
  s.add_development_dependency 'rspec-rails', '~> 2.14.2', '< 3'
@@ -48,7 +48,10 @@ Gem::Specification.new do |s|
48
48
 
49
49
  s.files = `git ls-files`.split("\n").select{ |file_name| !(file_name =~ /^spec/) }
50
50
  s.test_files = `git ls-files`.split("\n").select{ |file_name| (file_name =~ /^spec/) }
51
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
51
+ #s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
52
+ s.executables = s.executables = s.files.grep(%r{^bin/}) do |f|
53
+ f == 'bin/rails' ? nil : File.basename(f)
54
+ end.compact
52
55
  s.require_paths = ["lib"]
53
56
 
54
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lines-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Opoloo GbR
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-30 00:00:00.000000000 Z
11
+ date: 2014-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter
@@ -496,26 +496,6 @@ dependencies:
496
496
  - - ">="
497
497
  - !ruby/object:Gem::Version
498
498
  version: 0.2.7
499
- - !ruby/object:Gem::Dependency
500
- name: rails
501
- requirement: !ruby/object:Gem::Requirement
502
- requirements:
503
- - - ">="
504
- - !ruby/object:Gem::Version
505
- version: '3'
506
- - - "<"
507
- - !ruby/object:Gem::Version
508
- version: '5'
509
- type: :runtime
510
- prerelease: false
511
- version_requirements: !ruby/object:Gem::Requirement
512
- requirements:
513
- - - ">="
514
- - !ruby/object:Gem::Version
515
- version: '3'
516
- - - "<"
517
- - !ruby/object:Gem::Version
518
- version: '5'
519
499
  - !ruby/object:Gem::Dependency
520
500
  name: mysql2
521
501
  requirement: !ruby/object:Gem::Requirement
@@ -582,8 +562,7 @@ description: LINES lets you manage your posts in a clear, consistent frontend. T
582
562
  images, and links shine.
583
563
  email:
584
564
  - info@opoloo.de
585
- executables:
586
- - rails
565
+ executables: []
587
566
  extensions: []
588
567
  extra_rdoc_files: []
589
568
  files:
@@ -832,7 +811,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
832
811
  version: '0'
833
812
  requirements: []
834
813
  rubyforge_project:
835
- rubygems_version: 2.2.0
814
+ rubygems_version: 2.2.2
836
815
  signing_key:
837
816
  specification_version: 4
838
817
  summary: LINES is the open source blog platform you have been waiting for