gemplate 0.1.1 → 0.1.2

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: e672063c5c10c0793fa4b49e861cefb8445ba293
4
- data.tar.gz: b7f81d36096b5c90d7758029da181da532a3cc76
3
+ metadata.gz: 246597169a9cca5ad8a25478066352bc572530e8
4
+ data.tar.gz: 7e12aee42036711b2a610979ab4a54de7bf522f4
5
5
  SHA512:
6
- metadata.gz: cb9f88b0f9665832ed040177c4c47ea7682feda96fd05b8ef2c8adfbb356cbd80bd7b2181963ffe3303c13ba776532c8dc8cac20b04b0a0b0189ba0f16f44bd4
7
- data.tar.gz: 68172f3b4130d568afa08efcb56ab4b31546ff715c0923d85c3fc3d058d280ab26cea0f25f1bc789fc2a134608d9e4d6a245f059f183c1b8e3000d5db57ed23f
6
+ metadata.gz: 774ba29b037ec2fb2f9856bf47ab91f825ec931e6379220d038d1f9be69e0eedf59996ed9ee8cf0f65a9344a328b085d6f1f148b60ae416b28a0a16d090305fe
7
+ data.tar.gz: 03eb904209a24b1a468aa799928b7998080bf1f044155aa6d67ca785b94a91245d038c117f503f94e4507484be6422fca6e135975b07fa9f1cca243bbf868cb5
@@ -1,6 +1,8 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
+ - 2.1.2
5
+ - 2.1.1
4
6
  - 2.1.0
5
7
  - 2.0.0
6
8
  - 1.9.3
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ desc 'Run tests'
6
6
  RSpec::Core::RakeTask.new(:spec)
7
7
 
8
8
  desc 'Run Rubocop on the gem'
9
- Rubocop::RakeTask.new(:rubocop) do |task|
9
+ RuboCop::RakeTask.new(:rubocop) do |task|
10
10
  task.patterns = ['lib/**/*.rb', 'spec/**/*.rb', 'bin/**/*']
11
11
  task.fail_on_error = true
12
12
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'gemplate'
3
- s.version = '0.1.1'
3
+ s.version = '0.1.2'
4
4
  s.date = Time.now.strftime("%Y-%m-%d")
5
5
 
6
6
  s.summary = 'Bootstrap tool for making gems'
@@ -19,9 +19,9 @@ Gem::Specification.new do |s|
19
19
  s.add_dependency 'userinput', '~> 0.0.2'
20
20
  s.add_dependency 'curb', '~> 0.8.5'
21
21
 
22
- s.add_development_dependency 'rubocop', '~> 0.20.0'
23
- s.add_development_dependency 'rake', '~> 10.3.0'
22
+ s.add_development_dependency 'rubocop', '~> 0.23.0'
23
+ s.add_development_dependency 'rake', '~> 10.3.2'
24
24
  s.add_development_dependency 'coveralls', '~> 0.7.0'
25
- s.add_development_dependency 'rspec', '~> 2.14.1'
26
- s.add_development_dependency 'fuubar', '~> 1.3.2'
25
+ s.add_development_dependency 'rspec', '~> 3.0.0'
26
+ s.add_development_dependency 'fuubar', '~> 2.0.0.rc1'
27
27
  end
@@ -101,7 +101,7 @@ module Gemplate
101
101
  def configure_travis
102
102
  crypter = Travis::CLI::Encrypt.new
103
103
  args = ['encrypt', '--skip-completion-check', '--explode', '-p',
104
- '--add', 'notifications.irc.channels', @irc_stanza]
104
+ '--add', 'notifications.irc.channels', "'#{@irc_stanza}'"]
105
105
  crypter.parse args
106
106
  crypter.execute
107
107
  rescue Travis::Client::NotLoggedIn
@@ -29,7 +29,7 @@ describe Gemplate do
29
29
  describe '#create' do
30
30
  it 'makes a directory from the template' do
31
31
  subject.create
32
- expect(Dir.exist? 'gemplate').to be_true
32
+ expect(Dir.exist? 'gemplate').to be_truthy
33
33
  end
34
34
 
35
35
  it 'raises an error if the directory already exists' do
@@ -39,7 +39,7 @@ describe Gemplate do
39
39
 
40
40
  it 'adds a license file' do
41
41
  subject.create
42
- expect(File.exist? 'gemplate/LICENSE').to be_true
42
+ expect(File.exist? 'gemplate/LICENSE').to be_truthy
43
43
  end
44
44
 
45
45
  it 'fails if you try to pull a non-existent license' do
@@ -61,13 +61,13 @@ describe Gemplate do
61
61
 
62
62
  it 'adjusts file names' do
63
63
  subject.create
64
- expect(File.exist? 'gemplate/gemplate.gemspec').to be_true
65
- expect(File.exist? 'gemplate/REPO_NAME.gemspec').to be_false
64
+ expect(File.exist? 'gemplate/gemplate.gemspec').to be_truthy
65
+ expect(File.exist? 'gemplate/REPO_NAME.gemspec').to be_falsey
66
66
  end
67
67
 
68
68
  it 'makes the git repo' do
69
69
  subject.create
70
- expect(Dir.exist? 'gemplate/.git').to be_true
70
+ expect(Dir.exist? 'gemplate/.git').to be_truthy
71
71
  expect(File.read 'gemplate/.git/config').to match(/remote "origin"/)
72
72
  end
73
73
 
@@ -6,7 +6,7 @@ desc 'Run tests'
6
6
  RSpec::Core::RakeTask.new(:spec)
7
7
 
8
8
  desc 'Run Rubocop on the gem'
9
- Rubocop::RakeTask.new(:rubocop) do |task|
9
+ RuboCop::RakeTask.new(:rubocop) do |task|
10
10
  task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
11
11
  task.fail_on_error = true
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemplate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-20 00:00:00.000000000 Z
11
+ date: 2014-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: travis
@@ -72,28 +72,28 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.20.0
75
+ version: 0.23.0
76
76
  type: :development
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: 0.20.0
82
+ version: 0.23.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 10.3.0
89
+ version: 10.3.2
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 10.3.0
96
+ version: 10.3.2
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: coveralls
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -114,28 +114,28 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 2.14.1
117
+ version: 3.0.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 2.14.1
124
+ version: 3.0.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: fuubar
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 1.3.2
131
+ version: 2.0.0.rc1
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 1.3.2
138
+ version: 2.0.0.rc1
139
139
  description: Creates a basic repository layout for a new gem
140
140
  email: me@lesaker.org
141
141
  executables:
@@ -195,3 +195,4 @@ summary: Bootstrap tool for making gems
195
195
  test_files:
196
196
  - spec/gemplate_spec.rb
197
197
  - spec/spec_helper.rb
198
+ has_rdoc: