actionview-link_to_blank 1.0.0 → 1.0.1

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: 2f3a650615b02d084e7d4026cf8a3217c52f547a
4
- data.tar.gz: c510c1f4568b43f465922beba4bc97fe82fa0a1f
3
+ metadata.gz: 9bf7288da5cbb9428858a0bd6edde7903fbc0154
4
+ data.tar.gz: e8af89b397540ac364febb69b0fa733b328f8f20
5
5
  SHA512:
6
- metadata.gz: bdb815683e47c13a0e967959f60dd660babae535116145d95e48efc182bcd0a3f2396e0bdc5d4d467289f74cd11a33b12c24762950f43c383f0417b35492a2ad
7
- data.tar.gz: 642595ee739f29289a17ce75b03600a56d1678c3144a001996e2050b63dad648e495b80b9e1e0f74b1ba4d56dae861acc171542b3f735853d85a6e6b03404bb4
6
+ metadata.gz: 4cafd2698daceae50f342853a21197e119fff68e6ea7fd0363e6692dd2ba9b9a2d710bcabc1e2f1c0b28f90b8abf7dcc90474c8d787155930e2a3bd9ffe5f3f0
7
+ data.tar.gz: 4d37cabe7896216ef8dda6a66dab24d1a213f0d0a93b1708871a2b352db2676452fce2d8948b20277bed18dcedd486535318c5768888dc7f9567c033bf6cf6ea
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ *.gemfile.lock
@@ -3,8 +3,12 @@ rvm:
3
3
  - 1.9.3
4
4
  - 2.0.0
5
5
  gemfile:
6
- - gemfiles/rails3.2/Gemfile
7
- - gemfiles/rails4.0/Gemfile
6
+ - gemfiles/rails3_2.gemfile
7
+ - gemfiles/rails4_0.gemfile
8
+ - gemfiles/rails_master.gemfile
8
9
  branches:
9
10
  only:
10
11
  - master
12
+ matrix:
13
+ allow_failures:
14
+ - gemfile: gemfiles/rails_master.gemfile
@@ -0,0 +1,17 @@
1
+ appraise "rails3_2" do
2
+ version = '~> 3.2'
3
+ gem 'actionpack', version
4
+ gem 'activesupport', version
5
+ end
6
+
7
+ appraise "rails4_0" do
8
+ version = '~> 4.0.0.beta'
9
+ gem 'actionpack', version
10
+ gem 'activesupport', version
11
+ end
12
+
13
+ appraise "rails_master" do
14
+ gem 'rails', github: 'rails'
15
+ #gem 'actionpack'
16
+ #gem 'activesupport'
17
+ end
data/README.md CHANGED
@@ -71,13 +71,15 @@ Use the `link_to_blank` helper method, equal `link_to('foo', target: '_blank')`
71
71
 
72
72
  If you want to run against actionpack v3 and v4, run below:
73
73
 
74
- $ bundle --gemfile=gemfiles/rails3.2/Gemfile --path=.bundle
75
- # this install gems to gemfiles/rails3.2/.bundle/xxx
76
- $ bundle exec rake BUNDLE_GEMFILE=gemfiles/rails3.2/Gemfile
74
+ $ bundle exec rake appraisal:install
75
+ $ bundle exec rake appraisal
77
76
 
78
- $ bundle --gemfile=gemfiles/rails4.0/Gemfile --path=.bundle
79
- # this install gems to gemfiles/rails4.0/.bundle/xxx
80
- $ bundle exec rake BUNDLE_GEMFILE=gemfiles/rails4.0/Gemfile
77
+ Test for specific version:
78
+
79
+ $ bundle exec rake appraisal:install
80
+ $ bundle exec rake appraisal:rails4_0
81
+
82
+ Prepare rails4_0 and rails3_2
81
83
 
82
84
  ## Contributing
83
85
 
data/Rakefile CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'bundler/gem_tasks'
2
2
  require 'rake/testtask'
3
+ require 'appraisal'
3
4
 
4
5
  desc 'Default Task'
5
6
  task :default => :test
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "rake"
23
23
  spec.add_development_dependency 'minitest'
24
24
  spec.add_development_dependency 'pry'
25
+ spec.add_development_dependency 'appraisal'
25
26
 
26
27
  spec.add_dependency 'actionpack'
27
28
  spec.add_dependency 'activesupport'
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "actionpack", "~> 3.2"
6
+ gem "activesupport", "~> 3.2"
7
+
8
+ gemspec :path=>"../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "actionpack", "~> 4.0.0.beta"
6
+ gem "activesupport", "~> 4.0.0.beta"
7
+
8
+ gemspec :path=>"../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", :github=>"rails"
6
+
7
+ gemspec :path=>"../"
@@ -1,5 +1,5 @@
1
1
  module ActionView
2
2
  module LinkToBlank
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionview-link_to_blank
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sanemat
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-15 00:00:00.000000000 Z
11
+ date: 2013-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: appraisal
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: actionpack
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -103,13 +117,15 @@ extra_rdoc_files: []
103
117
  files:
104
118
  - .gitignore
105
119
  - .travis.yml
120
+ - Appraisals
106
121
  - Gemfile
107
122
  - LICENSE.txt
108
123
  - README.md
109
124
  - Rakefile
110
125
  - actionview-link_to_blank.gemspec
111
- - gemfiles/rails3.2/Gemfile
112
- - gemfiles/rails4.0/Gemfile
126
+ - gemfiles/rails3_2.gemfile
127
+ - gemfiles/rails4_0.gemfile
128
+ - gemfiles/rails_master.gemfile
113
129
  - lib/action_view/link_to_blank/link_to_blank.rb
114
130
  - lib/action_view/link_to_blank/railtie.rb
115
131
  - lib/action_view/link_to_blank/version.rb
@@ -1,8 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- version = '~> 3.2'
4
- gem 'actionpack', version
5
- gem 'activesupport', version
6
-
7
- # Specify your gem's dependencies in actionview-link_to_blank.gemspec
8
- gemspec path: File.join('..', '..')
@@ -1,8 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- version = '~> 4.0.0.beta'
4
- gem 'actionpack', version
5
- gem 'activesupport', version
6
-
7
- # Specify your gem's dependencies in actionview-link_to_blank.gemspec
8
- gemspec path: File.join('..', '..')