noir 0.1.5 → 0.1.6

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: 90bd80b4b1f6e7433d7768ccb5a84795f60a9ad7
4
- data.tar.gz: a436503e74bbe62820630f46a22971167dc72412
3
+ metadata.gz: f042636641282955a738c7e58147f0376594aafb
4
+ data.tar.gz: e6d854008154865700b3601c29894d02f47ab471
5
5
  SHA512:
6
- metadata.gz: e0135f35c72625357304488ee8bd959ade2ef844d61564a0a7c53be659d224c318fa9b340a493af9e5dab307ebdfb2b358ea9ae7cbbfab7cf9bcb1652e235856
7
- data.tar.gz: f9e42d8a89705329f4e163ce9c072413ae9f3c458cf3b5aeafa5a6085e6f29fa363c4672be9479206833047c25e44889570964f1a990104e4109ab4b02b7b81c
6
+ metadata.gz: da65e20c426057d8903654b8feaf534d8d21f7527382ff93f2b2b6b1282ebcd80a27d89136c1822e9da14c0f11d1bbff92e6bf5367bbc90c0949bdc9df49b5f0
7
+ data.tar.gz: ee01b757c552f30a3597053e0cd205464044569189b8fbf90d5d091f50edc9a92c10253fcbe04bc0b1fdd74ee73d8d225a3911572c3d6bc0ed27845a8341bf29
@@ -1 +1,10 @@
1
1
  language: ruby
2
+ rvm:
3
+ - 2.1.1
4
+ - 2.0.0
5
+ - 1.9.3
6
+ - 1.9.2
7
+ notifications:
8
+ email: false
9
+ slack:
10
+ secure: dSwRumGlIAdGDAaH/fzh/KsQhRqPBcNpbGYrMbAzacFMm8nGyLCShxR3EP/ZxkBp14ZsJ8ys4F5DMVlri7EbGNgBf1nOKAtzme6lV8oqrUxW2QULgvrP4W/+xTg1ULX758qF5NgwqErfS4Y1etofMbOuGriJ6kIxFWRjidmFPYo=
@@ -9,6 +9,7 @@ class Noir::Command::New::GitIgnore::Tex < Noir::Base::TerminalCommand
9
9
  *.dvi
10
10
  *.pdf
11
11
  *.toc
12
+ *.cpt
12
13
  )
13
14
 
14
15
  def self.execute *args
@@ -9,5 +9,6 @@ class Noir::Command::New::HgIgnore < Noir::Base::Command
9
9
 
10
10
  end
11
11
 
12
+ require 'noir/command/new/hgignore/agda'
12
13
  require 'noir/command/new/hgignore/tex'
13
14
  require 'noir/command/new/hgignore/vim'
@@ -0,0 +1,17 @@
1
+ class Noir::Command::New::HgIgnore::Agda < Noir::Base::TerminalCommand
2
+ @description = 'Create new .hgignore for Agda'
3
+
4
+ HgIgnoreText = %q(
5
+ syntax: glob
6
+
7
+ *.swp
8
+
9
+ *.agdai
10
+ *.*~
11
+ )
12
+
13
+ def self.execute *args
14
+ Noir::Command::New::HgIgnore.createHgIgnore HgIgnoreText
15
+ end
16
+
17
+ end
@@ -11,6 +11,7 @@ syntax: glob
11
11
  *.dvi
12
12
  *.pdf
13
13
  *.toc
14
+ *.cpt
14
15
  )
15
16
 
16
17
  def self.execute *args
@@ -19,7 +19,7 @@ $(TARGET).dvi : $(wildcard **/*.tex) $(TARGET).tex
19
19
  .PHONY : clean all open remake
20
20
 
21
21
  clean:
22
- rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *.bbl *.blg *.toc *~ *.core
22
+ rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *.bbl *.blg *.toc *~ *.core *.cpt
23
23
 
24
24
  all: $(TARGET).pdf
25
25
 
@@ -1,3 +1,3 @@
1
1
  module Noir
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
@@ -8,7 +8,7 @@ describe 'Noir::Command::New::GitIgnore::Tex' do
8
8
 
9
9
  it 'is create .gitignore by Noir::Command::New.createFile' do
10
10
  allow(Noir::Command::New).to receive(:createFile)
11
- expect(Noir::Command::New).to receive(:createFile).with('.gitignore', anything)
11
+ expect(Noir::Command::New).to receive(:createFile).with('.gitignore', /dvi/)
12
12
  Noir::Command::New::GitIgnore::Tex.execute
13
13
  end
14
14
  end
@@ -8,7 +8,7 @@ describe 'Noir::Command::New::GitIgnore::Vim' do
8
8
 
9
9
  it 'is create .gitignore by Noir::Command::New.createFile' do
10
10
  allow(Noir::Command::New).to receive(:createFile)
11
- expect(Noir::Command::New).to receive(:createFile).with('.gitignore', anything)
11
+ expect(Noir::Command::New).to receive(:createFile).with('.gitignore', /swp/)
12
12
  Noir::Command::New::GitIgnore::Vim.execute
13
13
  end
14
14
  end
@@ -0,0 +1,15 @@
1
+ require 'noir'
2
+ require 'spec_helper'
3
+
4
+ describe 'Noir::Command::New::HgIgnore::Agda' do
5
+ it 'is TerminalCommand' do
6
+ expect(Noir::Command::New::HgIgnore::Agda.superclass).to eq(Noir::Base::TerminalCommand)
7
+ end
8
+
9
+ it 'is create .hgignore by Noir::Command::New.createFile' do
10
+ allow(Noir::Command::New).to receive(:createFile)
11
+ expect(Noir::Command::New).to receive(:createFile).with('.hgignore', /agdai/)
12
+ Noir::Command::New::HgIgnore::Agda.execute
13
+ end
14
+ end
15
+
@@ -8,7 +8,7 @@ describe 'Noir::Command::New::HgIgnore::Tex' do
8
8
 
9
9
  it 'is create .hgignore by Noir::Command::New.createFile' do
10
10
  allow(Noir::Command::New).to receive(:createFile)
11
- expect(Noir::Command::New).to receive(:createFile).with('.hgignore', anything)
11
+ expect(Noir::Command::New).to receive(:createFile).with('.hgignore', /dvi/)
12
12
  Noir::Command::New::HgIgnore::Tex.execute
13
13
  end
14
14
  end
@@ -8,7 +8,7 @@ describe 'Noir::Command::New::HgIgnore::Vim' do
8
8
 
9
9
  it 'is create .hgignore by Noir::Command::New.createFile' do
10
10
  allow(Noir::Command::New).to receive(:createFile)
11
- expect(Noir::Command::New).to receive(:createFile).with('.hgignore', anything)
11
+ expect(Noir::Command::New).to receive(:createFile).with('.hgignore', /swp/)
12
12
  Noir::Command::New::HgIgnore::Vim.execute
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noir
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - atton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-04 00:00:00.000000000 Z
11
+ date: 2014-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -93,6 +93,7 @@ files:
93
93
  - lib/noir/command/new/gitignore/tex.rb
94
94
  - lib/noir/command/new/gitignore/vim.rb
95
95
  - lib/noir/command/new/hgignore.rb
96
+ - lib/noir/command/new/hgignore/agda.rb
96
97
  - lib/noir/command/new/hgignore/tex.rb
97
98
  - lib/noir/command/new/hgignore/vim.rb
98
99
  - lib/noir/command/new/makefile.rb
@@ -121,6 +122,7 @@ files:
121
122
  - spec/noir/command/new/gitignore/tex_spec.rb
122
123
  - spec/noir/command/new/gitignore/vim_spec.rb
123
124
  - spec/noir/command/new/gitignore_spec.rb
125
+ - spec/noir/command/new/hgignore/agda_spec.rb
124
126
  - spec/noir/command/new/hgignore/tex_spec.rb
125
127
  - spec/noir/command/new/hgignore/vim_spec.rb
126
128
  - spec/noir/command/new/hgignore_spec.rb
@@ -156,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
158
  version: '0'
157
159
  requirements: []
158
160
  rubyforge_project:
159
- rubygems_version: 2.4.1
161
+ rubygems_version: 2.4.2
160
162
  signing_key:
161
163
  specification_version: 4
162
164
  summary: Utilities for atton.
@@ -180,6 +182,7 @@ test_files:
180
182
  - spec/noir/command/new/gitignore/tex_spec.rb
181
183
  - spec/noir/command/new/gitignore/vim_spec.rb
182
184
  - spec/noir/command/new/gitignore_spec.rb
185
+ - spec/noir/command/new/hgignore/agda_spec.rb
183
186
  - spec/noir/command/new/hgignore/tex_spec.rb
184
187
  - spec/noir/command/new/hgignore/vim_spec.rb
185
188
  - spec/noir/command/new/hgignore_spec.rb
@@ -195,4 +198,3 @@ test_files:
195
198
  - spec/noir/noir_spec.rb
196
199
  - spec/noir/options_spec.rb
197
200
  - spec/spec_helper.rb
198
- has_rdoc: