activeadmin_tiny_improvements 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +3 -1
- data/activeadmin_tiny_improvements.gemspec +2 -1
- data/app/assets/stylesheets/activeadmin-tiny-improvements/addons/select2.sass +1 -0
- data/app/assets/stylesheets/activeadmin-tiny-improvements/inputs-radio.sass +2 -1
- data/app/assets/stylesheets/activeadmin-tiny-improvements/labels.sass +5 -0
- data/app/assets/stylesheets/{_activeadmin-tiny-improvements.sass → activeadmin-tiny-improvements.sass} +0 -0
- data/lib/activeadmin/tiny_improvements/engine.rb +2 -3
- data/lib/activeadmin/tiny_improvements/version.rb +1 -1
- data/lib/activeadmin/tiny_improvements.rb +1 -16
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c932b4fa8ecdfed2a00f54a566e5541650e344698c994cd92016b2560485d1e
|
4
|
+
data.tar.gz: c98a48b71eab7e51ea626d1e9c58e7f440ffe7f89ab42cf80f49eb3359d2c278
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3069165305f56dd9268db808682d2a8b11eb4e1bd195ef5ce9b59719762cdfd68cf098d98821025e5a4c587a08066bd325da2cf789852b2dab3e86725cdda969
|
7
|
+
data.tar.gz: 8dd30430d23ff1026e0f338b1111e1bbae4f37197d834d3051e52b3a55c6af40e59f92a1ca3a1b48123a2ee8ad1703038cda9d97ff74278f77a53d7294a637eb
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -18,7 +18,9 @@ task :debug do
|
|
18
18
|
require "sassc"
|
19
19
|
require "rails"
|
20
20
|
|
21
|
-
|
21
|
+
gem_path ||= File.expand_path "../../app", File.dirname(__FILE__)
|
22
|
+
assets_path ||= File.join gem_path, "assets"
|
23
|
+
path = File.join assets_path, "stylesheets"
|
22
24
|
entrypoins = %w(_activeadmin-tiny-improvements)
|
23
25
|
|
24
26
|
entrypoins.each do |file|
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.rdoc_options = ["--charset=UTF-8"]
|
20
20
|
spec.metadata = { "changelog_uri" => "#{spec.homepage}/blob/master/CHANGELOG.md",
|
21
21
|
"documentation_uri" => "https://www.rubydoc.info/gems/#{spec.name}",
|
22
|
-
"homepage_uri" => spec.
|
22
|
+
"homepage_uri" => "https://sergeypedan.ru/open_source_projects/#{spec.name.gsub('_', '-')}",
|
23
23
|
"source_code_uri" => spec.homepage }
|
24
24
|
|
25
25
|
spec.require_paths = ["app", "lib"]
|
@@ -32,6 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
.reject { |f| f.start_with? "." }
|
33
33
|
end
|
34
34
|
|
35
|
+
spec.add_runtime_dependency "activeadmin", ">= 2"
|
35
36
|
spec.add_runtime_dependency "railties", ">= 4"
|
36
37
|
|
37
38
|
spec.add_development_dependency "rake", "~> 13"
|
File without changes
|
@@ -4,9 +4,8 @@
|
|
4
4
|
# @see https://guides.rubyonrails.org/engines.html Rails guide on engines
|
5
5
|
#
|
6
6
|
module Activeadmin
|
7
|
-
|
8
|
-
|
9
|
-
app.config.assets.paths << root.join("assets", "stylesheets").to_s
|
7
|
+
module TinyImprovements
|
8
|
+
class Engine < ::Rails::Engine
|
10
9
|
end
|
11
10
|
end
|
12
11
|
end
|
@@ -1,24 +1,9 @@
|
|
1
|
-
# frozen_string_literal: true
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require_relative "tiny_improvements/version"
|
4
4
|
require_relative "tiny_improvements/engine"
|
5
5
|
|
6
6
|
module Activeadmin
|
7
7
|
module TinyImprovements
|
8
|
-
class << self
|
9
|
-
|
10
|
-
def gem_path
|
11
|
-
@gem_path ||= File.expand_path "../../app", File.dirname(__FILE__)
|
12
|
-
end
|
13
|
-
|
14
|
-
def assets_path
|
15
|
-
@assets_path ||= File.join gem_path, "assets"
|
16
|
-
end
|
17
|
-
|
18
|
-
def stylesheets_path
|
19
|
-
File.join assets_path, "stylesheets"
|
20
|
-
end
|
21
|
-
|
22
|
-
end
|
23
8
|
end
|
24
9
|
end
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin_tiny_improvements
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Pedan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activeadmin
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: railties
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -107,7 +121,7 @@ files:
|
|
107
121
|
- activeadmin_tiny_improvements.gemspec
|
108
122
|
- app/assets/.DS_Store
|
109
123
|
- app/assets/stylesheets/.DS_Store
|
110
|
-
- app/assets/stylesheets/
|
124
|
+
- app/assets/stylesheets/activeadmin-tiny-improvements.sass
|
111
125
|
- app/assets/stylesheets/activeadmin-tiny-improvements/addons/best-in-place.sass
|
112
126
|
- app/assets/stylesheets/activeadmin-tiny-improvements/addons/select2.sass
|
113
127
|
- app/assets/stylesheets/activeadmin-tiny-improvements/addons/toggl-bool-switches.sass
|
@@ -138,7 +152,7 @@ licenses:
|
|
138
152
|
metadata:
|
139
153
|
changelog_uri: https://github.com/sergeypedan/activeadmin-tiny-improvements/blob/master/CHANGELOG.md
|
140
154
|
documentation_uri: https://www.rubydoc.info/gems/activeadmin_tiny_improvements
|
141
|
-
homepage_uri: https://
|
155
|
+
homepage_uri: https://sergeypedan.ru/open_source_projects/activeadmin-tiny-improvements
|
142
156
|
source_code_uri: https://github.com/sergeypedan/activeadmin-tiny-improvements
|
143
157
|
post_install_message:
|
144
158
|
rdoc_options:
|