active_model_serializer_helpers 0.2.3.pre.alpha → 0.3.0.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/active_model_serializer_helpers.gemspec +3 -3
- data/lib/active_model_serializer_helpers/version.rb +1 -1
- metadata +10 -12
- data/lib/active_model_serializer_helpers/repo.rb +0 -4
- data/tasks/deploy.rake +0 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c87c94e3340d28a4bb933fa07b547ae2b54b13e8
|
4
|
+
data.tar.gz: 9f641c23b53f3617307a4670871962f87f331e68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b342c8903eea9e36a8dc29c15d8b2859bd834a1211fc0af2c00b406b57691ca41d6d058ccc3ef5ad86ba614150cd85d561f5f6dce83ae50c742d73ee5c05bd9
|
7
|
+
data.tar.gz: 5fd808db402c2ce7b3978c602094f9dc6c41d9a8eaa44f511f97656e0be949801d48726b1b38bbdb006e5480b03d4209bf8ce2d46319427700c0bb9c56c99f4c
|
data/Rakefile
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
4
|
require 'active_model_serializer_helpers/version'
|
5
|
-
require 'active_model_serializer_helpers/repo'
|
6
5
|
|
7
6
|
Gem::Specification.new do |spec|
|
8
7
|
spec.name = 'active_model_serializer_helpers'
|
@@ -12,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
12
11
|
|
13
12
|
spec.summary = 'Active Model Serializer Helpers'
|
14
13
|
spec.description = 'Active Model Serializer RSpec Helpers and Matchers'
|
15
|
-
spec.homepage =
|
14
|
+
spec.homepage = 'https://github.com/roalcantara/active_model_serializer_helpers'
|
16
15
|
spec.license = 'MIT'
|
17
16
|
|
18
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
@@ -25,6 +24,7 @@ Gem::Specification.new do |spec|
|
|
25
24
|
spec.add_development_dependency 'bundler', '~> 1.14'
|
26
25
|
spec.add_development_dependency 'rake', '~> 10.0'
|
27
26
|
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.2.3'
|
27
|
+
spec.add_development_dependency 'github-rake-release', '~> 0.1.1.pre.alpha'
|
28
|
+
|
28
29
|
spec.add_dependency 'rspec', '~> 3.0'
|
29
|
-
spec.add_dependency 'octokit', '~> 4.7'
|
30
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_model_serializer_helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0.pre.alpha
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rogério Rodrigues de Alcântara
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -53,33 +53,33 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.2.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: github-rake-release
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
62
|
-
type: :
|
61
|
+
version: 0.1.1.pre.alpha
|
62
|
+
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.1.1.pre.alpha
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '3.0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '3.0'
|
83
83
|
description: Active Model Serializer RSpec Helpers and Matchers
|
84
84
|
email:
|
85
85
|
- rogerio.alcantara@gmail.com
|
@@ -104,9 +104,7 @@ files:
|
|
104
104
|
- lib/active_model_serializer_helpers/matchers.rb
|
105
105
|
- lib/active_model_serializer_helpers/matchers/be_a_serialized.rb
|
106
106
|
- lib/active_model_serializer_helpers/matchers/be_serializable.rb
|
107
|
-
- lib/active_model_serializer_helpers/repo.rb
|
108
107
|
- lib/active_model_serializer_helpers/version.rb
|
109
|
-
- tasks/deploy.rake
|
110
108
|
homepage: https://github.com/roalcantara/active_model_serializer_helpers
|
111
109
|
licenses:
|
112
110
|
- MIT
|
@@ -127,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
125
|
version: 1.3.1
|
128
126
|
requirements: []
|
129
127
|
rubyforge_project:
|
130
|
-
rubygems_version: 2.6.
|
128
|
+
rubygems_version: 2.6.11
|
131
129
|
signing_key:
|
132
130
|
specification_version: 4
|
133
131
|
summary: Active Model Serializer Helpers
|
data/tasks/deploy.rake
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
require 'octokit'
|
2
|
-
|
3
|
-
namespace :github do
|
4
|
-
desc 'GitHub authentication'
|
5
|
-
task :auth do
|
6
|
-
begin
|
7
|
-
Octokit.configure do |c|
|
8
|
-
c.access_token = ENV['GITHUB_ACCESS_TOKEN']
|
9
|
-
end
|
10
|
-
|
11
|
-
rate_limit = Octokit.rate_limit!
|
12
|
-
puts 'Exceeded limit of the GitHub API request' if rate_limit.remaining.zero?
|
13
|
-
rescue => e
|
14
|
-
puts e.message
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
namespace :deploy do
|
20
|
-
desc 'Merges the develop branch into master'
|
21
|
-
task :merge do
|
22
|
-
sh 'git fetch'
|
23
|
-
sh 'git checkout master'
|
24
|
-
sh 'git pull'
|
25
|
-
sh 'git merge origin/develop'
|
26
|
-
sh 'git push'
|
27
|
-
end
|
28
|
-
|
29
|
-
desc 'Merges the develop branch into master and creates a release'
|
30
|
-
task :release, [:version, :title, :body] => ['github:auth', :merge] do |_t, args|
|
31
|
-
begin
|
32
|
-
Octokit.create_release(
|
33
|
-
ActiveModelSerializerHelpers::REPO,
|
34
|
-
args.version,
|
35
|
-
name: args.title,
|
36
|
-
body: args.body,
|
37
|
-
target_commitish: :master,
|
38
|
-
draft: false,
|
39
|
-
prerelease: false
|
40
|
-
)
|
41
|
-
puts "#{args.version} released in the wild! YAY!"
|
42
|
-
rescue => e
|
43
|
-
puts e.message
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|