Skip to content

Commit

Permalink
_+_
Browse files Browse the repository at this point in the history
  • Loading branch information
leonovk committed Nov 30, 2023
1 parent c17174a commit 3cd3cc7
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .examples/example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
file:
kek:
lol: 'text'
cheburek: 'chevurek'
users:
first: '1'
21 changes: 21 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Ruby

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
with:
ruby-version: '3.1'
- name: Install dependencies
run: bundle install
- name: Run cops
run: bundle exec rubocop
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
.byebug_history
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require:
- rubocop-minitest
6 changes: 5 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
PATH
remote: .
specs:
activeyaml (0.1.0)
activeyaml (0.1.3)
psych (~> 5.1)

GEM
remote: https://rubygems.org/
Expand All @@ -15,6 +16,8 @@ GEM
parser (3.2.2.4)
ast (~> 2.4.1)
racc
psych (5.1.1.1)
stringio
racc (1.7.3)
rainbow (3.1.1)
regexp_parser (2.8.2)
Expand All @@ -35,6 +38,7 @@ GEM
rubocop-minitest (0.33.0)
rubocop (>= 1.39, < 2.0)
ruby-progressbar (1.13.0)
stringio (3.1.0)
unicode-display_width (2.5.0)

PLATFORMS
Expand Down
5 changes: 4 additions & 1 deletion activeyaml.gemspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# frozen_string_literal: true

require_relative 'lib/active_yaml/version'

Gem::Specification.new do |s|
s.name = 'activeyaml'
s.version = '0.1.1'
s.version = ActiveYaml::VERSION
s.summary = 'activeyaml'
s.description = 'activeyaml'
s.authors = ['Kirill Leonov']
Expand All @@ -14,4 +16,5 @@ Gem::Specification.new do |s|
s.metadata['homepage_uri'] = s.homepage
s.metadata['source_code_uri'] = s.homepage
s.metadata['documentation_uri'] = s.homepage
s.add_dependency 'psych', '~> 5.1'
end
5 changes: 5 additions & 0 deletions lib/active_yaml/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

class ActiveYaml
VERSION = '0.1.3'
end

0 comments on commit 3cd3cc7

Please sign in to comment.