render_me_pretty 0.8.4 → 0.9.0

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: 568385d41ee6116a69769e93aef3da2540dd504313956a521938d5e8c85114dc
4
- data.tar.gz: 6728276075074f49d08860f254d09a71e5a4adc24346c218cb5f9961a85c81da
3
+ metadata.gz: 28f4378bce74504d490fde1c53d18fa5132a9aa5ea072fdde13a322181222325
4
+ data.tar.gz: 35d9971f8c07a02bf099d2b0a78c6d204fa5a542027399d99d334776366b0615
5
5
  SHA512:
6
- metadata.gz: 06c70b6311b152a7725c200da4760678c2ba5bc12a3dc4a127a3e91a32be762df5e9717678973c9aeddfe054afdec4345911400d2aa7b221302af6437c9e7ce7
7
- data.tar.gz: 40c6951774cc3de8106a5e96a9a75823fb0d9aebcd990b1db32d156474d85a1fb844ed6fc1f8ce85f3385a1d4768a4d5642fcc3a11bb16abfa2cbf8433fc2b2d
6
+ metadata.gz: b370e5090fcc8c5c6344caf169562a491ea319d1cc866d4968f5ea659e10009ed17383413181b8657048040e77cc99d8e18e01d9bf04d50fa8f21a885895fcff
7
+ data.tar.gz: 4f5b87455ae81cb9e3b49f7e1771e1155f5c8a3a6e797e8833616c6dcef6f836f2de99546cf880aeaad3c081345406202f01574652490d7c50095d43b614e54a
@@ -0,0 +1,15 @@
1
+ name: Run RSpec tests
2
+ on: [push,pull_request]
3
+ jobs:
4
+ test:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - uses: actions/checkout@v2
8
+ - name: Set up Ruby
9
+ uses: ruby/setup-ruby@v1
10
+ with:
11
+ ruby-version: 3.2
12
+ bundler-cache: true
13
+ - name: Run tests
14
+ run: |
15
+ bundle exec rspec
data/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.9.0] - 2023-06-06
7
+ - [#2](https://github.com/tongueroo/render_me_pretty/pull/2) require tilt so EMPTY_HASH is defined
8
+ - [#3](https://github.com/tongueroo/render_me_pretty/pull/3) CI: Github Actions Rspec
9
+ - add github action badge
10
+ - remove circleci
11
+
6
12
  ## [0.8.4] - 2021-12-28
7
13
  - fix activesupport require
8
14
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Render Me Pretty
2
2
 
3
- [![CircleCI](https://circleci.com/gh/tongueroo/render_me_pretty.svg?style=svg)](https://circleci.com/gh/tongueroo/render_me_pretty)
3
+ ![workflow](https://github.com/tongueroo/render_me_pretty/actions/workflows/rspec.yml/badge.svg)
4
4
 
5
5
  [![BoltOps Badge](https://img.boltops.com/boltops/badges/boltops-badge.png)](https://www.boltops.com)
6
6
 
@@ -39,6 +39,7 @@ If you want to use your own context object, pass it as a variable. The context
39
39
  The context will be `person`. So person methods and instance variables will be available in the ERB templates.
40
40
 
41
41
  =end
42
+ require 'tilt'
42
43
  require 'tilt/erb'
43
44
 
44
45
  module RenderMePretty
@@ -1,3 +1,3 @@
1
1
  module RenderMePretty
2
- VERSION = "0.8.4"
2
+ VERSION = "0.9.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: render_me_pretty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-28 00:00:00.000000000 Z
11
+ date: 2023-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -101,7 +101,7 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
- - ".circleci/config.yml"
104
+ - ".github/workflows/rspec.yml"
105
105
  - ".gitignore"
106
106
  - ".rspec"
107
107
  - CHANGELOG.md
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubygems_version: 3.2.32
139
+ rubygems_version: 3.4.10
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Render ERB template and provide more useful message pointing out the line
data/.circleci/config.yml DELETED
@@ -1,58 +0,0 @@
1
- # Ruby CircleCI 2.0 configuration file
2
- #
3
- # Check https://circleci.com/docs/2.0/language-ruby/ for more details
4
- #
5
- version: 2
6
- jobs:
7
- build:
8
- docker:
9
- # specify the version you desire here
10
- - image: circleci/ruby:2.5.3
11
-
12
- working_directory: ~/repo
13
-
14
- steps:
15
- - checkout
16
-
17
- - run:
18
- name: submodule sync
19
- command: |
20
- git submodule sync
21
- git submodule update --init
22
-
23
- # Download and cache dependencies
24
- - restore_cache:
25
- keys:
26
- - v2-dependencies-{{ checksum "Gemfile.lock" }}
27
- # fallback to using the latest cache if no exact match is found
28
- - v2-dependencies-
29
-
30
- - run:
31
- name: install dependencies
32
- command: |
33
- bundle install --jobs=4 --retry=3 --path vendor/bundle
34
-
35
- - save_cache:
36
- paths:
37
- - ./vendor/bundle
38
- key: v2-dependencies-{{ checksum "Gemfile.lock" }}
39
-
40
- # run tests!
41
- - run:
42
- name: run tests
43
- command: |
44
- mkdir /tmp/test-results
45
-
46
- cat >.rspec <<EOL
47
- --format documentation
48
- --require spec_helper
49
- EOL
50
-
51
- bundle exec rspec
52
-
53
- # collect reports
54
- - store_test_results:
55
- path: /tmp/test-results
56
- - store_artifacts:
57
- path: /tmp/test-results
58
- destination: test-results