lux-fw 0.1.35 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +5 -5
  2. data/.version +1 -1
  3. data/bin/cli/am +67 -41
  4. data/bin/cli/assets +1 -1
  5. data/bin/cli/console +3 -2
  6. data/bin/cli/eval +11 -2
  7. data/bin/cli/exceptions +1 -1
  8. data/bin/cli/generate +4 -0
  9. data/bin/cli/render +18 -0
  10. data/bin/cli/routes +3 -1
  11. data/bin/cli/server +4 -1
  12. data/bin/lux +10 -1
  13. data/bin/txt/nginx.conf +35 -18
  14. data/lib/common/class_attributes.rb +10 -10
  15. data/lib/common/{before_and_after.rb → class_callbacks.rb} +12 -21
  16. data/lib/common/crypt.rb +10 -6
  17. data/lib/common/dynamic_class.rb +12 -7
  18. data/lib/common/generic_model.rb +6 -6
  19. data/lib/common/hash_with_indifferent_access.rb +6 -284
  20. data/lib/{lux/helper/lib/html_tag.rb → common/html_tag_builder.rb} +1 -1
  21. data/lib/common/policy.rb +2 -2
  22. data/lib/common/url.rb +6 -4
  23. data/lib/lux-fw.rb +2 -13
  24. data/lib/lux/api/api.rb +34 -47
  25. data/lib/lux/api/lib/dsl.rb +2 -2
  26. data/lib/lux/api/lib/model_api.rb +40 -23
  27. data/lib/lux/api/lib/response.rb +30 -5
  28. data/lib/lux/application/application.rb +182 -0
  29. data/lib/lux/{controller → application}/lib/nav.rb +18 -21
  30. data/lib/lux/application/lib/plugs.rb +10 -0
  31. data/lib/lux/application/lib/render.rb +58 -0
  32. data/lib/lux/application/lib/route_test.rb +64 -0
  33. data/lib/lux/cache/cache.rb +27 -16
  34. data/lib/lux/cell/cell.rb +66 -54
  35. data/lib/lux/config/config.rb +51 -27
  36. data/lib/lux/current/current.rb +122 -0
  37. data/lib/lux/{page → current}/lib/encrypt_params.rb +2 -2
  38. data/lib/lux/{page → current}/lib/static_file.rb +29 -25
  39. data/lib/lux/delayed_job/delayed_job.rb +4 -4
  40. data/lib/lux/error/error.rb +31 -16
  41. data/lib/lux/helper/helper.rb +32 -37
  42. data/lib/lux/helper/helpers/application_helper.rb +3 -0
  43. data/lib/lux/helper/helpers/html_helper.rb +3 -0
  44. data/lib/lux/helper/helpers/mailer_helper.rb +11 -0
  45. data/lib/lux/lux.rb +40 -30
  46. data/lib/lux/mailer/mailer.rb +46 -29
  47. data/lib/lux/{page → response}/lib/flash.rb +1 -1
  48. data/lib/lux/response/lib/header.rb +21 -0
  49. data/lib/lux/response/response.rb +237 -0
  50. data/lib/lux/template/template.rb +20 -18
  51. data/lib/overload/array.rb +5 -0
  52. data/lib/overload/auto_loader.rb +27 -0
  53. data/lib/overload/blank.rb +8 -2
  54. data/lib/overload/float.rb +10 -0
  55. data/lib/overload/hash.rb +5 -12
  56. data/lib/overload/integer.rb +1 -5
  57. data/lib/overload/nil.rb +5 -0
  58. data/lib/overload/object.rb +1 -0
  59. data/lib/overload/r.rb +5 -0
  60. data/lib/overload/string.rb +4 -5
  61. data/lib/overload/{date.rb → time.rb} +23 -3
  62. metadata +37 -73
  63. data/bin/forever +0 -65
  64. data/bin/job_que +0 -39
  65. data/lib/lux/api/lib/application_api.rb +0 -38
  66. data/lib/lux/api/lib/doc_builder.rb +0 -19
  67. data/lib/lux/api/lib/rescue.rb +0 -8
  68. data/lib/lux/controller/controller.rb +0 -185
  69. data/lib/lux/controller/lib/plugs.rb +0 -10
  70. data/lib/lux/html/html.rb +0 -3
  71. data/lib/lux/html/lib/form.rb +0 -81
  72. data/lib/lux/html/lib/input.rb +0 -71
  73. data/lib/lux/html/lib/input_types.rb +0 -287
  74. data/lib/lux/lib/lux.rb +0 -51
  75. data/lib/lux/page/lib/response.rb +0 -178
  76. data/lib/lux/page/page.rb +0 -292
  77. data/lib/lux/rescue_from/rescue_from.rb +0 -63
  78. data/lib/plugins/assets/assets_plug.rb +0 -31
  79. data/lib/plugins/assets/helper_module_adapter.rb +0 -51
  80. data/lib/plugins/assets/init.rb +0 -4
  81. data/lib/plugins/db_helpers/array_and_hstore.rb +0 -64
  82. data/lib/plugins/db_helpers/arrays_and_tags.rb +0 -23
  83. data/lib/plugins/db_helpers/before_save.rb +0 -44
  84. data/lib/plugins/db_helpers/cached_find_by.rb +0 -45
  85. data/lib/plugins/db_helpers/class_and_instance.rb +0 -120
  86. data/lib/plugins/db_helpers/dataset_plugin.rb +0 -101
  87. data/lib/plugins/db_helpers/filter_wrappers.rb +0 -21
  88. data/lib/plugins/db_helpers/link_plugin.rb +0 -95
  89. data/lib/plugins/db_helpers/localize_plugin.rb +0 -57
  90. data/lib/plugins/db_helpers/primary_keys.rb +0 -36
  91. data/lib/plugins/db_helpers/typero_attributes.rb +0 -69
  92. data/lib/plugins/db_logger/init.rb +0 -18
  93. data/lib/plugins/db_logger/lux_response_adapter.rb +0 -9
  94. data/lib/plugins/paginate/helper.rb +0 -32
  95. data/lib/plugins/paginate/sequel_adapter.rb +0 -18
  96. data/lib/vendor/mini_assets/lib/asset.rb +0 -71
  97. data/lib/vendor/mini_assets/lib/asset/css.rb +0 -19
  98. data/lib/vendor/mini_assets/lib/asset/js.rb +0 -17
  99. data/lib/vendor/mini_assets/lib/base.rb +0 -69
  100. data/lib/vendor/mini_assets/lib/base/javascript.rb +0 -13
  101. data/lib/vendor/mini_assets/lib/base/stylesheet.rb +0 -5
  102. data/lib/vendor/mini_assets/lib/manifest.rb +0 -18
  103. data/lib/vendor/mini_assets/lib/opts.rb +0 -16
  104. data/lib/vendor/mini_assets/mini_assets.rb +0 -74
  105. data/lib/vendor/oauth/lib/facebook.rb +0 -35
  106. data/lib/vendor/oauth/lib/github.rb +0 -37
  107. data/lib/vendor/oauth/lib/google.rb +0 -41
  108. data/lib/vendor/oauth/lib/linkedin.rb +0 -41
  109. data/lib/vendor/oauth/lib/stackexchange.rb +0 -37
  110. data/lib/vendor/oauth/lib/twitter.rb +0 -41
  111. data/lib/vendor/oauth/oauth.rb +0 -46
@@ -5,20 +5,25 @@ class Lux::Template
5
5
  @@template_cache = {}
6
6
 
7
7
  class << self
8
- def render_with_layout template, opts={}, helper=nil
9
- new(template, opts, helper).render_with_layout
8
+ def render_with_layout template, helper={}
9
+ new(template, helper).render_with_layout
10
10
  end
11
11
 
12
- def render_part template, opts={}, helper=nil
13
- new(template, opts, helper).render_part
12
+ def render_part template, helper={}
13
+ new(template, helper).render_part
14
14
  end
15
15
  end
16
16
 
17
- def initialize template, opts={}, helper=nil
18
- template = template.sub(/^[^\w]+/, '')
17
+ def initialize template, context={}
18
+ template = template.sub(/^[^\w]+/, '')
19
19
  @original_template = template
20
- @opts = opts
21
- @helper = helper
20
+
21
+ @helper = if context.class == Hash
22
+ # create helper class if only hash given
23
+ Lux::Helper.new(context)
24
+ else
25
+ context
26
+ end
22
27
 
23
28
  mutex = Mutex.new
24
29
 
@@ -33,7 +38,7 @@ class Lux::Template
33
38
  end
34
39
 
35
40
  for dir in ['./app/views']
36
- for ext in ['haml', 'erb']
41
+ for ext in Tilt.default_mapping.template_map.keys
37
42
  next if @template
38
43
  test = "#{dir}/#{template}.#{ext}"
39
44
  @template = test if File.exists?(test)
@@ -58,24 +63,19 @@ class Lux::Template
58
63
  end
59
64
 
60
65
  def render_part
61
- base_class = @helper ? @helper.to_s : @template.split('/')[3]
62
- base_class = nil if base_class.index('.')
63
- base_class ||= Module.new
64
-
65
66
  # global thread safe reference pointer to last temaplte rendered
66
67
  # we nned this for inline template render
67
68
  Lux.thread[:last_template_path] = @template.sub('/app/views','').sub(/\/[^\/]+$/,'').sub(/^\./,'')
68
69
 
69
- Lux.page.files_in_use.push @template
70
+ Lux.current.files_in_use @template
70
71
 
71
- helper = Lux::Helper.for(base_class, @opts)
72
72
  data = nil
73
73
  speed = Lux.speed do
74
74
  data = Lux::Error.try %[Lux::Template "#{@template}" render error] do
75
- @tilt.render(helper) do
75
+ @tilt.render(@helper) do
76
76
  yield if block_given?
77
77
  end
78
- end
78
+ end rescue Lux::Error.inline
79
79
  end
80
80
 
81
81
  Lux.log " #{@template.split('app/views/').last}, #{speed}"
@@ -85,8 +85,10 @@ class Lux::Template
85
85
 
86
86
  def render_with_layout
87
87
  @part_data = render_part
88
+
88
89
  layout_path = "#{@original_template.split('/')[0]}/layout"
89
- Lux::Template.new(layout_path, @opts).render_part do
90
+
91
+ Lux::Template.new(layout_path, @helper).render_part do
90
92
  @part_data
91
93
  end
92
94
  end
@@ -53,4 +53,9 @@ class Array
53
53
  self
54
54
  end
55
55
 
56
+ # will return fixed element for any random string
57
+ def random_by_string string
58
+ i = string.split('').map{ |_| _.ord }.sum
59
+ self[i % length]
60
+ end
56
61
  end
@@ -0,0 +1,27 @@
1
+ class String
2
+ def constantize
3
+ Object.const_get('::'+self)
4
+ end
5
+ end
6
+
7
+ class Object
8
+ def self.const_missing klass
9
+ file = klass.to_s.tableize.singularize
10
+ paths = [
11
+ 'models',
12
+ 'lib',
13
+ 'vendor',
14
+ file.split('_').last.pluralize
15
+ ].map { |it| './app/%s/%s.rb' % [it, file] }
16
+
17
+ klass_file = paths.find { |it| File.exist?(it) } or
18
+ raise NameError.new('Can not find and autoload class "%s", looked in %s' % [klass, paths.map{ |it| "\n#{it}" }.join('')])
19
+
20
+ # puts '* autoload: %s from %s' % [file, klass_file]
21
+
22
+ require klass_file
23
+
24
+ Object.const_get(klass)
25
+ end
26
+ end
27
+
@@ -58,5 +58,11 @@ class Time
58
58
  end
59
59
 
60
60
  class String
61
- # gem 'fast_blank'
62
- end
61
+ def blank?
62
+ return true if self.length == 0
63
+
64
+ # test = !!(self =~ /^\s*$/)
65
+ !(self =~ /[^\s]/)
66
+ end
67
+ end
68
+
@@ -0,0 +1,10 @@
1
+ class Float
2
+
3
+ def as_currency
4
+ out = '%.2f' % self
5
+ out = out.sub('.', ',')
6
+ out = out.sub(/(\d)(\d{3})/, '\1.\2')
7
+ out
8
+ end
9
+
10
+ end
data/lib/overload/hash.rb CHANGED
@@ -10,7 +10,7 @@ class Hash
10
10
  end
11
11
 
12
12
  def tag node=nil, text=nil
13
- Lux::Helper::HtmlTag.build self, node, text
13
+ HtmlTagBuilder.build self, node, text
14
14
  end
15
15
 
16
16
  def to_struct name=nil
@@ -74,22 +74,15 @@ class Hash
74
74
  omit
75
75
  end
76
76
 
77
- # full dinmaic option, slow
78
- # def to_opts! *keys
79
- # self.keys.each { |key| raise 'Hash key :%s is not allowed!' % key unless keys.include?(key) }
80
-
81
- # template = Class.new
82
- # keys.each { |key| template.send(:attr_accessor, key) }
83
-
84
- # klass = template.new
85
- # keys.map { |key| klass.send '%s=' % key, self[key] }
86
- # klass
87
- # end
88
77
  def to_opts! *keys
89
78
  self.keys.each { |key| raise 'Hash key :%s is not allowed!' % key unless keys.include?(key) }
90
79
 
91
80
  DynamicClass.new keys
92
81
  .inject({}) { |_, key| _[key] = self[key]; _ }
93
82
  end
83
+
84
+ def pretty_generate
85
+ JSON.pretty_generate(self).gsub(/"([\w\-]+)":/) { %["#{$1.yellow}":] }
86
+ end
94
87
  end
95
88
 
@@ -10,10 +10,6 @@ class Integer
10
10
  end
11
11
 
12
12
  def dotted
13
- data = self.to_s
14
- while data.sub!(/(\d)(\d{3})$/, "\\1.\\2")
15
- 1
16
- end
17
- data
13
+ self.to_s.reverse.gsub(/(\d{3})(?=\d)/, '\\1.').reverse
18
14
  end
19
15
  end
data/lib/overload/nil.rb CHANGED
@@ -2,7 +2,12 @@ class NilClass
2
2
  def empty?
3
3
  true
4
4
  end
5
+
5
6
  def present?
6
7
  false
7
8
  end
9
+
10
+ def dup
11
+ nil
12
+ end
8
13
  end
@@ -12,6 +12,7 @@ class Object
12
12
  def die desc=nil, exp_object=nil
13
13
  desc ||= 'died without desc'
14
14
  desc = '%s: %s' % [exp_object.class, desc] if exp_object
15
+ puts desc.red
15
16
  raise desc
16
17
  end
17
18
 
data/lib/overload/r.rb CHANGED
@@ -47,6 +47,11 @@ class Object
47
47
  r dump
48
48
  end
49
49
 
50
+ def rr! what
51
+ print "\e[H\e[2J\e[3J" # clear osx screen :)
52
+ rr what
53
+ end
54
+
50
55
  def instance_variables_hash
51
56
  Hash[instance_variables.map { |name| [name, instance_variable_get(name)] } ]
52
57
  end
@@ -5,7 +5,7 @@ class String
5
5
  end
6
6
 
7
7
  # convert escaped strings, remove scritpts
8
- def to_html(opts={})
8
+ def to_html opts={}
9
9
  value = self.gsub(/&lt;/, '<').gsub(/&gt;/, '>').gsub(/&amp;/,'&')
10
10
  value = value.gsub(/<script/,'&lt;script') unless opts[:script]
11
11
  value = value.gsub(/<link/,'&lt;link') unless opts[:link]
@@ -80,9 +80,8 @@ class String
80
80
  %[<span style="color: #800;">#{self}</span>]
81
81
  end
82
82
 
83
- def constantize
84
- klass = self
85
- obj = Object.const_get(klass)
86
- obj.to_s == klass.sub(/^::/,'') ? obj : raise(NameError, 'Cant find class %s' % klass)
83
+ # remomove colorize gem string colors
84
+ def decolorize
85
+ self.gsub(/\[0;\d\d;\d\dm([^\[]*)\[0m/) { $1 }
87
86
  end
88
87
  end
@@ -12,10 +12,9 @@ class Time
12
12
  include TimeOptions
13
13
 
14
14
  class << self
15
-
16
15
  # humanize_seconds(61) -> 1min 1sec
17
16
  # humanize_seconds(1111) -> 18min 31sec
18
- def humanize_seconds(secs)
17
+ def humanize_seconds secs
19
18
  return '-' unless secs
20
19
  secs = secs.to_i
21
20
  [[60, :sec], [60, :min], [24, :hrs], [356, :days], [1000, :years]].map{ |count, name|
@@ -26,7 +25,7 @@ class Time
26
25
  }.compact.reverse.slice(0,2).join(' ')
27
26
  end
28
27
 
29
- def ago(start_time, end_time=nil)
28
+ def ago start_time, end_time=nil
30
29
  start_time = Time.new(start_time.year, start_time.month, start_time.day) if start_time.class == Date
31
30
 
32
31
  end_time ||= Time.now
@@ -52,6 +51,27 @@ class Time
52
51
  return template % d_months.pluralize('month') if d_months < 12
53
52
  return template % d_years.pluralize('year')
54
53
  end
54
+
55
+ def monotonic
56
+ Process.clock_gettime(Process::CLOCK_MONOTONIC)
57
+ end
58
+
59
+ # Generates a Time object from the given value.
60
+ # Used by #expires and #last_modified.
61
+ # extracted from Sinatra
62
+ def for(value)
63
+ if value.is_a? Numeric
64
+ Time.at value
65
+ elsif value.respond_to? :to_s
66
+ Time.parse value.to_s
67
+ else
68
+ value.to_time
69
+ end
70
+ rescue ArgumentError => boom
71
+ raise boom
72
+ rescue Exception
73
+ raise ArgumentError, "unable to convert #{value.inspect} to a Time object"
74
+ end
55
75
  end
56
76
  end
57
77
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lux-fw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.35
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dino Reic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-16 00:00:00.000000000 Z
11
+ date: 2018-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1'
69
- - !ruby/object:Gem::Dependency
70
- name: fast_blank
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '1'
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '1'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: hamlit
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -192,6 +178,20 @@ dependencies:
192
178
  - - "~>"
193
179
  - !ruby/object:Gem::Version
194
180
  version: '1'
181
+ - !ruby/object:Gem::Dependency
182
+ name: nokogiri
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '1'
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '1'
195
195
  description: Ruby framework optimized for speed and linghtness
196
196
  email: rejotl@gmail.com
197
197
  executables:
@@ -210,45 +210,47 @@ files:
210
210
  - "./bin/cli/get"
211
211
  - "./bin/cli/nginx"
212
212
  - "./bin/cli/production"
213
+ - "./bin/cli/render"
213
214
  - "./bin/cli/routes"
214
215
  - "./bin/cli/server"
215
216
  - "./bin/cli/stat"
216
217
  - "./bin/cli/systemd"
217
- - "./bin/forever"
218
- - "./bin/job_que"
219
218
  - "./bin/lux"
220
219
  - "./bin/txt/nginx.conf"
221
220
  - "./bin/txt/siege-and-puma.txt"
222
221
  - "./lib/common/base32.rb"
223
- - "./lib/common/before_and_after.rb"
224
222
  - "./lib/common/class_attributes.rb"
223
+ - "./lib/common/class_callbacks.rb"
225
224
  - "./lib/common/crypt.rb"
226
225
  - "./lib/common/dynamic_class.rb"
227
226
  - "./lib/common/folder_model.rb"
228
227
  - "./lib/common/generic_model.rb"
229
228
  - "./lib/common/hash_with_indifferent_access.rb"
229
+ - "./lib/common/html_tag_builder.rb"
230
230
  - "./lib/common/method_attr.rb"
231
231
  - "./lib/common/policy.rb"
232
232
  - "./lib/common/string_base.rb"
233
233
  - "./lib/common/url.rb"
234
234
  - "./lib/lux-fw.rb"
235
235
  - "./lib/lux/api/api.rb"
236
- - "./lib/lux/api/lib/application_api.rb"
237
- - "./lib/lux/api/lib/doc_builder.rb"
238
236
  - "./lib/lux/api/lib/dsl.rb"
239
237
  - "./lib/lux/api/lib/error.rb"
240
238
  - "./lib/lux/api/lib/model_api.rb"
241
- - "./lib/lux/api/lib/rescue.rb"
242
239
  - "./lib/lux/api/lib/response.rb"
240
+ - "./lib/lux/application/application.rb"
241
+ - "./lib/lux/application/lib/nav.rb"
242
+ - "./lib/lux/application/lib/plugs.rb"
243
+ - "./lib/lux/application/lib/render.rb"
244
+ - "./lib/lux/application/lib/route_test.rb"
243
245
  - "./lib/lux/cache/cache.rb"
244
246
  - "./lib/lux/cache/lib/memcached.rb"
245
247
  - "./lib/lux/cache/lib/null.rb"
246
248
  - "./lib/lux/cache/lib/ram.rb"
247
249
  - "./lib/lux/cell/cell.rb"
248
250
  - "./lib/lux/config/config.rb"
249
- - "./lib/lux/controller/controller.rb"
250
- - "./lib/lux/controller/lib/nav.rb"
251
- - "./lib/lux/controller/lib/plugs.rb"
251
+ - "./lib/lux/current/current.rb"
252
+ - "./lib/lux/current/lib/encrypt_params.rb"
253
+ - "./lib/lux/current/lib/static_file.rb"
252
254
  - "./lib/lux/delayed_job/delayed_job.rb"
253
255
  - "./lib/lux/delayed_job/lib/memory.rb"
254
256
  - "./lib/lux/delayed_job/lib/nsq.rb"
@@ -256,25 +258,20 @@ files:
256
258
  - "./lib/lux/delayed_job/lib/redis.rb"
257
259
  - "./lib/lux/error/error.rb"
258
260
  - "./lib/lux/helper/helper.rb"
259
- - "./lib/lux/helper/lib/html_tag.rb"
260
- - "./lib/lux/html/html.rb"
261
- - "./lib/lux/html/lib/form.rb"
262
- - "./lib/lux/html/lib/input.rb"
263
- - "./lib/lux/html/lib/input_types.rb"
264
- - "./lib/lux/lib/lux.rb"
261
+ - "./lib/lux/helper/helpers/application_helper.rb"
262
+ - "./lib/lux/helper/helpers/html_helper.rb"
263
+ - "./lib/lux/helper/helpers/mailer_helper.rb"
265
264
  - "./lib/lux/lux.rb"
266
265
  - "./lib/lux/mailer/mailer.rb"
267
- - "./lib/lux/page/lib/encrypt_params.rb"
268
- - "./lib/lux/page/lib/flash.rb"
269
- - "./lib/lux/page/lib/response.rb"
270
- - "./lib/lux/page/lib/static_file.rb"
271
- - "./lib/lux/page/page.rb"
272
- - "./lib/lux/rescue_from/rescue_from.rb"
266
+ - "./lib/lux/response/lib/flash.rb"
267
+ - "./lib/lux/response/lib/header.rb"
268
+ - "./lib/lux/response/response.rb"
273
269
  - "./lib/lux/template/template.rb"
274
270
  - "./lib/overload/array.rb"
271
+ - "./lib/overload/auto_loader.rb"
275
272
  - "./lib/overload/blank.rb"
276
- - "./lib/overload/date.rb"
277
273
  - "./lib/overload/file.rb"
274
+ - "./lib/overload/float.rb"
278
275
  - "./lib/overload/hash.rb"
279
276
  - "./lib/overload/integer.rb"
280
277
  - "./lib/overload/it.rb"
@@ -285,40 +282,7 @@ files:
285
282
  - "./lib/overload/string.rb"
286
283
  - "./lib/overload/string_inflections.rb"
287
284
  - "./lib/overload/struct.rb"
288
- - "./lib/plugins/assets/assets_plug.rb"
289
- - "./lib/plugins/assets/helper_module_adapter.rb"
290
- - "./lib/plugins/assets/init.rb"
291
- - "./lib/plugins/db_helpers/array_and_hstore.rb"
292
- - "./lib/plugins/db_helpers/arrays_and_tags.rb"
293
- - "./lib/plugins/db_helpers/before_save.rb"
294
- - "./lib/plugins/db_helpers/cached_find_by.rb"
295
- - "./lib/plugins/db_helpers/class_and_instance.rb"
296
- - "./lib/plugins/db_helpers/dataset_plugin.rb"
297
- - "./lib/plugins/db_helpers/filter_wrappers.rb"
298
- - "./lib/plugins/db_helpers/link_plugin.rb"
299
- - "./lib/plugins/db_helpers/localize_plugin.rb"
300
- - "./lib/plugins/db_helpers/primary_keys.rb"
301
- - "./lib/plugins/db_helpers/typero_attributes.rb"
302
- - "./lib/plugins/db_logger/init.rb"
303
- - "./lib/plugins/db_logger/lux_response_adapter.rb"
304
- - "./lib/plugins/paginate/helper.rb"
305
- - "./lib/plugins/paginate/sequel_adapter.rb"
306
- - "./lib/vendor/mini_assets/lib/asset.rb"
307
- - "./lib/vendor/mini_assets/lib/asset/css.rb"
308
- - "./lib/vendor/mini_assets/lib/asset/js.rb"
309
- - "./lib/vendor/mini_assets/lib/base.rb"
310
- - "./lib/vendor/mini_assets/lib/base/javascript.rb"
311
- - "./lib/vendor/mini_assets/lib/base/stylesheet.rb"
312
- - "./lib/vendor/mini_assets/lib/manifest.rb"
313
- - "./lib/vendor/mini_assets/lib/opts.rb"
314
- - "./lib/vendor/mini_assets/mini_assets.rb"
315
- - "./lib/vendor/oauth/lib/facebook.rb"
316
- - "./lib/vendor/oauth/lib/github.rb"
317
- - "./lib/vendor/oauth/lib/google.rb"
318
- - "./lib/vendor/oauth/lib/linkedin.rb"
319
- - "./lib/vendor/oauth/lib/stackexchange.rb"
320
- - "./lib/vendor/oauth/lib/twitter.rb"
321
- - "./lib/vendor/oauth/oauth.rb"
285
+ - "./lib/overload/time.rb"
322
286
  - bin/lux
323
287
  homepage: http://trifolium.hr/lux
324
288
  licenses:
@@ -340,7 +304,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
340
304
  version: '0'
341
305
  requirements: []
342
306
  rubyforge_project:
343
- rubygems_version: 2.6.14
307
+ rubygems_version: 2.7.5
344
308
  signing_key:
345
309
  specification_version: 4
346
310
  summary: Lux - the ruby framework