restpack_serializer 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -50
- data/lib/restpack_serializer/version.rb +1 -1
- data/restpack_serializer.gemspec +2 -0
- metadata +30 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d630f81aa18ba33e9cea0f4be8a9b4961e8bb3a
|
4
|
+
data.tar.gz: 1ae79679953b1dbb650265bce1ea8ca2e18ae79c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fcf8116491a31723644f4107335eaf78c8afacff3b4923a9aa2e6b10421d3182b7db307c302a50619ca85ec314e55e9dba12c0dcb2c7d293782b6c37990d18f
|
7
|
+
data.tar.gz: 9d27e0d8341b5c650dcb53efdec3737e32e270ab64d8fe5e82d0945e5a8d51a0003f3b5ac7752474b42c9e47d0a4aa6973e3d865811f9a9609f0084f79c58fe5
|
data/Rakefile
CHANGED
@@ -1,50 +1,2 @@
|
|
1
|
-
require
|
2
|
-
|
3
|
-
|
4
|
-
task :default => :test
|
5
|
-
task :test => :spec
|
6
|
-
|
7
|
-
begin
|
8
|
-
require "rspec/core/rake_task"
|
9
|
-
|
10
|
-
desc "Run all specs"
|
11
|
-
RSpec::Core::RakeTask.new(:spec) do |t|
|
12
|
-
t.rspec_opts = ['-cfs']
|
13
|
-
end
|
14
|
-
rescue LoadError
|
15
|
-
end
|
16
|
-
|
17
|
-
namespace :test do
|
18
|
-
task :irb do
|
19
|
-
exec "irb -r ./spec/spec_helper.rb"
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
task :gem do
|
24
|
-
Rake::Task["gem:bump"].invoke
|
25
|
-
Rake::Task["gem:tag"].invoke
|
26
|
-
Rake::Task["gem:build"].invoke
|
27
|
-
Rake::Task["gem:push"].invoke
|
28
|
-
end
|
29
|
-
|
30
|
-
namespace :gem do
|
31
|
-
task :build do
|
32
|
-
sh "gem build restpack_serializer.gemspec"
|
33
|
-
end
|
34
|
-
|
35
|
-
task :push do
|
36
|
-
require 'bump'
|
37
|
-
sh "gem push restpack_serializer-#{Bump::Bump.current}.gem"
|
38
|
-
end
|
39
|
-
|
40
|
-
task :tag do
|
41
|
-
require 'bump'
|
42
|
-
version = Bump::Bump.current
|
43
|
-
puts "tagging v#{version}"
|
44
|
-
`git push && git tag v#{version} && git push --tags`
|
45
|
-
end
|
46
|
-
|
47
|
-
task :bump do
|
48
|
-
Rake::Task["bump:patch"].invoke
|
49
|
-
end
|
50
|
-
end
|
1
|
+
require "restpack_gem"
|
2
|
+
RestPack::Gem::Tasks.load_tasks
|
data/restpack_serializer.gemspec
CHANGED
@@ -21,6 +21,7 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.add_dependency 'activesupport', '~> 4.0'
|
22
22
|
gem.add_dependency 'protected_attributes', '~> 1.0.3'
|
23
23
|
gem.add_dependency 'will_paginate', '~> 3.0'
|
24
|
+
gem.add_dependency 'restpack_gem', '~> 0.0.9'
|
24
25
|
|
25
26
|
gem.add_development_dependency 'rake', '~> 10.0.3'
|
26
27
|
gem.add_development_dependency 'rspec', '~> 2.12'
|
@@ -29,5 +30,6 @@ Gem::Specification.new do |gem|
|
|
29
30
|
gem.add_development_dependency 'factory_girl', '~> 4.2.0'
|
30
31
|
gem.add_development_dependency 'sqlite3', '~> 1.3.7'
|
31
32
|
gem.add_development_dependency 'database_cleaner', '~> 1.0.1'
|
33
|
+
gem.add_development_dependency 'rspec'
|
32
34
|
gem.add_development_dependency 'bump'
|
33
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restpack_serializer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gavin Joyce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: restpack_gem
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.0.9
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.0.9
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rake
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -164,6 +178,20 @@ dependencies:
|
|
164
178
|
- - ~>
|
165
179
|
- !ruby/object:Gem::Version
|
166
180
|
version: 1.0.1
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rspec
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - '>='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - '>='
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
167
195
|
- !ruby/object:Gem::Dependency
|
168
196
|
name: bump
|
169
197
|
requirement: !ruby/object:Gem::Requirement
|