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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e626b52653b15c80fd923fb5c8e0aeb51fafdde7
4
- data.tar.gz: '051088d8b6cdf2be36cd43261d125a22fb4830c6'
3
+ metadata.gz: 86ece50a0aad354fed5e92a8dd9079102b795e77
4
+ data.tar.gz: 346605c948db989a0aeb5edf5c385ecf8822057a
5
5
  SHA512:
6
- metadata.gz: '09c2eb5e634451433951640367b65744440588d6c060b542bcaabd58012c0f5a6de39fb862ac589a0703317672c1b74f633646b00fa1b839c427f656ac573ac0'
7
- data.tar.gz: 7196d5c42f9b5fd49a59856955804330c7bd0551bdaa4b9194a0847bcb237cfe4790d1cdac8b8fd0fdf13dd2afbf4f0569053865f85548e32a2a4e6550ec8cc5
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.0
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.13...master)
2
+ [full changelog](http://github.com/sue445/rubicure/compare/v0.4.12...master)
3
3
 
4
- ## v0.4.13
5
- [full changelog](http://github.com/sue445/rubicure/compare/v0.4.12...v0.4.13)
4
+ ## v1.0.0.pre1
5
+ [full changelog](http://github.com/sue445/rubicure/compare/v0.4.12...v1.0.0.pre1)
6
6
 
7
- * Add ended_date of Mahogirls precure
8
- * https://github.com/sue445/rubicure/pull/139
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.0.0
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.0, 2.1, 2.2
35
+ # for ruby 2.2
36
36
  gem 'backport_dig'
37
37
  ```
38
38
 
data/config/series.yml CHANGED
@@ -163,7 +163,7 @@ maho_girls: &maho_girls
163
163
  series_name: maho_girls
164
164
  title: 魔法つかいプリキュア!
165
165
  started_date: 2016-02-07
166
- ended_date: 2017-01-29
166
+ # ended_date: 2017-01-
167
167
  girls:
168
168
  - cure_miracle
169
169
  - cure_magical
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?
@@ -1,3 +1,3 @@
1
1
  module Rubicure
2
- VERSION = "0.4.13"
2
+ VERSION = "1.0.0.pre1"
3
3
  end
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.0.0"
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", ">= 4.0.0"
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
- ["2009-03-20", 14, false],
50
- [Date.parse("2010-03-20"), 17, false],
51
- [Time.parse("2011-03-19"), 21, false],
52
-
53
- [:dx, 14, false],
54
- [:dx1, 14, false],
55
- [:dx2, 17, false],
56
- [:dx3, 21, false],
57
-
58
- [:ns, 29, true],
59
- [:ns1, 29, true],
60
- [:new_stage, 29, true],
61
- [:new_stage1, 29, true],
62
- [:ns2, 32, false],
63
- [:new_stage2, 32, false],
64
- [:ns3, 37, true],
65
- [:new_stage3, 37, true],
66
-
67
- [:sc, 40, false],
68
- [:spring_carnival, 40, false],
69
-
70
- [:stmm, 44, true],
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.13
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: 2017-01-26 00:00:00.000000000 Z
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: 4.0.0
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: 4.0.0
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.0.0
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: '0'
314
+ version: 1.3.1
315
315
  requirements: []
316
316
  rubyforge_project:
317
317
  rubygems_version: 2.6.8