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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da0869c1579a59317e1abf49a5ce79f0a1c6c38f3cb29cd5cfc4a5fd93356fcf
4
- data.tar.gz: a5c2f3d9f719efae51e0befcd5b282523572bb035415f15d2126c097d91bba08
3
+ metadata.gz: 1c932b4fa8ecdfed2a00f54a566e5541650e344698c994cd92016b2560485d1e
4
+ data.tar.gz: c98a48b71eab7e51ea626d1e9c58e7f440ffe7f89ab42cf80f49eb3359d2c278
5
5
  SHA512:
6
- metadata.gz: 3ef2f92ef7f9e335f6a31ed87471160e0294a95de7465c28977767b13bb53955f5f52c1eba0d3a51bc0fe495cb9ca3f0a248e1a226fade15de745d8eb398093d
7
- data.tar.gz: 5b3fe8dc6b5bb0c27d51a49d146f004daca17161959b039ad8371de51c897c50d1464e8a9dde14292df19df274761bc2dfba4fe560f225c67e274db39eaab5d6
6
+ metadata.gz: 3069165305f56dd9268db808682d2a8b11eb4e1bd195ef5ce9b59719762cdfd68cf098d98821025e5a4c587a08066bd325da2cf789852b2dab3e86725cdda969
7
+ data.tar.gz: 8dd30430d23ff1026e0f338b1111e1bbae4f37197d834d3051e52b3a55c6af40e59f92a1ca3a1b48123a2ee8ad1703038cda9d97ff74278f77a53d7294a637eb
data/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem "activeadmin_dark_color_scheme"
10
+ gem "activeadmin_tiny_improvements"
11
11
  ```
12
12
 
13
13
  Import our Sass file “activeadmin-tiny-improvements” in your CSS entrypoint that compiles ActiveAdmin CSS files:
data/Rakefile CHANGED
@@ -18,7 +18,9 @@ task :debug do
18
18
  require "sassc"
19
19
  require "rails"
20
20
 
21
- path = Activeadmin::TinyImprovements.stylesheets_path
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.homepage,
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"
@@ -3,6 +3,7 @@
3
3
 
4
4
  max-width: 700px
5
5
  top: -1px
6
+ width: calc(80% - 22px) !important
6
7
 
7
8
  &--default
8
9
 
@@ -19,7 +19,8 @@ form
19
19
  float: none
20
20
  font-weight: 500
21
21
 
22
- li.radio, li.tristate_radio
22
+ li.radio,
23
+ li.tristate_radio
23
24
  fieldset.choices
24
25
  ol.choices-group
25
26
  > li.choice
@@ -9,3 +9,8 @@ fieldset.fragments
9
9
 
10
10
  label.label
11
11
  word-break: normal
12
+
13
+ label.required::after
14
+ color: crimson
15
+ content: "*"
16
+ margin-left: 1px
@@ -4,9 +4,8 @@
4
4
  # @see https://guides.rubyonrails.org/engines.html Rails guide on engines
5
5
  #
6
6
  module Activeadmin
7
- class Engine < ::Rails::Engine
8
- initializer "activeadmin_tiny_improvements.assets" do |app|
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Activeadmin
4
4
  module TinyImprovements
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  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.0
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-06-12 00:00:00.000000000 Z
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/_activeadmin-tiny-improvements.sass
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://github.com/sergeypedan/activeadmin-tiny-improvements
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: