rubicure 0.4.13 → 1.0.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -6
- data/CHANGELOG.md +7 -5
- data/Gemfile +0 -16
- data/README.md +2 -2
- data/config/series.yml +1 -1
- data/lib/rubicure/girl.rb +0 -2
- data/lib/rubicure/version.rb +1 -1
- data/rubicure.gemspec +2 -2
- data/spec/core_spec.rb +25 -25
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86ece50a0aad354fed5e92a8dd9079102b795e77
|
4
|
+
data.tar.gz: 346605c948db989a0aeb5edf5c385ecf8822057a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc6a0976494136c3d3299afc50609ba5232de99496e1ae9f80abd3975459222bab2a855edd60639817bf5e16a6ef5317258bbf74d91d02e27ff7ab1e7c50f236
|
7
|
+
data.tar.gz: efbb9972d74b6044f01a3c43dc123f34ed254d50a818035788a3e22ce520ba67af54970edb362d6b44f818d29e5080a2508fbfc242460f5ad55c0bf2a2dbf7c9
|
data/.travis.yml
CHANGED
@@ -1,16 +1,12 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 2.
|
4
|
-
- 2.1
|
5
|
-
- 2.2
|
3
|
+
- 2.2.2
|
6
4
|
- 2.3.3
|
7
5
|
- 2.4.0
|
8
6
|
- ruby-head
|
9
7
|
bundler_args: "--jobs=2"
|
10
8
|
cache: bundler
|
11
|
-
before_install:
|
12
|
-
- gem update --system --no-document
|
13
|
-
- gem install bundler -v 1.11.2
|
9
|
+
before_install: gem install bundler -v 1.11.2
|
14
10
|
before_script:
|
15
11
|
- export CODECLIMATE_REPO_TOKEN=8e9db6ee5f3818e87287a6393086c2ccb9b1b83106c5bfb972211abefd2fe162
|
16
12
|
- export CI=true
|
@@ -21,6 +17,7 @@ script:
|
|
21
17
|
branches:
|
22
18
|
only:
|
23
19
|
- master
|
20
|
+
- develop-1.0.0
|
24
21
|
notifications:
|
25
22
|
email: false
|
26
23
|
slack:
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
## master
|
2
|
-
[full changelog](http://github.com/sue445/rubicure/compare/v0.4.
|
2
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v0.4.12...master)
|
3
3
|
|
4
|
-
##
|
5
|
-
[full changelog](http://github.com/sue445/rubicure/compare/v0.4.12...
|
4
|
+
## v1.0.0.pre1
|
5
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v0.4.12...v1.0.0.pre1)
|
6
6
|
|
7
|
-
*
|
8
|
-
* https://github.com/sue445/rubicure/pull/
|
7
|
+
* Remove `Girl#humanize`
|
8
|
+
* https://github.com/sue445/rubicure/pull/124
|
9
|
+
* Drop support ruby 2.0 and 2.1
|
10
|
+
* https://github.com/sue445/rubicure/pull/122
|
9
11
|
|
10
12
|
## v0.4.12
|
11
13
|
[full changelog](http://github.com/sue445/rubicure/compare/v0.4.11...v0.4.12)
|
data/Gemfile
CHANGED
@@ -3,22 +3,6 @@ source "https://rubygems.org"
|
|
3
3
|
# Specify your gem's dependencies in rubicure.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.1.0")
|
7
|
-
# NOTE: build is failed when use ruby 2.0 and rspec-parameterized 0.3.0+
|
8
|
-
# https://travis-ci.org/sue445/rubicure/jobs/114266855
|
9
|
-
gem "rspec-parameterized", "< 0.3.0", group: :test
|
10
|
-
end
|
11
|
-
|
12
|
-
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.1.0")
|
13
|
-
# NOTE: unparser v0.2.5 drop support ruby < 2.1
|
14
|
-
gem "unparser", "< 0.2.5", group: :test
|
15
|
-
end
|
16
|
-
|
17
|
-
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.2")
|
18
|
-
# NOTE: activesupport 5.x supports only ruby 2.2.2+
|
19
|
-
gem "activesupport", ">= 4.0.0", "< 5.0.0"
|
20
|
-
end
|
21
|
-
|
22
6
|
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.3.0")
|
23
7
|
gem "backport_dig"
|
24
8
|
end
|
data/README.md
CHANGED
@@ -22,7 +22,7 @@ Inspired by [Acme::PrettyCure](http://perl-users.jp/articles/advent-calendar/201
|
|
22
22
|
|
23
23
|
## Requirements
|
24
24
|
|
25
|
-
* ruby >= 2.
|
25
|
+
* ruby >= 2.2.2
|
26
26
|
* more: [.travis.yml](.travis.yml)
|
27
27
|
|
28
28
|
## Installation
|
@@ -32,7 +32,7 @@ Add this line to your application's Gemfile:
|
|
32
32
|
```ruby
|
33
33
|
gem 'rubicure'
|
34
34
|
|
35
|
-
# for ruby 2.
|
35
|
+
# for ruby 2.2
|
36
36
|
gem 'backport_dig'
|
37
37
|
```
|
38
38
|
|
data/config/series.yml
CHANGED
data/lib/rubicure/girl.rb
CHANGED
@@ -62,8 +62,6 @@ module Rubicure
|
|
62
62
|
@current_transform_style = nil
|
63
63
|
self
|
64
64
|
end
|
65
|
-
alias_method :humanize, :humanize!
|
66
|
-
deprecate humanize: "Use #humanize! instead of #humanize"
|
67
65
|
|
68
66
|
def attack!
|
69
67
|
raise RequireTransformError, "require transform" if current_attack_message.blank?
|
data/lib/rubicure/version.rb
CHANGED
data/rubicure.gemspec
CHANGED
@@ -13,14 +13,14 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = "https://github.com/sue445/rubicure"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
-
spec.required_ruby_version = ">= 2.
|
16
|
+
spec.required_ruby_version = ">= 2.2.2"
|
17
17
|
|
18
18
|
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
19
19
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
20
20
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
|
23
|
-
spec.add_dependency "activesupport", ">=
|
23
|
+
spec.add_dependency "activesupport", ">= 5.0.0"
|
24
24
|
spec.add_dependency "hashie", ">= 2.0.5"
|
25
25
|
spec.add_dependency "sengiri_yaml", ">= 0.0.2"
|
26
26
|
|
data/spec/core_spec.rb
CHANGED
@@ -44,32 +44,32 @@ describe Rubicure::Core do
|
|
44
44
|
context "With arg" do
|
45
45
|
subject { instance.all_stars(arg) }
|
46
46
|
|
47
|
+
using RSpec::Parameterized::TableSyntax
|
48
|
+
|
47
49
|
where(:arg, :expected_count, :include_cure_echo) do
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
[:sing_together_miracle_magic, 44, true],
|
72
|
-
]
|
50
|
+
"2009-03-20" | 14 | false
|
51
|
+
Date.parse("2010-03-20") | 17 | false
|
52
|
+
Time.parse("2011-03-19") | 21 | false
|
53
|
+
|
54
|
+
:dx | 14 | false
|
55
|
+
:dx1 | 14 | false
|
56
|
+
:dx2 | 17 | false
|
57
|
+
:dx3 | 21 | false
|
58
|
+
|
59
|
+
:ns | 29 | true
|
60
|
+
:ns1 | 29 | true
|
61
|
+
:new_stage | 29 | true
|
62
|
+
:new_stage1 | 29 | true
|
63
|
+
:ns2 | 32 | false
|
64
|
+
:new_stage2 | 32 | false
|
65
|
+
:ns3 | 37 | true
|
66
|
+
:new_stage3 | 37 | true
|
67
|
+
|
68
|
+
:sc | 40 | false
|
69
|
+
:spring_carnival | 40 | false
|
70
|
+
|
71
|
+
:stmm | 44 | true
|
72
|
+
:sing_together_miracle_magic | 44 | true
|
73
73
|
end
|
74
74
|
|
75
75
|
with_them do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubicure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 5.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 5.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: hashie
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -306,12 +306,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
306
306
|
requirements:
|
307
307
|
- - ">="
|
308
308
|
- !ruby/object:Gem::Version
|
309
|
-
version: 2.
|
309
|
+
version: 2.2.2
|
310
310
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
311
311
|
requirements:
|
312
|
-
- - "
|
312
|
+
- - ">"
|
313
313
|
- !ruby/object:Gem::Version
|
314
|
-
version:
|
314
|
+
version: 1.3.1
|
315
315
|
requirements: []
|
316
316
|
rubyforge_project:
|
317
317
|
rubygems_version: 2.6.8
|