service_core 0.1.0 → 0.1.3
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 +4 -4
- data/Rakefile +4 -4
- data/lib/service_core/version.rb +1 -1
- data/service_core.gemspec +44 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 01d926ff29ac3ea5c0ecb4f7a754ea6531732cfe8bfe33591f17a0827132fd21
|
|
4
|
+
data.tar.gz: b79448edd6a9a4900430f246b0410362782d197a0b9318add7e6f7d63d71df1b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b192d8ca5f4439ca1d178697c70ed5ed1e288108c23c72b1aafa8ac1e7a17124f97c6b8f95978615f62e0f58e536c1a1f48cddc6b3e6ab39e5402f314ad3fa36
|
|
7
|
+
data.tar.gz: b855792ae11ac1a308004437e01374daac234ae4588416dc936eb2d5ac9cf973b03c2435a48d515e3a577cc29016dcbcdd88939d4c4b43d6d98b7b2f0cdd1109
|
data/Rakefile
CHANGED
|
@@ -14,8 +14,8 @@ task default: %i[spec rubocop]
|
|
|
14
14
|
desc "Tag and push the current version"
|
|
15
15
|
task :release do
|
|
16
16
|
version = `ruby -r ./lib/service_core/version -e "puts ServiceCore::VERSION"`.strip
|
|
17
|
-
sh "git add ."
|
|
18
|
-
sh "git commit -m 'Prepare for version #{version} release'"
|
|
19
|
-
sh "git tag v#{version}"
|
|
20
|
-
sh "git push origin main --tags"
|
|
17
|
+
# sh "git add ."
|
|
18
|
+
# sh "git commit -m 'Prepare for version #{version} release'"
|
|
19
|
+
# sh "git tag v#{version}"
|
|
20
|
+
# sh "git push origin main --tags"
|
|
21
21
|
end
|
data/lib/service_core/version.rb
CHANGED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative "lib/service_core/version"
|
|
4
|
+
|
|
5
|
+
Gem::Specification.new do |spec|
|
|
6
|
+
spec.name = "service_core"
|
|
7
|
+
spec.version = ServiceCore::VERSION
|
|
8
|
+
spec.authors = ["mayank sehgal"]
|
|
9
|
+
spec.email = ["sehgalmayank001@gmail.com"]
|
|
10
|
+
|
|
11
|
+
spec.summary = "A Rails service pattern implementation"
|
|
12
|
+
spec.description = "A service pattern implementation for Rails applications."
|
|
13
|
+
spec.homepage = "https://github.com/sehgalmayank001/service-core"
|
|
14
|
+
spec.license = "MIT"
|
|
15
|
+
spec.required_ruby_version = ">= 2.6.0"
|
|
16
|
+
|
|
17
|
+
# spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
|
|
18
|
+
|
|
19
|
+
# spec.metadata["homepage_uri"] = spec.homepage
|
|
20
|
+
# spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
|
|
21
|
+
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
|
22
|
+
|
|
23
|
+
# Specify which files should be added to the gem when it is released.
|
|
24
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
25
|
+
spec.files = Dir.chdir(__dir__) do
|
|
26
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
|
27
|
+
(File.expand_path(f) == __FILE__) ||
|
|
28
|
+
f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile])
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
spec.bindir = "exe"
|
|
32
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
33
|
+
spec.require_paths = ["lib"]
|
|
34
|
+
|
|
35
|
+
spec.add_runtime_dependency "activemodel", ">= 6.1", "< 8.0"
|
|
36
|
+
spec.add_runtime_dependency "activesupport", ">= 6.1", "< 8.0"
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
# Uncomment to register a new dependency of your gem
|
|
40
|
+
# spec.add_dependency "example-gem", "~> 1.0"
|
|
41
|
+
|
|
42
|
+
# For more information and examples about making a new gem, check out our
|
|
43
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
|
44
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: service_core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- mayank sehgal
|
|
@@ -71,6 +71,7 @@ files:
|
|
|
71
71
|
- lib/service_core/response.rb
|
|
72
72
|
- lib/service_core/step_validation.rb
|
|
73
73
|
- lib/service_core/version.rb
|
|
74
|
+
- service_core.gemspec
|
|
74
75
|
- sig/service_core.rbs
|
|
75
76
|
homepage: https://github.com/sehgalmayank001/service-core
|
|
76
77
|
licenses:
|