abyme 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +8 -0
- data/.rspec +1 -3
- data/Gemfile.lock +69 -8
- data/README.md +1 -1
- data/Rakefile +23 -1
- data/abyme.gemspec +4 -2
- data/bin/rails +12 -0
- data/lib/abyme/version.rb +1 -1
- data/lib/abyme/view_helpers.rb +1 -1
- metadata +36 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 816e7cba26a46179ce0fb2b593a2269743dd045759b29c432fae364f85c59f39
|
4
|
+
data.tar.gz: 46e3d01e05f7be13269da2fb473f4d80abdcc150eaa58198ebc913493477f29c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36ff2a692981100cf7e1d797d51bcd1c15e857d23d4599eab19d733129e499311be2136059d8abd7547727aa186983f6d4a111981e693989db9e9da7ab2be708
|
7
|
+
data.tar.gz: 7b90ac8a57026b3f91c5802ce9de6eb4f7cfae68bb3c7941051b355439495a985b2c571664faa42829c3e08e1e34222754309d570a835c9d36b3bc85c9cec9ab
|
data/.gitignore
CHANGED
data/.rspec
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,18 +1,63 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
abyme (0.
|
4
|
+
abyme (0.2.2)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
+
actionpack (6.0.3.4)
|
10
|
+
actionview (= 6.0.3.4)
|
11
|
+
activesupport (= 6.0.3.4)
|
12
|
+
rack (~> 2.0, >= 2.0.8)
|
13
|
+
rack-test (>= 0.6.3)
|
14
|
+
rails-dom-testing (~> 2.0)
|
15
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
16
|
+
actionview (6.0.3.4)
|
17
|
+
activesupport (= 6.0.3.4)
|
18
|
+
builder (~> 3.1)
|
19
|
+
erubi (~> 1.4)
|
20
|
+
rails-dom-testing (~> 2.0)
|
21
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
22
|
+
activesupport (6.0.3.4)
|
23
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
24
|
+
i18n (>= 0.7, < 2)
|
25
|
+
minitest (~> 5.1)
|
26
|
+
tzinfo (~> 1.1)
|
27
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
28
|
+
builder (3.2.4)
|
29
|
+
concurrent-ruby (1.1.7)
|
30
|
+
crass (1.0.6)
|
9
31
|
diff-lcs (1.4.4)
|
32
|
+
erubi (1.9.0)
|
33
|
+
i18n (1.8.5)
|
34
|
+
concurrent-ruby (~> 1.0)
|
35
|
+
loofah (2.7.0)
|
36
|
+
crass (~> 1.0.2)
|
37
|
+
nokogiri (>= 1.5.9)
|
38
|
+
method_source (1.0.0)
|
39
|
+
mini_portile2 (2.4.0)
|
40
|
+
minitest (5.14.2)
|
41
|
+
nokogiri (1.10.10)
|
42
|
+
mini_portile2 (~> 2.4.0)
|
43
|
+
rack (2.2.3)
|
44
|
+
rack-test (1.1.0)
|
45
|
+
rack (>= 1.0, < 3)
|
46
|
+
rails-dom-testing (2.0.3)
|
47
|
+
activesupport (>= 4.2.0)
|
48
|
+
nokogiri (>= 1.6)
|
49
|
+
rails-dummy (0.1.0)
|
50
|
+
railties
|
51
|
+
rails-html-sanitizer (1.3.0)
|
52
|
+
loofah (~> 2.3)
|
53
|
+
railties (6.0.3.4)
|
54
|
+
actionpack (= 6.0.3.4)
|
55
|
+
activesupport (= 6.0.3.4)
|
56
|
+
method_source
|
57
|
+
rake (>= 0.8.7)
|
58
|
+
thor (>= 0.20.3, < 2.0)
|
10
59
|
rake (13.0.1)
|
11
|
-
rspec (3.9.
|
12
|
-
rspec-core (~> 3.9.0)
|
13
|
-
rspec-expectations (~> 3.9.0)
|
14
|
-
rspec-mocks (~> 3.9.0)
|
15
|
-
rspec-core (3.9.2)
|
60
|
+
rspec-core (3.9.3)
|
16
61
|
rspec-support (~> 3.9.3)
|
17
62
|
rspec-expectations (3.9.2)
|
18
63
|
diff-lcs (>= 1.2.0, < 2.0)
|
@@ -20,7 +65,21 @@ GEM
|
|
20
65
|
rspec-mocks (3.9.1)
|
21
66
|
diff-lcs (>= 1.2.0, < 2.0)
|
22
67
|
rspec-support (~> 3.9.0)
|
68
|
+
rspec-rails (4.0.1)
|
69
|
+
actionpack (>= 4.2)
|
70
|
+
activesupport (>= 4.2)
|
71
|
+
railties (>= 4.2)
|
72
|
+
rspec-core (~> 3.9)
|
73
|
+
rspec-expectations (~> 3.9)
|
74
|
+
rspec-mocks (~> 3.9)
|
75
|
+
rspec-support (~> 3.9)
|
23
76
|
rspec-support (3.9.3)
|
77
|
+
sqlite3 (1.4.2)
|
78
|
+
thor (1.0.1)
|
79
|
+
thread_safe (0.3.6)
|
80
|
+
tzinfo (1.2.7)
|
81
|
+
thread_safe (~> 0.1)
|
82
|
+
zeitwerk (2.4.0)
|
24
83
|
|
25
84
|
PLATFORMS
|
26
85
|
ruby
|
@@ -28,8 +87,10 @@ PLATFORMS
|
|
28
87
|
DEPENDENCIES
|
29
88
|
abyme!
|
30
89
|
bundler (~> 2.0)
|
90
|
+
rails-dummy
|
31
91
|
rake (~> 13.0)
|
32
|
-
rspec
|
92
|
+
rspec-rails
|
93
|
+
sqlite3
|
33
94
|
|
34
95
|
BUNDLED WITH
|
35
|
-
2.
|
96
|
+
2.1.4
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -1,6 +1,28 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
2
|
require "rspec/core/rake_task"
|
3
|
+
require 'rails/dummy/tasks'
|
3
4
|
|
4
5
|
RSpec::Core::RakeTask.new(:spec)
|
5
|
-
|
6
6
|
task :default => :spec
|
7
|
+
|
8
|
+
APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__)
|
9
|
+
load 'rails/tasks/engine.rake'
|
10
|
+
load 'rails/tasks/statistics.rake'
|
11
|
+
|
12
|
+
Bundler::GemHelper.install_tasks
|
13
|
+
|
14
|
+
begin
|
15
|
+
require 'bundler/setup'
|
16
|
+
rescue LoadError
|
17
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
18
|
+
end
|
19
|
+
|
20
|
+
require 'rdoc/task'
|
21
|
+
|
22
|
+
RDoc::Task.new(:rdoc) do |rdoc|
|
23
|
+
rdoc.rdoc_dir = 'rdoc'
|
24
|
+
rdoc.title = 'Abyme'
|
25
|
+
rdoc.options << '--line-numbers'
|
26
|
+
rdoc.rdoc_files.include('README.md')
|
27
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
28
|
+
end
|
data/abyme.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
# Specify which files should be added to the gem when it is released.
|
21
21
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
22
22
|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
23
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features
|
23
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
24
24
|
end
|
25
25
|
spec.bindir = "exe"
|
26
26
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
@@ -28,5 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
|
29
29
|
spec.add_development_dependency "bundler", "~> 2.0"
|
30
30
|
spec.add_development_dependency "rake", "~> 13.0"
|
31
|
-
spec.add_development_dependency "rspec"
|
31
|
+
spec.add_development_dependency "rspec-rails"
|
32
|
+
spec.add_development_dependency "rails-dummy"
|
33
|
+
spec.add_development_dependency "sqlite3"
|
32
34
|
end
|
data/bin/rails
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application.
|
3
|
+
|
4
|
+
ENGINE_ROOT = File.expand_path('..', __dir__)
|
5
|
+
ENGINE_PATH = File.expand_path('../lib/abyme/engine', __dir__)
|
6
|
+
|
7
|
+
# Set up gems listed in the Gemfile.
|
8
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
9
|
+
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
|
10
|
+
|
11
|
+
require 'rails/all'
|
12
|
+
require 'rails/engine/commands'
|
data/lib/abyme/version.rb
CHANGED
data/lib/abyme/view_helpers.rb
CHANGED
@@ -58,7 +58,7 @@ module Abyme
|
|
58
58
|
form.fields_for(association, records) do |f|
|
59
59
|
content_tag(:div, build_attributes(fields_default, basic_fields_markup(options[:fields_html], association))) do
|
60
60
|
block_given? ? yield(f) : render(options[:partial] || "abyme/#{association.to_s.singularize}_fields", f: f)
|
61
|
-
|
61
|
+
end
|
62
62
|
end
|
63
63
|
end
|
64
64
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: abyme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Romain Sanson
|
@@ -40,19 +40,47 @@ dependencies:
|
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '13.0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
|
-
name: rspec
|
43
|
+
name: rspec-rails
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
48
|
+
version: '0'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rails-dummy
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: sqlite3
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
54
82
|
- !ruby/object:Gem::Version
|
55
|
-
version: '
|
83
|
+
version: '0'
|
56
84
|
description:
|
57
85
|
email:
|
58
86
|
- louis.sommer@hey.com
|
@@ -71,6 +99,7 @@ files:
|
|
71
99
|
- Rakefile
|
72
100
|
- abyme.gemspec
|
73
101
|
- bin/console
|
102
|
+
- bin/rails
|
74
103
|
- bin/setup
|
75
104
|
- javascript/abyme_controller.js
|
76
105
|
- javascript/index.js
|
@@ -84,6 +113,7 @@ files:
|
|
84
113
|
- lib/generators/.DS_Store
|
85
114
|
- lib/generators/abyme/install_generator.rb
|
86
115
|
- lib/generators/abyme/templates/abyme_controller.js
|
116
|
+
- node_modules/.yarn-integrity
|
87
117
|
- package.json
|
88
118
|
- yarn-error.log
|
89
119
|
- yarn.lock
|