circle_experiment 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/.circleci/config.yml +37 -3
- data/.circleci/setup_rubygems.sh +10 -0
- data/circle_experiment.gemspec +0 -9
- data/lib/circle_experiment/version.rb +1 -1
- 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: f8f2bf0d3927c120523ca918657d8baa19cf4dd6b29a71d442b6e3244cf03e36
|
4
|
+
data.tar.gz: 62677bb44e47a83f7ad5c764d1f5842403cab48d073bd7f3854940e84ef654b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6883ced1a08643e6be0ae76f07f9b17d33d5d85767ba8481e7aac1e787f7faf49acc6db944f0e9ae983309518cd5dad9feab326fb140f8817cf8932d8161ce4f
|
7
|
+
data.tar.gz: 66f2decfbe35e8397e1d9f2c957b153e0bbb31ea5ecf48b9da0021842827ba65190ec18ddcb765f75f52eda9ff5216eb6d220a0b0d82e6cd3213bdc74046ed04
|
data/.circleci/config.yml
CHANGED
@@ -26,11 +26,45 @@ jobs:
|
|
26
26
|
<<: *test_defaults
|
27
27
|
docker:
|
28
28
|
- image: circleci/ruby:2.3
|
29
|
+
publish:
|
30
|
+
docker:
|
31
|
+
- image: circleci/ruby:2.5
|
32
|
+
working_directory: ~/repo
|
33
|
+
steps:
|
34
|
+
- checkout
|
35
|
+
- run:
|
36
|
+
name: Setup Rubygems
|
37
|
+
command: .circleci/setup_rubygems.sh
|
38
|
+
- run:
|
39
|
+
name: Publish to Rubygems
|
40
|
+
command: |
|
41
|
+
set -u
|
42
|
+
gem build circle_experiment.gemspec
|
43
|
+
gem push "circle_experiment-${CIRCLE_TAG#v}.gem"
|
29
44
|
|
30
45
|
workflows:
|
31
46
|
version: 2
|
32
47
|
build:
|
33
48
|
jobs:
|
34
|
-
- "ruby-2.5"
|
35
|
-
|
36
|
-
|
49
|
+
- "ruby-2.5":
|
50
|
+
filters:
|
51
|
+
tags:
|
52
|
+
only: /v.*/
|
53
|
+
- "ruby-2.4":
|
54
|
+
filters:
|
55
|
+
tags:
|
56
|
+
only: /v.*/
|
57
|
+
- "ruby-2.3":
|
58
|
+
filters:
|
59
|
+
tags:
|
60
|
+
only: /v.*/
|
61
|
+
- publish:
|
62
|
+
requires:
|
63
|
+
- "ruby-2.5"
|
64
|
+
- "ruby-2.4"
|
65
|
+
- "ruby-2.3"
|
66
|
+
filters:
|
67
|
+
tags:
|
68
|
+
only: /v.*/
|
69
|
+
branches:
|
70
|
+
ignore: /.*/
|
data/circle_experiment.gemspec
CHANGED
@@ -13,15 +13,6 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = "https://github.com/alext/circle_experiment"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
17
|
-
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
18
|
-
#if spec.respond_to?(:metadata)
|
19
|
-
#spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
20
|
-
#else
|
21
|
-
#raise "RubyGems 2.0 or newer is required to protect against " \
|
22
|
-
#"public gem pushes."
|
23
|
-
#end
|
24
|
-
|
25
16
|
# Specify which files should be added to the gem when it is released.
|
26
17
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
27
18
|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: circle_experiment
|
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
|
- Alex Tomlins
|
@@ -60,6 +60,7 @@ extensions: []
|
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
62
|
- ".circleci/config.yml"
|
63
|
+
- ".circleci/setup_rubygems.sh"
|
63
64
|
- ".gitignore"
|
64
65
|
- ".rspec"
|
65
66
|
- ".travis.yml"
|