straptible 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0516cdac20691f9a552fda4cfe78906bee0e426
4
- data.tar.gz: 0d8bfac9ecec6d0313c0bdd7f397af0765669b6c
3
+ metadata.gz: 560ebdf5f05c3ccd2dfe2a9baec1972a875b48f4
4
+ data.tar.gz: 7f944660eadfadcce554006969f6b1811fc1a658
5
5
  SHA512:
6
- metadata.gz: c701d19b4afb422c810d8cb380a56a90ce065ef4246aec64e1d22fd23d9c1feb1ceb1b232f28f7099c7f1620b5ac07893dd4da881efcd3994a25a5ea865dbb73
7
- data.tar.gz: 3e6292dca21bbd316b401b3a9b2e5bea8768ebdda0e32f665b50e2812ff00588587431b2d7bd08eb3e9710ab88d198a6128256046cf5235f1c9b1605285cb6ac
6
+ metadata.gz: 306367607caa7def188061a10675bea9b4fd455983c240efea1a6b31affcc70e91841daeb4c45c09158816b9d01d0eb352578d1b1d7a7cf2e7e27b695d63858c
7
+ data.tar.gz: 5741eaf98f10280ec048ad25d450ab162a70feaf8de658650360413238e988130f2f1424d0fea9912c3ae4aea4f326450491df64afd496ec8f4b07707086a233
data/Gemfile CHANGED
@@ -1,6 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'rubocop', github: 'bbatsov/rubocop'
4
-
5
3
  # Specify your gem's dependencies in straptible.gemspec
6
4
  gemspec
@@ -1,6 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'rubocop', github: 'bbatsov/rubocop'
4
-
5
3
  # Specify your gem's dependencies in <%=config[:name]%>.gemspec
6
4
  gemspec
@@ -7,9 +7,11 @@ module Straptible
7
7
  class Api < Base
8
8
  protected
9
9
 
10
+ # rubocop:disable AccessorMethodName
10
11
  def get_builder_class
11
12
  Straptible::Rails::Builders::Api
12
13
  end
14
+ # rubocop:enable AccessorMethodName
13
15
  end
14
16
  end
15
17
  end
@@ -39,9 +39,11 @@ module Straptible
39
39
 
40
40
  protected
41
41
 
42
+ # rubocop:disable AccessorMethodName
42
43
  def get_builder_class
43
44
  Straptible::Rails::Builders::Base
44
45
  end
46
+ # rubocop:enable AccessorMethodName
45
47
  end
46
48
  end
47
49
  end
@@ -3,13 +3,9 @@ development:
3
3
  encoding: unicode
4
4
  database: <%= app_name.gsub('-', '_') %>_development
5
5
  pool: 5
6
- username: aptible
7
- password:
8
6
 
9
7
  test:
10
8
  adapter: postgresql
11
9
  encoding: unicode
12
10
  database: <%= app_name.gsub('-', '_') %>_test
13
11
  pool: 5
14
- username: aptible
15
- password:
@@ -1,3 +1,3 @@
1
1
  module Straptible
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
@@ -33,7 +33,7 @@ describe 'straptible api' do
33
33
  it 'includes an appropriate README.md' do
34
34
  readme = File.join(@tmpdir, 'foobar', 'README.md')
35
35
  File.exist?(readme).should be_true
36
- File.read(readme).should match /\#.*public\/icon-60px.png.*Foobar/
36
+ File.read(readme).should match(/\#.*public\/icon-60px.png.*Foobar/)
37
37
  end
38
38
 
39
39
  it 'does not include HTML error pages' do
@@ -59,8 +59,8 @@ describe 'straptible api' do
59
59
  it 'has a valid database.yml' do
60
60
  database_yml = File.join(@tmpdir, 'foobar', 'config', 'database.yml')
61
61
  File.exist?(database_yml).should be_true
62
- File.read(database_yml).should match /foobar_development/
63
- File.read(database_yml).should match /foobar_test/
62
+ File.read(database_yml).should match(/foobar_development/)
63
+ File.read(database_yml).should match(/foobar_test/)
64
64
  end
65
65
 
66
66
  it 'is initialized as a Git repository' do
@@ -71,7 +71,7 @@ describe 'straptible api' do
71
71
  it 'has a .travis.yml file which includes JRuby in the build matrix' do
72
72
  travis_yml = File.join(@tmpdir, 'foobar', '.travis.yml')
73
73
  File.exist?(travis_yml).should be_true
74
- File.read(travis_yml).should match /jruby/
74
+ File.read(travis_yml).should match(/jruby/)
75
75
  end
76
76
 
77
77
  it 'has a package.json for Node dependencies' do
@@ -83,7 +83,7 @@ describe 'straptible api' do
83
83
  initializers = File.join(@tmpdir, 'foobar', 'config', 'initializers')
84
84
  mime_types = File.join(initializers, 'mime_types.rb')
85
85
  File.exist?(mime_types).should be_true
86
- File.read(mime_types).should match /:json_api/
86
+ File.read(mime_types).should match(/:json_api/)
87
87
  end
88
88
 
89
89
  it 'sets config in application.rb instead of config/initializers' do
@@ -93,7 +93,7 @@ describe 'straptible api' do
93
93
 
94
94
  application = File.join(@tmpdir, 'foobar', 'config', 'application.rb')
95
95
  File.exist?(application).should be_true
96
- File.read(application).should match /filter_parameters/
96
+ File.read(application).should match(/filter_parameters/)
97
97
  end
98
98
  end
99
99
 
@@ -21,7 +21,7 @@ describe 'straptible gem' do
21
21
  it 'includes an appropriate README.md' do
22
22
  readme = File.join(@tmpdir, 'foobar', 'README.md')
23
23
  File.exist?(readme).should be_true
24
- File.read(readme).should match /\#.*icon-60px.png.*Foobar/
24
+ File.read(readme).should match(/\#.*icon-60px.png.*Foobar/)
25
25
  end
26
26
  end
27
27
 
@@ -38,7 +38,7 @@ describe 'straptible gem' do
38
38
  gemdir = File.join(@tmpdir, 'foobar', 'foo_bar-baz')
39
39
  gemspec = File.join(gemdir, 'foo_bar-baz.gemspec')
40
40
  File.exist?(gemspec).should be_true
41
- File.read(gemspec).should match /FooBar::Baz/
41
+ File.read(gemspec).should match(/FooBar::Baz/)
42
42
  end
43
43
  end
44
44
 
data/straptible.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_dependency 'rails'
24
24
 
25
25
  spec.add_development_dependency 'bundler', '~> 1.3'
26
- spec.add_development_dependency 'aptible-tasks', '~> 0.1.2'
26
+ spec.add_development_dependency 'aptible-tasks', '>= 0.2.0'
27
27
  spec.add_development_dependency 'rake'
28
28
  spec.add_development_dependency 'rspec'
29
29
  spec.add_development_dependency 'pry'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: straptible
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-20 00:00:00.000000000 Z
11
+ date: 2014-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: aptible-tasks
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.1.2
47
+ version: 0.2.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.1.2
54
+ version: 0.2.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  version: '0'
173
173
  requirements: []
174
174
  rubyforge_project:
175
- rubygems_version: 2.0.14
175
+ rubygems_version: 2.2.1
176
176
  signing_key:
177
177
  specification_version: 4
178
178
  summary: A tool for bootstrapping new Aptible projects